From f010e51c3a6c890db527275915556c8593008f81 Mon Sep 17 00:00:00 2001 From: Bigjango13 Date: Mon, 8 Apr 2024 15:54:20 -0700 Subject: [PATCH] Add ChunkSource vtable --- symbols/src/level/ChunkSource.def | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/symbols/src/level/ChunkSource.def b/symbols/src/level/ChunkSource.def index 8d54ec35..1c8360d9 100644 --- a/symbols/src/level/ChunkSource.def +++ b/symbols/src/level/ChunkSource.def @@ -1,4 +1,12 @@ vtable 0x10fb88; -virtual-method LevelChunk *getChunk(int chunk_x, int chunk_y) = 0xc; +virtual-method bool hasChunk(int chunk_x, int chunk_z) = 0x8; +virtual-method LevelChunk *getChunk(int chunk_x, int chunk_z) = 0xc; +virtual-method LevelChunk *create(int chunk_x, int chunk_z) = 0x10; virtual-method void postProcess(ChunkSource *chunk_source, int chunk_x, int chunk_y) = 0x14; +virtual-method bool tick() = 0x18; +virtual-method bool shouldSave() = 0x1c; +// If unforced is false, chunk->shouldSave will be ignored +virtual-method void saveAll(bool unforced) = 0x20; +//virtual-method std::vector getMobsAt(?? *?, int x, int y, int z) = 0x24; +virtual-method std::string gatherStats() = 0x28;