Difference between revisions of "Game Opcodes:Set Actor Name"
From FFXIV Classic Wiki
(Added missing variable for the actor's sex that NPCs address when a customName is used.) |
m (Correcting Data Size.) |
||
Line 3: | Line 3: | ||
:; Opcode - 0x13D | :; Opcode - 0x13D | ||
:; Source - Server | :; Source - Server | ||
− | :; Data Size - | + | :; Data Size - 0x28 bytes |
:; Requirements - None | :; Requirements - None | ||
Revision as of 11:47, 31 January 2022
Sets the display name for this actor.
- Opcode - 0x13D
- Source - Server
- Data Size - 0x28 bytes
- Requirements - None
Data
Offset | Data Type | Length | Variable | Description |
---|---|---|---|---|
0x00 | int32 | 1 Byte | displayNameID | Sets a localized display name. If it is a custom display name (IE: Player Name), set to -1 (0xFFFFFFFF). |
0x02 | string | 32 Bytes | customName | If displayNameID is set to -1, this string will be the name. |
0x24 | int32 | 1 Byte | actorSex | If displayNameID is set to -1, this will define the actor's sex. 0x00 male, 0x01 female. |
Visual Layout
Packet Data layout | ||||||||||||||||
0x0 | 0x1 | 0x2 | 0x3 | 0x4 | 0x5 | 0x6 | 0x7 | 0x8 | 0x9 | 0xA | 0xB | 0xC | 0xD | 0xE | 0xF | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | displayNameID | |||||||||||||||
0x10 | customName | |||||||||||||||
0x20 | actorSex |