Adds C Interface for AllowedExperienceGain
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
parent
4274a44fa5
commit
9303ec53e0
|
@ -111,6 +111,9 @@ export void CreatureLib_Creature_SetDisplaySpecies(Creature* p, const CreatureLi
|
|||
export void CreatureLib_Creature_SetDisplayVariant(Creature* p, const CreatureLib::Library::SpeciesVariant* variant) {
|
||||
return p->SetDisplayVariant(variant);
|
||||
}
|
||||
export bool CreatureLib_Creature_AllowedExperienceGain(Creature* p) { return p->AllowedExperienceGain(); }
|
||||
export void CreatureLib_Creature_SetAllowedExperienceGain(Creature* p, bool b) { p->SetAllowedExperienceGain(b); }
|
||||
|
||||
export void CreatureLib_Creature_ChangeStatBoost(Creature* p, CreatureLib::Library::Statistic stat, int8_t diffAmount) {
|
||||
p->ChangeStatBoost(stat, diffAmount);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue