From 314b8997be61db08280ef45fd2e2054a45792eb0 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Mon, 9 Mar 2020 16:30:36 +0100 Subject: [PATCH] Added Faint event C Interface. --- CInterface/Battling/EventData.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CInterface/Battling/EventData.cpp b/CInterface/Battling/EventData.cpp index cfc59a2..5c8fc00 100644 --- a/CInterface/Battling/EventData.cpp +++ b/CInterface/Battling/EventData.cpp @@ -17,3 +17,5 @@ SIMPLE_GET_FUNC(DamageEvent, GetNewHealth, uint32_t); SIMPLE_GET_FUNC(HealEvent, GetCreature, Creature*); SIMPLE_GET_FUNC(HealEvent, GetOriginalHealth, uint32_t); SIMPLE_GET_FUNC(HealEvent, GetNewHealth, uint32_t); + +SIMPLE_GET_FUNC(FaintEvent, GetCreature, Creature*);