Added display text event hook.

This commit is contained in:
2020-03-09 17:43:36 +01:00
parent 314b8997be
commit 5a976e4031
6 changed files with 16 additions and 3 deletions

View File

@@ -19,3 +19,5 @@ SIMPLE_GET_FUNC(HealEvent, GetOriginalHealth, uint32_t);
SIMPLE_GET_FUNC(HealEvent, GetNewHealth, uint32_t);
SIMPLE_GET_FUNC(FaintEvent, GetCreature, Creature*);
export const char* CreatureLib_DisplayTextEvent_GetText(const DisplayTextEvent* p) { return p->GetText().c_str(); }