Difference between revisions of "Game Opcodes:Load Class Script for Actor"
From FFXIV Classic Wiki
(→Visual Layout) |
(→Visual Layout) |
||
Line 38: | Line 38: | ||
! 0x0 !! 0x1 !! 0x2 !! 0x3 !! 0x4 !! 0x5 !! 0x6 !! 0x7 !! 0x8 !! 0x9 !! 0xA !! 0xB !! 0xC !! 0xD !! 0xE !! 0xF | ! 0x0 !! 0x1 !! 0x2 !! 0x3 !! 0x4 !! 0x5 !! 0x6 !! 0x7 !! 0x8 !! 0x9 !! 0xA !! 0xB !! 0xC !! 0xD !! 0xE !! 0xF | ||
|- | |- | ||
− | ! | + | ! 0x000 |
| colspan="2" style="background:#8FA6E8" | '''unknown ''' | | colspan="2" style="background:#8FA6E8" | '''unknown ''' | ||
| colspan="2" style="background:#8FA6E8" | '''unknown ''' | | colspan="2" style="background:#8FA6E8" | '''unknown ''' | ||
| colspan="12" style="background:#f1cbff" | ''' ''' | | colspan="12" style="background:#f1cbff" | ''' ''' | ||
|- | |- | ||
− | ! | + | ! 0x010 |
| colspan="16" style="background:#f1cbff" | '''actorName''' | | colspan="16" style="background:#f1cbff" | '''actorName''' | ||
|- | |- | ||
− | ! | + | ! 0x020 |
| colspan="4" style="background:#f1cbff" | ''''' | | colspan="4" style="background:#f1cbff" | ''''' | ||
| colspan="12" style="background:#CEE0F2" | ''' ''' | | colspan="12" style="background:#CEE0F2" | ''' ''' | ||
|- | |- | ||
− | ! | + | ! 0x030 |
| colspan="16" style="background:#CEE0F2" | '''className''' | | colspan="16" style="background:#CEE0F2" | '''className''' | ||
|- | |- | ||
− | ! | + | ! 0x040 |
| colspan="4" style="background:#CEE0F2" | ''' ''' | | colspan="4" style="background:#CEE0F2" | ''' ''' | ||
| colspan="12" style="background:#8FA6E8" | ''' ''' | | colspan="12" style="background:#8FA6E8" | ''' ''' | ||
|- | |- | ||
− | ! | + | ! 0x050 |
| colspan="16" style="background:#8FA6E8" | ''' ''' | | colspan="16" style="background:#8FA6E8" | ''' ''' | ||
|- | |- | ||
− | ! | + | ! 0x060 |
− | | colspan="16" style="background:#8FA6E8" | ''' | + | | colspan="16" style="background:#8FA6E8" | ''' ''' |
|- | |- | ||
− | ! | + | ! 0x070 |
| colspan="16" style="background:#8FA6E8" | ''' ''' | | colspan="16" style="background:#8FA6E8" | ''' ''' | ||
|- | |- | ||
− | ! | + | ! 0x080 |
| colspan="16" style="background:#8FA6E8" | ''' ''' | | colspan="16" style="background:#8FA6E8" | ''' ''' | ||
|- | |- | ||
− | ! | + | ! 0x090 |
| colspan="16" style="background:#8FA6E8" | ''' ''' | | colspan="16" style="background:#8FA6E8" | ''' ''' | ||
|- | |- | ||
− | ! | + | ! 0x0A0 |
− | | colspan="16" style="background:#8FA6E8" | ''' ''' | + | | colspan="16" style="background:#8FA6E8" | ''' params ''' |
|- | |- | ||
− | ! | + | ! 0x0B0 |
| colspan="16" style="background:#8FA6E8" | ''' ''' | | colspan="16" style="background:#8FA6E8" | ''' ''' | ||
|- | |- | ||
− | ! | + | ! 0x0C0 |
| colspan="16" style="background:#8FA6E8" | ''' ''' | | colspan="16" style="background:#8FA6E8" | ''' ''' | ||
|- | |- | ||
− | ! | + | ! 0x0D0 |
| colspan="16" style="background:#8FA6E8" | ''' ''' | | colspan="16" style="background:#8FA6E8" | ''' ''' | ||
|- | |- | ||
− | ! | + | ! 0x0E0 |
| colspan="16" style="background:#8FA6E8" | ''' ''' | | colspan="16" style="background:#8FA6E8" | ''' ''' | ||
|- | |- | ||
− | ! | + | ! 0x0F0 |
| colspan="16" style="background:#8FA6E8" | ''' ''' | | colspan="16" style="background:#8FA6E8" | ''' ''' | ||
|- | |- |
Revision as of 14:30, 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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x000 | unknown | unknown | ||||||||||||||
0x010 | actorName | |||||||||||||||
0x020 | ||||||||||||||||
0x030 | className | |||||||||||||||
0x040 | ||||||||||||||||
0x050 | ||||||||||||||||
0x060 | ||||||||||||||||
0x070 | ||||||||||||||||
0x080 | ||||||||||||||||
0x090 | ||||||||||||||||
0x0A0 | params | |||||||||||||||
0x0B0 | ||||||||||||||||
0x0C0 | ||||||||||||||||
0x0D0 | ||||||||||||||||
0x0E0 | ||||||||||||||||
0x0F0 | ||||||||||||||||
0x100 | ||||||||||||||||
0x110 | ||||||||||||||||
0x120 |