BotConfig.cs 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using DeepCore;
  7. using DeepCore.Reflection;
  8. namespace DeepMMO.Client.BotTest
  9. {
  10. public class BotConfig
  11. {
  12. //-------------------------------------------------------------------------------------
  13. //-------------------------------------------------------------------------------------
  14. //-------------------------------------------------------------------------------------
  15. [Desc("服务器入口", "服务器")]
  16. [OptionalValue(
  17. "http://office.1gamesh.com:31000/api/client/server_list",
  18. "http://office.1gamesh.com:31000/api/server/server_list",
  19. "http://192.168.0.147:7002/api/server/server_list,",
  20. "http://192.168.1.173:7002/api/server/server_list",
  21. "http://192.168.0.57:7002/api/server/server_list")]
  22. public string ServerListURL = "http://192.168.0.57:7002/api/server/server_list";
  23. [Desc("IP地址映射(外网转内网)", "客户端")]
  24. public HashMap<string, string> AddressMapping;
  25. //-------------------------------------------------------------------------------------
  26. [Desc("客户端FPS", "显示")]
  27. public int ClientFPS = 30;
  28. [Desc("添加机器人间隔", "显示")]
  29. public int AddBotIntervalMS = 1000;
  30. [Desc("维持机器人数量", "显示")]
  31. public int KeepBotCount = 0;
  32. [Desc("是否显示场景", "显示")]
  33. public bool NoBattleView = false;
  34. //-------------------------------------------------------------------------------------
  35. }
  36. public class BotConfigHistory
  37. {
  38. public HashMap<string, List<object>> List = new HashMap<string, List<object>>();
  39. }
  40. }