- Volition VPP: Unified BE/LE types using inheritance pattern - THQA PAK: Child types now inherit byte order from parent - Various XScript definition updates and fixes Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
17 lines
330 B
Plaintext
17 lines
330 B
Plaintext
type itemkeyhandler ui("Item Key Handler")
|
|
{
|
|
const PTR_INLINE = -1;
|
|
|
|
i32 key ui("Key");
|
|
i32 action_ptr ui("Action Ptr");
|
|
i32 next_ptr ui("Next Ptr");
|
|
|
|
// Inline data
|
|
if (action_ptr == PTR_INLINE) {
|
|
action = cstring() ui("Action");
|
|
}
|
|
if (next_ptr == PTR_INLINE) {
|
|
next = parse_here("itemkeyhandler");
|
|
}
|
|
}
|