Difference between revisions of "Game Opcodes:Set Actor Name"

From FFXIV Classic Wiki
Jump to: navigation, search
(Visual Layout)
 
(One intermediate revision by the same user not shown)
Line 39: Line 39:
 
! 0x20
 
! 0x20
 
| colspan="4" style="background:#CEE0F2" |
 
| colspan="4" style="background:#CEE0F2" |
| colspan="4" style="background:#5570A2" | '''actorSex'''
+
| colspan="1" style="background:#5570A2" | '''actorSex'''
 +
| 0x7
 +
| 0x8
 
|}
 
|}

Latest revision as of 18:32, 28 May 2024

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 0x7 0x8