CGGameObject_C::CreateMapEntity
function · objectlayer · primitive
- Address
0x5f8030· 82 bytes, up to0x5f8081- Signature
void * __thiscall (CGGameObject_C *this, uint32_t guidLow, uint32_t guidHigh)- Meaning
- Creates a game object's map entity at its position and facing
- Confidence
- verified, proof two
- Finding
- objectlayer/transports#map-objects
Finding: Map objects in objectlayer: transports
A type 14 handler holds a world entity at +0x10. Its record arrival and reactivation create
it: CWorld::CreateMapEntity with the model path of the GameObjectDisplayInfo row of
GAMEOBJECT_DISPLAYID, the object's position and facing, and its GUID for types 11 and 15, 0
for others. Without the row it prints NOOBJECTFILENAME|%d|%d|Game with the display and entry
ids and passes no path; a display id of 0 passes no path and prints nothing (0x5f8099). Deactivation and the destructor destroy the entity. The entity's done
callback chains the transports' animations: accelerating (0xa2) plays cruising (0xa3),
decelerating (0xa4) plays standing (0); after standing or cruising nothing plays, and any other
animation replays itself.
The derivation is in the doc.
Callers 1
- CreateMapObjectEntity objectlayer
Callees 2
- CGGameObject_C::GetDisplayModelPath objectlayer
- CWorld::CreateMapEntity terrain
Calls and jumps by a bare address, from tables/calls.tsv.