Esempio n. 1
0
 void ModInterface.Game_Start(ModGameAPI dediAPI)
 {
   Broker.api = dediAPI;
   this.Initialize(dediAPI);     
   
   this.ChatCommandManager = new ChatCommandManager(this.ChatCommands);
 }
Esempio n. 2
0
        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;
        }