public MultiplayerMod(ModContentPack pack) : base(pack) { EarlyMarkNoInline(typeof(Multiplayer).Assembly); EarlyPatches(); settings = GetSettings <MpSettings>(); }
public MultiplayerMod(ModContentPack pack) : base(pack) { EarlyMarkNoInline(); EarlyPatches(); EarlyInit(); settings = GetSettings <MpSettings>(); }
public MultiplayerMod(ModContentPack pack) : base(pack) { if (GenCommandLine.CommandLineArgPassed("arbiter")) { arbiterInstance = true; } EarlyMarkNoInline(typeof(Multiplayer).Assembly); EarlyPatches(); settings = GetSettings <MpSettings>(); }
public MultiplayerMod(ModContentPack pack) : base(pack) { if (GenCommandLine.CommandLineArgPassed("arbiter")) { arbiterInstance = true; } //EarlyMarkNoInline(typeof(Multiplayer).Assembly); EarlyPatches(); CheckInterfaceVersions(); settings = GetSettings <MpSettings>(); LongEventHandler.ExecuteWhenFinished(() => { // Double Execute ensures it'll run last. LongEventHandler.ExecuteWhenFinished(LatePatches); }); }
public MultiplayerMod(ModContentPack pack) : base(pack) { if (GenCommandLine.CommandLineArgPassed("arbiter")) { arbiterInstance = true; } EarlyMarkNoInline(typeof(Multiplayer).Assembly); EarlyPatches(); CheckInterfaceVersions(); settings = GetSettings <MpSettings>(); #if DEBUG LongEventHandler.ExecuteWhenFinished(() => { Log.Message("== Structure == \n" + Sync.syncWorkers.PrintStructure()); }); #endif }