WIP checkpoint: Implement chunk streaming system in GDScript
This commit is contained in:
@@ -161,13 +161,13 @@ class ChunkPayload:
|
||||
|
||||
# ─── Binary Decoding ────────────────────────────────────────────────────────
|
||||
|
||||
static const MAGIC: PackedByteArray = PackedByteArray([0x41, 0x47, 0x50, 0x43]) # "AGPC"
|
||||
static const HEADER_SIZE: int = 48
|
||||
static const SECTION_META: int = 0x01
|
||||
static const SECTION_TILE: int = 0x02
|
||||
static const SECTION_OBJECT: int = 0x03
|
||||
static const SECTION_FLAGS: int = 0x04
|
||||
static const SECTION_REVISION_META: int = 0x05
|
||||
const MAGIC: PackedByteArray = PackedByteArray([0x41, 0x47, 0x50, 0x43]) # "AGPC"
|
||||
const HEADER_SIZE: int = 48
|
||||
const SECTION_META: int = 0x01
|
||||
const SECTION_TILE: int = 0x02
|
||||
const SECTION_OBJECT: int = 0x03
|
||||
const SECTION_FLAGS: int = 0x04
|
||||
const SECTION_REVISION_META: int = 0x05
|
||||
|
||||
|
||||
## Decode a binary chunk payload into a ChunkPayload.
|
||||
|
||||
Reference in New Issue
Block a user