Datasheet: Difference between revisions
→Header
imported>Leoetlino (→Header) |
imported>Leoetlino (→Header) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 17: | Line 17: | ||
|0x0 | |0x0 | ||
|char[4] | |char[4] | ||
|Magic (<code> | |Magic (<code>gsht</code>) | ||
After pointer relocation, the magic is set to <code>GSHT</code>. | |||
|- | |- | ||
|0x4 | |0x4 | ||
Line 37: | Line 39: | ||
|0xE | |0xE | ||
|u8 | |u8 | ||
| | |Alignment (usually 4 or 8) | ||
|- | |- | ||
|0x10 | |0x10 | ||
|const char* | |const char* | ||
|Name | |Name (must be non-null) | ||
|- | |- | ||
|0x18 | |0x18 | ||
Line 68: | Line 70: | ||
=== Field === | === Field === | ||
<syntaxhighlight lang="c++"> | <syntaxhighlight lang="c++"> | ||
enum class Type : | enum class Type : u8 { | ||
Struct = 0, | Struct = 0, | ||
Bool = 1, | Bool = 1, | ||
Line 96: | Line 98: | ||
|0x8 | |0x8 | ||
|const char* | |const char* | ||
|Type name | |Type name (must be non-null) | ||
|- | |- | ||
|0x10 | |0x10 |