// Set the game parameters back to their proper defaults (map to hihigher, etc.) private void ResetGameParameters(AllegianceInterop.ClientConnection client) { AllegianceInterop.FMD_CS_MISSIONPARAMS missionParameters = new AllegianceInterop.FMD_CS_MISSIONPARAMS( GameName, AllegianceInterop.MapType.c_mmHiHigher, MaxPlayersPerGame, MaxPlayersPerGame / 2 ); client.SendMessageServer(missionParameters); }
// Set the game parameters back to their proper defaults (map to hihigher, etc.) private void ResetGameParameters(AllegianceInterop.ClientConnection client) { AllegianceInterop.FMD_CS_MISSIONPARAMS missionParameters = new AllegianceInterop.FMD_CS_MISSIONPARAMS( GameName, AllegianceInterop.MapType.c_mmHiHigher, MaxPlayersPerGame, MaxPlayersPerGame / 2 ); client.SendMessageServer(missionParameters); Log($"ResetGameParameters: SideIndex = {SideIndex}"); AllegianceInterop.FMD_CS_FORCE_TEAM_READY forceReady = new AllegianceInterop.FMD_CS_FORCE_TEAM_READY(SideIndex, true); client.SendMessageServer(forceReady); }