KDXTransactionFields
From Hotline Wiki
Primitive types
| Type | Size | Description |
|---|---|---|
| pstr | varies | A string prefixed by 1 byte denoting its length |
| u8 | 1 | unsigned byte |
| u32be | 4 | 32 bit big endian unsigned integer |
| u64be | 8 | 64 bit big endian unsigned integer |
Download Info
| Offset | Type | Description |
|---|---|---|
| 0 | u32be | Data fork resume total size (high) |
| 4 | u32be | Data fork resume total size (low) |
| 8 | u32be | Mac resource fork total size (high) |
| 12 | u32be | Mac resource fork total size (low) |
| 16 | u64be | Created timestamp |
| 24 | u64be | Modified timestamp |
| 32 | u64be | timestamp? |
| 40 | u64be | timestamp? |
| 48 | ? | ? |
| 77 | u8 | File name length |
| 78 | u8 | Comment length |
| 79 | u8 | Type string length |
| 80 | pstr | File name |
| pstr | Comment | |
| pstr | Type string |
Download Ready
| Offset | Type | Description |
|---|---|---|
| 0 | u32be | Data fork bytes remaining (high) |
| 4 | u32be | Data fork bytes remaining (low) |
Download Request
| Offset | Type | Description |
|---|---|---|
| 0 | u32be | Data fork resume offset (high) |
| 4 | u32be | Data fork resume offset (low) |
| 8 | u32be | Mac resource fork offset (high) |
| 12 | u32be | Mac resource fork offset (low) |
| 16 | ? | flags and options? |
| 23 | u8 | Fork selector (0 = data only, 1 = data + Mac resource) |
| 24 | pstr | File path |