mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 22:39:22 +00:00
[AvatarScaleMod] Mod Network attempt 2.
I lost the first attempt when switching branches. Lot of this still needs to be redone, as it is just quickly slapped together atm.
This commit is contained in:
parent
69cb3b7804
commit
d599f57973
13 changed files with 850 additions and 544 deletions
|
@ -1,19 +1,28 @@
|
|||
using MelonLoader;
|
||||
using NAK.AvatarScaleMod.Networking;
|
||||
|
||||
namespace NAK.AvatarScaleMod;
|
||||
|
||||
public class AvatarScaleMod : MelonMod
|
||||
{
|
||||
internal static MelonLogger.Instance Logger;
|
||||
|
||||
|
||||
public override void OnInitializeMelon()
|
||||
{
|
||||
Logger = LoggerInstance;
|
||||
|
||||
ModSettings.InitializeModSettings();
|
||||
ApplyPatches(typeof(HarmonyPatches.PlayerSetupPatches));
|
||||
//ApplyPatches(typeof(HarmonyPatches.PuppetMasterPatches));
|
||||
ApplyPatches(typeof(HarmonyPatches.PuppetMasterPatches));
|
||||
ApplyPatches(typeof(HarmonyPatches.GesturePlaneTestPatches));
|
||||
|
||||
ModNetwork.Subscribe();
|
||||
ModSettings.InitializeModSettings();
|
||||
}
|
||||
|
||||
public override void OnUpdate()
|
||||
{
|
||||
ModNetwork.Update();
|
||||
ModNetworkDebugger.DoDebugInput();
|
||||
}
|
||||
|
||||
private void ApplyPatches(Type type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue