GameRuntimeConfig.cs 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. using System;
  2. using UnityEngine;
  3. using UnityEngine.Serialization;
  4. namespace Fort23.Mono
  5. {
  6. [CreateAssetMenu(fileName = "Assets/GameRuntimeConfig", menuName = "GameRuntimeConfig", order = 0)]
  7. public class GameRuntimeConfig : ScriptableObject
  8. {
  9. // // 大版本号
  10. // public int version;
  11. //
  12. // // 发布版本号
  13. // public int buildVer;
  14. //
  15. // // 资源版本号
  16. // public int assetVer;
  17. //
  18. // // 服务器版本号
  19. // public int serverVer;
  20. //
  21. // // 发送给服务器的资源版本号,与服务器对比,用于客户端资源强更
  22. // public int sendAssetVer;
  23. //
  24. // /// <summary>
  25. // /// 解锁所有系统
  26. // /// </summary>
  27. // public bool unLockAll;
  28. //
  29. // public bool isUpdateAsset;
  30. //
  31. //
  32. // public bool isSkip;
  33. //
  34. // public bool isUnlockAll;
  35. //
  36. // public bool isDebug;
  37. //
  38. // public bool IsUseServerData;
  39. //
  40. // public Vector4 debugPhase;
  41. //
  42. // public bool ClearGuideData;
  43. //
  44. //
  45. // public Area area;
  46. // public CDN cdn;
  47. // public LoginServer loginServer;
  48. // public bool isSaveCombat = false;
  49. // public bool isAllLog = false;
  50. //
  51. // public string AppVer
  52. // {
  53. // get { return version + "." + buildVer; }
  54. // }
  55. }
  56. // [Flags]
  57. // public enum Area
  58. // {
  59. // [EnumLabel("无", "")] None = 0,
  60. // [EnumLabel("国际", "AREA_ABROAD")] Abroad = 2,
  61. // [EnumLabel("越南", "AREA_VIETNAM")] Vietnam = 4,
  62. // [EnumLabel("韩国", "AREA_KOREA")] Korea = 8,
  63. // [EnumLabel("国内", "AREA_CHINA")] China = 16,
  64. // [EnumLabel("香港", "AREA_HK")] HongKang = 32,
  65. // }
  66. //
  67. // public enum CDN
  68. // {
  69. // [EnumLabel("华为云(备用)", "http://121.36.145.47/TestAsset/")]
  70. // HuaWei,
  71. //
  72. // [EnumLabel("国际正式", "http://autoheros.test.233i.com/data/007asset/")]
  73. // HaiWai,
  74. //
  75. // [EnumLabel("国际测试", "http://121.36.145.47/GuoJi/")]
  76. // HaiWaiTest,
  77. //
  78. // [EnumLabel("国内正式", "http://cn-autoheros.233i.com/data/007asset/")]
  79. // GuoNei,
  80. //
  81. // [EnumLabel("国内测试", "http://121.36.145.47/GuoNei/")]
  82. // GuoNeiTest,
  83. //
  84. // [EnumLabel("韩国正式", "http://autoheros.test.233i.com/data/007asset/fort23Test/")]
  85. // HanGuo,
  86. //
  87. // [EnumLabel("韩国测试", "http://121.36.145.47/HanGuo/")]
  88. // HanGuoTest,
  89. //
  90. // [EnumLabel("越南正式", "http://121.36.145.47/TestAsset/")]
  91. // YueNan,
  92. //
  93. // [EnumLabel("越南测试", "http://121.36.145.47/YueNan/")]
  94. // YueNanTest,
  95. //
  96. // [EnumLabel("港澳台正式", "http://121.36.145.47/GAT/")]
  97. // HK,
  98. //
  99. // [EnumLabel("港澳台测试", "http://121.36.145.47/YueNan/")]
  100. // KHTest,
  101. //
  102. // [EnumLabel("本地(192.168.123.xxx:8080)", "http://192.168.123.216:8080/res/")]
  103. // Other,
  104. // }
  105. //
  106. // public enum LoginServer
  107. // {
  108. // [EnumLabel("国际测试(华为)", data: "http://121.36.145.47:998")]
  109. // HuaWei,
  110. //
  111. // [EnumLabel("国际正式(腾讯)", "http://autoheros.login.233i.com:1000")]
  112. // HaiWai,
  113. //
  114. // [EnumLabel("国内正式", "http://cn-autoheros.login.233i.com:999")]
  115. // GuoNei,
  116. //
  117. // [EnumLabel("国内审核测试", "http://autoheros_cn_test.login.233i.com:1000")]
  118. // GuoNeiTest,
  119. //
  120. // [EnumLabel("韩国", "http://101.33.66.62:1000")]
  121. // HanGuo,
  122. //
  123. // [EnumLabel("越南", "http://103.124.94.73:1000")]
  124. // YueNan,
  125. //
  126. // [EnumLabel("港澳台", "http://175.97.134.167:10001")]
  127. // HK,
  128. //
  129. // [EnumLabel("海外测试(华为997)", data: "http://121.36.145.47:997")]
  130. // HuaWei_997,
  131. //
  132. // //[EnumLabel("其他(192.168.123.xxx:1000)", "http://192.168.123.216:1000")]
  133. // [EnumLabel("其他(192.168.123.xxx:1000)", "http://127.0.0.1:1000")]
  134. // Other
  135. // }
  136. //
  137. // public enum AnaroidPackNameServer
  138. // {
  139. // [EnumLabel("海外", data = "com.axe233i.autoheroes.oversea.andriod")]
  140. // A_Google,
  141. //
  142. // [EnumLabel("国内", data = "com.shiguangniuniu.autoheroes.domestic.android")]
  143. // A_GuoNei,
  144. //
  145. // [EnumLabel("韩国", data = "com.youloft.autoheroes")]
  146. // A_HaiGuo,
  147. //
  148. // [EnumLabel("越南", data = "com.mobileevosaigon.starvearena")] // com.misaigon.starvearena
  149. // A_YueNan,
  150. //
  151. // [EnumLabel("港澳台", data = "com.luckyfun.aedzj")]
  152. // A_GangAoTai,
  153. // }
  154. //
  155. // public enum IosPackNameServer
  156. // {
  157. // [EnumLabel("海外", data = "com.axe233i.autoheroes.oversea.ios")]
  158. // iOS_haiwai,
  159. //
  160. // [EnumLabel("国内", data = "com.shiguangniuniu.autoheroes.domestic.ios")]
  161. // iOS_GuoNei,
  162. //
  163. // [EnumLabel("越南", data = "com.mobileevosaigon.starvearena.ios")]
  164. // iOS_YueNan,
  165. //
  166. // [EnumLabel("港澳台", data = "com.cyh.aedzj")]
  167. // ioS_GangAoTai,
  168. // }
  169. }