public static void SwitchStaging() { LocalFileHandler.Init(LocalFileConstants.GetLocalFileDir() + LocalFileConstants.COMMON_LOCAL_FILE_NAME); LocalFileHandler.SetInt(LocalFileConstants.EDITOR_ONLY_DOMAIN_SWICHER, (int)SeverMachineType.STG); LocalFileHandler.Flush(); Debug.Log("サーバーをステージング環境マシンに設定しました"); }
public static void SwitchProduction() { LocalFileHandler.Init(LocalFileConstants.GetLocalFileDir() + LocalFileConstants.COMMON_LOCAL_FILE_NAME); LocalFileHandler.SetInt(LocalFileConstants.EDITOR_ONLY_DOMAIN_SWICHER, (int)SeverMachineType.PRODUCTION); LocalFileHandler.Flush(); Debug.Log("サーバーを本番環境マシンに設定しました"); }
public static void SwitchLocal() { string s = LocalFileConstants.GetLocalFileDir() + LocalFileConstants.COMMON_LOCAL_FILE_NAME; LocalFileHandler.Init(LocalFileConstants.GetLocalFileDir() + LocalFileConstants.COMMON_LOCAL_FILE_NAME); LocalFileHandler.SetInt(LocalFileConstants.EDITOR_ONLY_DOMAIN_SWICHER, (int)SeverMachineType.LOCAL); LocalFileHandler.Flush(); Debug.Log("サーバーをローカルマシンに設定しました"); }