12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- using System;
- using System.Collections.Generic;
- /* 本文件包含EnviromentSetting 主要功能上游戏运行环境设定
- */
- public static class EnviromentSetting
- {
- // 服务器ip 正式发布需要替换掉ip
- public static string serverIp = "http://101.34.23.118";
- //language.json读取和存放
- public static string langFilePath = "Data/languages";
- public static Dictionary<string, object> languageData = null;
- // access Token
- public static string accessToken;
- public static DateTime accessTokenReceivedTime;
- // 不需要access Token的请求
- public static string[] accessTokenWhiteList = {
- "/api/login/token/",
- "/api/game/quick_start/",
- "/api/login/"
- };
- //系统语言 default=en
- public static string languageCode = "en";
- //操作系统
- public static string platform = "NA";
- // Unity Unique Id
- public static string UUID = null;
- // 项目版本
- public static string version;
- // 狗的数据库
- public static string dogDBFilePath = "Data/dogDB";
- public static DogBreed[] dogBreeds;
- // 最大狗的数量
- public static int maxDogQty = 3;
- // 运行环境
- public static string runEnv = "Release"; // NA, Dev, Release
- // 语音识别通过分数
- public static float voiceRecognitionScore = 0.6f;
- public static float interactTimeoutSec = 10f; // 交互超时
- }
|