SendPetRename
function · ui · orchestration
- Address
0x4bd840· 324 bytes, up to0x4bd983- Signature
void __fastcall (const char *name)- Meaning
- Checks the pet and name, then sends CMSG_PET_RENAME with the name cut to 79 bytes
- Confidence
- verified, proof one
- Finding
- ui/petbar#abandon-and-rename
Finding: Abandon and rename in ui: the pet bar and the form bar
PetCanBeRenamed and PetCanBeAbandoned push 1 or nil: the pet resolves, was summoned by the player
(UNIT_FIELD_SUMMONEDBY, +0x18) and has UNIT_FIELD_FLAGS bit 0x10 (rename) or 0x20 (abandon). PetAbandon
sends opcode 0x176 with the pet guid after the kind 2 gate, and message 0x26f with the stable master guid
when the stable window is open. PetRename(name) shows an error for no pet (243), a pet that is not the
player's (244), one that cannot be renamed (245) or an empty name (246), then sends opcode 0x177:
u64 pet guid, cstring name, cut to 79 bytes. Nothing is echoed; the new name arrives through the name
cache, whose row is dropped and queried again when the pet's name timestamp field changes.
The derivation is in the doc.
Callers 1
Callees 8
- CDataStore::PutUInt32 base
- CDataStore::PutGuid base
- CDataStore::PutCString base
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- CGGameUI::DisplayError ui
- ClientServices::Send net
- SStrPrintf storm
Calls and jumps by a bare address, from tables/calls.tsv.