QuestAdapter.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using CommonAI.Zone.Helper;
  2. using CommonAI.Zone.Instance;
  3. using CommonLang.Protocol;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using XmdsCommonServer.Plugin.Scene;
  9. namespace XmdsCommonServer.Plugin.Quest
  10. {
  11. public class XmdsQuestAdapter : IQuestAdapter
  12. {
  13. public XmdsQuestAdapter(XmdsServerScene zone)
  14. : base(zone)
  15. {
  16. }
  17. public override void DoAcceptQuest(string playerUUID, string quest, string args)
  18. {
  19. this.OnQuestAcceptedHandler(playerUUID, quest);
  20. }
  21. public override void DoCommitQuest(string playerUUID, string quest, string args)
  22. {
  23. this.OnQuestCommittedHandler(playerUUID, quest);
  24. }
  25. public override void DoDropQuest(string playerUUID, string quest, string args)
  26. {
  27. this.OnQuestDroppedHandler(playerUUID, quest);
  28. }
  29. public override void DoUpdateQuestStatus(string playerUUID, string quest, string key, string value)
  30. {
  31. this.OnQuestStatusChangedHandler(playerUUID, quest, key, value);
  32. }
  33. public override void DoSendMsgToPlayer(string playerUUID, IMessage msg)
  34. {
  35. }
  36. }
  37. }