| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- namespace GFGGame
- {
- //前后端共享类
- public class GameConst
- {
- //这个版本号修改后必须与客户端同步更新,不然老版本的客户端无法登录游戏
- public static string SERVER_VERSION = "1.0.5";
- /// <summary>
- /// unity的一个单位长度对应的像素值
- /// </summary>
- public const int PIXELS_PER_UNITY_UNIT = 100;
- //每日重置时间:小时
- public const int DAILY_RESET_HOUR = 5;
- //展示充值物品的默认最大时间差
- public const int DEFAULT_MAX_ORDER_TIME = 15000;
- public const int MAX_COUNT_TO_BUY_DIAMOND_RED = 9990;//单次鲛绡最大购买量
- public const int MAX_COUNT_TO_BUY_ITEMS = 99;//单次道具最大购买量
- public const int MAX_COUNT_TO_SAVE_SUIT = 6;
- public const int MAX_COUNT_EVERY_TYPE_ITEM = 10000;
- public const int MAX_SPEED_AUTO_PLAY = 4;
- public const float NEXT_WORDS_INTERVAL_MAX = 1f;
- public const float POWER_PER_GOLD = 0.5f;
- // public const int MAX_GOLD_TO_BUY_POWER_ONCE = 60;
- public const int INTERVAL_TIME_SECONDS_POWER = 300;
- // public const int GOLD_PER_DIAMOND_PURPLE = 10;
- // public const int DIAMOND_RED_PER_DIAMOND_PURPLE = 1;
- // public const int MAX_DIAMOND_PURPLE_TO_BUY_GOLD_ONCE = 100;
- // public const int MAX_DIAMOND_PURPLE_TO_BUY_DIAMOND_RED_ONCE = 100;
- public const int MAX_COUNT_FIGHT_QUICKLY = 10;
- public const string VISITOR_ID_KEY = "visitorID";
- public const string ACCOUNT_LAST_LOGIN_KEY = "account";
- public const string PASSWORD_LAST_LOGIN_KEY = "password";
- public const string LAST_LOGIN_IS_VISITOR_KEY = "LAST_LOGIN_IS_VISITOR";
- public static readonly string[] CHINESE_NUMBER = { "一", "二", "三", "四", "五", "六", "七", "八", "九", "十" };
- public static readonly string[] CHINESE_NUMBER_OLD = { "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖", "拾" };
- public static readonly string[] CHINESE_WEEK_NUMBER = { "日", "一", "二", "三", "四", "五", "六" };
- //存储权限状态
- public const string WRITE_EXTERNAL_STORAGE_FORBIDDEN = "WRITE_EXTERNAL_STORAGE_FORBIDDEN";
- }
- }
|