GameConst.cs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. namespace GFGGame
  2. {
  3. public class GameConst
  4. {
  5. public static string SERVER_VERSION = "1.0.4";
  6. /// <summary>
  7. /// unity的一个单位长度对应的像素值
  8. /// </summary>
  9. public const int PIXELS_PER_UNITY_UNIT = 100;
  10. public const int MAX_COUNT_TO_BUY_DIAMOND_RED = 9990;//单次鲛绡最大购买量
  11. public const int MAX_COUNT_TO_SAVE_SUIT = 6;
  12. public const int MAX_COUNT_EVERY_TYPE_ITEM = 10000;
  13. public const float LETTERS_INTERVAL_MAX = 0.12f;
  14. public const int MAX_SPEED_AUTO_PLAY = 4;
  15. public const float NEXT_WORDS_INTERVAL_MAX = 1f;
  16. public const float POWER_PER_GOLD = 0.5f;
  17. // public const int MAX_GOLD_TO_BUY_POWER_ONCE = 60;
  18. public const int MAX_POWER_AUTO_REGAIN = 62;
  19. public const int INTERVAL_TIME_SECONDS_POWER = 60;
  20. // public const int GOLD_PER_DIAMOND_PURPLE = 10;
  21. // public const int DIAMOND_RED_PER_DIAMOND_PURPLE = 1;
  22. // public const int MAX_DIAMOND_PURPLE_TO_BUY_GOLD_ONCE = 100;
  23. // public const int MAX_DIAMOND_PURPLE_TO_BUY_DIAMOND_RED_ONCE = 100;
  24. public const int MAX_COUNT_FIGHT_QUICKLY = 10;
  25. public const int MAX_COUNT_RECOMMEND = 10;
  26. public const string VISITOR_ID_KEY = "visitorID";
  27. public const string ACCOUNT_LAST_LOGIN_KEY = "account";
  28. public const string PASSWORD_LAST_LOGIN_KEY = "password";
  29. public const string LAST_LOGIN_IS_VISITOR_KEY = "LAST_LOGIN_IS_VISITOR";
  30. public const string ROLE_NAMES = "栀言 南歌 星纯 洛白 清辞 羽棋 月心 青颜 芸清 素伊 一禾 绾颜 晴初 语岚 容嫣 知渝 静岑 乐潼 歆恬 熙禾 乐羡 安夏 南伊 诺柠 念禾 楚兮 言梦 长乐 锦恬 语汐 芮依 书苑 忆厢 纯一 江阮 之韵 知笙 黎初 凉笙 浮梦 芊月 琼裳 静墨 缀画 云染 尘霜 花扶 绿绮 引歌 雨纤 凝眉 入画 雪落 玥影 云烟 舞柳 舒袖 春罗 墨染 若灵 月开 岚秀 千茉";
  31. public static readonly string[] ROLE_NAME_LIST = ROLE_NAMES.Split(' ');
  32. public static readonly string[] CHINESE_NUMBER = { "一", "二", "三", "四", "五", "六", "七", "八", "九", "十" };
  33. }
  34. }