示例#1
0
 public void LoadMod()
 {
     if (!isLoaded)
     {
         world.SaveWorld();
         modFile.LoadMod();
         isLoaded = true;
         MessageEvent("Start the game manualy.");
         bufferManager.Connect();
     }
 }
示例#2
0
 public void LoadMod()
 {
     if (!isLoaded)
     {
         world.SaveWorld();
         modFile.LoadMod();
         isLoaded = true;
         MessageEvent("Start the game manualy.");
         bufferManager.OnGameLoaded  += new BufferSocket.GameLoadedEventHandler(OnGameLoaded);
         bufferManager.OnGameMessage += new BufferSocket.GameMessage(OnGameMessageSims);
         bufferManager.Start();
     }
 }