BotClient.GM.cs 972 B

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace XmdsBattleClientBot.Bot
  6. {
  7. partial class BotClient
  8. {
  9. public virtual void gm_add_exp(int exp)
  10. {
  11. Client.GameSocket.playerHandler.sendGMCmdRequest("@gm add exp " + exp, (e, r) =>
  12. {
  13. });
  14. }
  15. public virtual void gm_add_diamond(int exp)
  16. {
  17. Client.GameSocket.playerHandler.sendGMCmdRequest("@gm add diamond " + exp, (e, r) =>
  18. {
  19. });
  20. }
  21. public virtual void gm_add_gold(int exp)
  22. {
  23. Client.GameSocket.playerHandler.sendGMCmdRequest("@gm add gold " + exp, (e, r) =>
  24. {
  25. });
  26. }
  27. public virtual void gm_finish_task(int taskTemplateID)
  28. {
  29. Client.GameSocket.playerHandler.sendGMCmdRequest("@gm finishTask " + taskTemplateID, (e, r) =>
  30. {
  31. });
  32. }
  33. }
  34. }