public void LoadMod() { if (!isLoaded) { world.SaveWorld(); modFile.LoadMod(); isLoaded = true; MessageEvent("Start the game manualy."); bufferManager.Connect(); } }
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(); } }