BotConfig.cs 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. using CommonLang;
  2. using CommonLang.Property;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. namespace XmdsBattleClientBot
  8. {
  9. public class BotConfig
  10. {
  11. //-------------------------------------------------------------------------------------
  12. [Desc("登录地址", "登录")]
  13. [OptionalValue("192.168.0.151:8888")]
  14. public string LoginUrl = "192.168.0.249:8888";
  15. [Desc("选择服务器ID", "登录")]
  16. public int ServerID = 10003;
  17. [Desc("Desc", "登录-常量")]
  18. public int Appid = 80;
  19. [Desc("Channel", "登录-常量")]
  20. public int Channel = 0;
  21. [Desc("SdkVersion", "登录-常量")]
  22. public string SdkVersion = "";
  23. [Desc("SdkExpansion", "登录-常量")]
  24. public string SdkExpansion = "";
  25. [Desc("LoginType", "登录-常量")]
  26. public int LoginType = 0;
  27. [Desc("显示版本号", "登录-常量")]
  28. public string ClientVersion = "1.0.0";
  29. [Desc("SVN版本号", "登录-常量")]
  30. public string SVNVersion = "10000";
  31. [Desc("逻辑版本号", "登录-常量")]
  32. public int LogicVersion = 10000;
  33. [Desc("客户端区域信息", "登录-常量")]
  34. public string ClientRegion = "CHN";
  35. [Desc("手机系统 5是IOS,6是android.", "登录-常量")]
  36. public int OSType = 5;
  37. [Desc("MacAddr", "登录-常量")]
  38. public string MacAddr = "1234";
  39. //-------------------------------------------------------------------------------------
  40. [Desc("使用MPQ资源", "资源")]
  41. public bool UseMPQ = false;
  42. //-------------------------------------------------------------------------------------
  43. [Desc("资源加载地址", "资源")]
  44. [OptionalValue(
  45. "http://192.168.1.208/xmds/res_develop/",
  46. "http://192.168.1.208/xmds/res_release/")]
  47. [DependOnProperty("UseMPQ")]
  48. public string ResourcesURL = "http://192.168.1.208/xmds/res_develop/";
  49. [Desc("资源地址", "资源")]
  50. [DirectoryPath]
  51. [DependOnProperty("UseMPQ", false)]
  52. public string DataRoot = @"D:\Xmds\GameEditors\GameEditor\data";
  53. [Desc("Lua代码地址", "资源")]
  54. [DirectoryPath]
  55. [DependOnProperty("UseMPQ", false)]
  56. public string LuaRoot = @"D:\Xmds\GameEditors\UIEdit\res\ui_edit\lua";
  57. //-------------------------------------------------------------------------------------
  58. //-------------------------------------------------------------------------------------
  59. [Desc("客户端FPS", "显示")]
  60. public int ClientFPS = 3000;
  61. [Desc("不显示战斗画面", "显示")]
  62. public bool NoBattleView = false;
  63. [Desc("节省内存模式", "显示")]
  64. public bool SaveMemory = true;
  65. //-------------------------------------------------------------------------------------
  66. }
  67. }