Пример #1
0
 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("サーバーをステージング環境マシンに設定しました");
 }
Пример #2
0
 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("サーバーを本番環境マシンに設定しました");
 }
Пример #3
0
        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("サーバーをローカルマシンに設定しました");
        }