- 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>
13 lines
194 B
Plaintext
13 lines
194 B
Plaintext
type scriptstring ui("Script String")
|
|
{
|
|
const PTR_INLINE = -1;
|
|
|
|
i32 ptr ui("Ptr");
|
|
|
|
// Inline data
|
|
if (ptr == PTR_INLINE) {
|
|
value = cstring() ui("Value");
|
|
set_name(value);
|
|
}
|
|
}
|