QuestEvent.h 771 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #pragma once
  2. #include "Entity.h"
  3. class QuestEvent : public virtual Framework::ReferenceCounter
  4. {
  5. private:
  6. Entity* actingEntity;
  7. public:
  8. QuestEvent(Entity* actingEntity);
  9. ~QuestEvent();
  10. Entity* zActingEntity() const;
  11. };
  12. class QuestEventOpenDialog : public QuestEvent
  13. {
  14. private:
  15. Framework::Text dialogId;
  16. public:
  17. QuestEventOpenDialog(Entity* actingEntity, Framework::Text dialogId);
  18. const Framework::Text& getDialogId() const;
  19. };
  20. class QuestEventBlockBreak : public QuestEvent
  21. {};
  22. class QuestEventBlockPlace : public QuestEvent
  23. {};
  24. class QuestEventBlockInteract : public QuestEvent
  25. {};
  26. class QuestEventTimeUpdate : public QuestEvent
  27. {};
  28. class QuestEventCraft : public QuestEvent
  29. {};
  30. class QuestEventItemPickup : public QuestEvent
  31. {};