void ModInterface.Game_Start(ModGameAPI dediAPI) { Broker.api = dediAPI; this.Initialize(dediAPI); this.ChatCommandManager = new ChatCommandManager(this.ChatCommands); }
void IMod.Init(IModApi modAPI) { this.APIInitialized = true; this.GameAPI = modAPI; Logger.logFunction = modAPI.Log; RunInitialize(); this.ChatCommandManager = new ChatCommandManager(this.ChatCommands); modAPI.Application.ChatMessageSent += SimpleMod_ProcessChatCommands; }