C Interface for getting party from BattleParty.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
7ed118e5de
commit
8ba564d4b7
|
@ -13,9 +13,9 @@ export uint8_t CreatureLib_BattleParty_Construct(BattleParty*& out, CreaturePart
|
|||
|
||||
export void CreatureLib_BattleParty_Destruct(const BattleParty* p) { delete p; }
|
||||
|
||||
BORROWED_GET_FUNC(BattleParty, GetParty, CreatureParty*);
|
||||
export uint8_t CreatureLib_BattleParty_IsResponsibleForIndex(bool& out, const BattleParty* p, uint8_t side,
|
||||
uint8_t creature) {
|
||||
Try(out = p->IsResponsibleForIndex(side, creature);)
|
||||
}
|
||||
|
||||
export bool CreatureLib_BattleParty_HasCreaturesNotInField(const BattleParty* p) { return p->HasCreaturesNotInField(); }
|
||||
|
|
Loading…
Reference in New Issue