mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 06:19:22 +00:00
ChatBoxExtensions: Recompile
This commit is contained in:
parent
bef2440b23
commit
4ae78984af
4 changed files with 6 additions and 6 deletions
|
@ -7,7 +7,7 @@ public class CVRInputManagerPatches
|
|||
{
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch(typeof(CVRInputManager), nameof(CVRInputManager.Start))]
|
||||
static void Postfix_CVRInputManager_Start(ref CVRInputManager __instance)
|
||||
private static void Postfix_CVRInputManager_Start(ref CVRInputManager __instance)
|
||||
{
|
||||
__instance.AddInputModule(ChatBoxExtensions.InputModule);
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ internal class ChilloutVRAASCommands : CommandBase
|
|||
{
|
||||
if (args.Length > 2 && float.TryParse(args[2], out float value))
|
||||
{
|
||||
PlayerSetup.Instance.changeAnimatorParam(args[1], value);
|
||||
PlayerSetup.Instance.ChangeAnimatorParam(args[1], value);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
@ -24,7 +24,7 @@ internal class ChilloutVRAASCommands : CommandBase
|
|||
{
|
||||
if (args.Length > 2 && float.TryParse(args[2], out float value))
|
||||
{
|
||||
PlayerSetup.Instance.changeAnimatorParam(args[1], value);
|
||||
PlayerSetup.Instance.ChangeAnimatorParam(args[1], value);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
@ -108,7 +108,7 @@ internal class ChilloutVRBaseCommands : CommandBase
|
|||
{
|
||||
if (args.Length > 0)
|
||||
{
|
||||
string player = args[0y];
|
||||
string player = args[0];
|
||||
CVRPlayerEntity playerEnt = CVRPlayerManager.Instance.NetworkPlayers.FirstOrDefault(x => x.Username == player);
|
||||
if (playerEnt != null) BetterBetterCharacterController.Instance.TeleportPlayerTo(playerEnt.PuppetMaster.transform.position, false, false);
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ public class ChatBoxExtensions : MelonMod
|
|||
ApplyIntegrations();
|
||||
}
|
||||
|
||||
void ApplyIntegrations()
|
||||
private void ApplyIntegrations()
|
||||
{
|
||||
|
||||
Integrations.Commands.InitializeCommandHandlers();
|
||||
|
@ -39,7 +39,7 @@ public class ChatBoxExtensions : MelonMod
|
|||
}
|
||||
}
|
||||
|
||||
void ApplyPatches(Type type)
|
||||
private void ApplyPatches(Type type)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue