[RelativeSync] Fixed buncha stuff, cleanup

This commit is contained in:
NotAKidoS 2024-05-29 13:41:11 -05:00
parent b97265ef37
commit b786ecd51c
11 changed files with 429 additions and 231 deletions

View file

@ -13,12 +13,22 @@ public class RelativeSyncMod : MelonMod
Logger = LoggerInstance;
ModNetwork.Subscribe();
ModSettings.Initialize();
// Experimental sync hack
ApplyPatches(typeof(CVRSpawnablePatches));
// Experimental no interpolation on Better Better Character Controller
ApplyPatches(typeof(BetterBetterCharacterControllerPatches));
// Send relative sync update after network root data update
ApplyPatches(typeof(NetworkRootDataUpdatePatches));
// Add components if missing (for relative sync monitor and controller)
ApplyPatches(typeof(PlayerSetupPatches));
ApplyPatches(typeof(PuppetMasterPatches));
// Add components if missing (for relative sync markers)
ApplyPatches(typeof(CVRSeatPatches));
ApplyPatches(typeof(CVRMovementParentPatches));
}