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

From FFXIV Classic Wiki
Jump to: navigation, search
(Visual Layout)
(Visual Layout)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Sets a talk event trigger to this actor. If a player starts a talk event (selects an actor and hits enter), this event will fire.
+
Sets the display name for this actor.
  
 
:; Opcode - 0x13D
 
:; Opcode - 0x13D
 
:; Source - Server
 
:; Source - Server
:; Data Size - 0x48 bytes
+
:; Data Size - 0x28 bytes
 
:; Requirements - None
 
:; Requirements - None
  
Line 15: Line 15:
 
! style="text-align: center; font-size: 14px;" | Description
 
! style="text-align: center; font-size: 14px;" | Description
 
|-
 
|-
| 0x00 || int32 || 1 Bytes || displayNameID || Sets a localized display name. If it is a custom display name (IE: Player Name), set to -1 (0xFFFFFFFF).
+
| 0x00 || int32 || 1 Byte || displayNameID || Sets a localized display name. If it is a custom display name (IE: Player Name), set to -1 (0xFFFFFFFF).
 
|-
 
|-
| 0x20 || string || 32 Bytes || customName || If the above is set to -1, this string will be the name.
+
| 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.
 
|}
 
|}
  
Line 37: Line 39:
 
! 0x20
 
! 0x20
 
| colspan="4" style="background:#CEE0F2" |
 
| colspan="4" style="background:#CEE0F2" |
| 00 || 00 || 00 || 00
+
| colspan="1" style="background:#5570A2" | '''actorSex'''
 +
| 0x7
 +
| 0x8
 
|}
 
|}
 
[[Category:Unfinished]]
 

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