//protected void RadioButtonSet protected override void CloseAction(object sender) { base.CloseAction(sender); GameClientSettingsInformation gcsi = Parameter.GameClientSettingsInformation; //gcsi.AimType = gcsi.BGM = (int)(AudioHandler.BGMVolume * 100); gcsi.SFX = (int)(AudioHandler.SFXVolume * 100); //gcsi.IsBackgroundOn = //gcsi.InterfaceType = ConfigFileManager.OverwriteGameServerSettings(gcsi); }
public static void Initialize() { GameClientSettingsInformation gcsi = Parameter.GameClientSettingsInformation; #if DEBUGSCENE ChangeSFXVolume(20); ChangeBGMVolume(0); #else ChangeSFXVolume(gcsi.SFX); ChangeBGMVolume(gcsi.BGM); #endif //MediaPlayer.Volume = MasterVolume * FXVolume; //MediaPlayer.IsRepeating = true; currentActiveSonglist = new List <string>(); songFadeoutQueue = new Queue <List <string> >(); playingSoundEffects = new HashSet <SoundEffect>(); }
public static void Initialize(string[] args) { ConfigFileManager.CreateConfigFile(RequesterApplication.Launcher); ConfigFileManager.LoadConfigFile(RequesterApplication.Launcher); GameClientSettingsInformation = ConfigFileManager.ReadClientInformation(); if (args.Length >= 2) { //Game has been patched string previousVersion = args[0]; string currentVersion = args[1]; GameClientSettingsInformation.ClientVersionHistory = ObjectWrapper.DeserializeFile <PatchHistory>( $@"{Directory.GetCurrentDirectory()}\{NetworkObjectParameters.LatestPatchHistoryFilename}"); GameClientSettingsInformation.ClientVersionHistory.PatchHistoryList.Clear(); } ConfigFileManager.OverwriteGameServerSettings(GameClientSettingsInformation); }
public static void Initialize() { ConfigFileManager.CreateConfigFile(RequesterApplication.Launcher); ConfigFileManager.LoadConfigFile(RequesterApplication.Launcher); GameClientSettingsInformation = ConfigFileManager.ReadClientInformation(); }
public LauncherInformation(LauncherOperationStatus launcherDialogResult, GameClientSettingsInformation gameClientSettingsInformation, Player player) { LauncherOperationStatus = launcherDialogResult; GameClientSettingsInformation = gameClientSettingsInformation; Player = player; }