CGUnit_C::IsCivilian
function · objectlayer · primitive
- Address
0x612550· 103 bytes, up to0x6125b6- Meaning
- Returns whether a PvP-flagged creature is a civilian not friendly to the player
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- objectlayer/units#creature-records
Finding: Creature records in objectlayer: units
A creature's CreatureCache record at +0xb30 gives its subname +0x10, type flags +0x14,
type +0x18, family +0x1c, rank +0x20, the +0x24 its pet info reads, civilian +0x30 and
racial leader +0x31. 0x605570 gives a unit's creature type: its form's, else its record's,
else its race's.
The derivation is in the doc.
Callers 3
- Script::UnitIsCivilian ui
- CGTooltip::BuildUnit ui
- CGUnit_C::GetPvPName objectlayer
Callees 4
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- IsTrivialUnit objectlayer
- CGUnit_C::UnitReaction objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.