Difference between revisions of "Game Opcodes:Load Class Script for Actor"
From FFXIV Classic Wiki
(Created page with "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 - Non...") |
(No difference)
|
Revision as of 14:28, 22 June 2019
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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | unknown | unknown | ||||||||||||||
0x10 | actorName | |||||||||||||||
0x20 | ||||||||||||||||
0x30 | className | |||||||||||||||
0x40 | ||||||||||||||||
0x50 | ||||||||||||||||
0x60 | params | |||||||||||||||
0x70 |