Fired when a built-in quest or script is triggered.
More...
#include <Events.hpp>
|
| | QuestStartEvent ()=default |
| | Default constructor.
|
| |
| | QuestStartEvent (uint32_t q, entt::entity e) |
| | Initializes a quest start event.
|
| |
| virtual | ~Event ()=default |
| | Virtual destructor to ensure proper polymorphic cleanup.
|
| |
|
| uint32_t | questID |
| | ID of the quest to be executed.
|
| |
| entt::entity | entityID |
| | ID of the entity that initiated the quest.
|
| |
Fired when a built-in quest or script is triggered.
◆ QuestStartEvent() [1/2]
| QuestStartEvent::QuestStartEvent |
( |
| ) |
|
|
default |
Default constructor.
- Parameters
-
- Return values
-
◆ QuestStartEvent() [2/2]
| QuestStartEvent::QuestStartEvent |
( |
uint32_t |
q, |
|
|
entt::entity |
e |
|
) |
| |
|
inline |
Initializes a quest start event.
- Parameters
-
| q | : ID of the quest |
| e | : ID of the initiating entity |
- Return values
-
◆ entityID
| entt::entity QuestStartEvent::entityID |
ID of the entity that initiated the quest.
◆ questID
| uint32_t QuestStartEvent::questID |
ID of the quest to be executed.
The documentation for this struct was generated from the following file:
- /home/runner/work/Cheese-Engine/Cheese-Engine/inc/Events.hpp