Game Opcodes:Load Class Script for Actor

From FFXIV Classic Wiki
Revision as of 14:30, 22 June 2019 by Ioncannon (talk | contribs) (Visual Layout)
Jump to: navigation, search

Binds a client script to an actor and instantiates the actor in the client's lua engine.

Opcode - 0x0CC
Source - Server
Data Size - 0x128 bytes
Requirements - None

Data

Offset Data Type Length Variable Description
0x00 uint32 2 Bytes unknown
0x02 uint32 2 Bytes unknown
0x08 string 32 Bytes actorName The name of the actor object; used mostly in debug tools within the lua engine.
0x24 string 32 Bytes className The name of the class that is being bound.
0x44 luaParams 196 Bytes params Constructor params sent during instantiation.

Notes

  • The first constructor param is always the classpath to the lua script file.

Visual Layout

Game Opcode layout
0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xA 0xB 0xC 0xD 0xE 0xF
0x000 unknown unknown
0x010 actorName
0x020
0x030 className
0x040
0x050
0x060
0x070
0x080
0x090
0x0A0 params
0x0B0
0x0C0
0x0D0
0x0E0
0x0F0
0x100
0x110
0x120