BotConfig.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. public string ServerListURL = "http://192.168.0.147:7002/api/server/server_list";
  20. [Desc("IP地址映射(外网转内网)", "客户端")]
  21. public HashMap<string, string> AddressMapping;
  22. //-------------------------------------------------------------------------------------
  23. [Desc("客户端FPS", "显示")]
  24. public int ClientFPS = 30;
  25. [Desc("添加机器人间隔", "显示")]
  26. public int AddBotIntervalMS = 1000;
  27. [Desc("维持机器人数量", "显示")]
  28. public int KeepBotCount = 0;
  29. //-------------------------------------------------------------------------------------
  30. }
  31. public class BotConfigHistory
  32. {
  33. public HashMap<string, List<object>> List = new HashMap<string, List<object>>();
  34. }
  35. }