A few more symbols

This commit is contained in:
Bigjango13 2024-01-22 01:39:43 -05:00
parent 5c5538df2f
commit 4a5514f063
19 changed files with 102 additions and 4 deletions

View File

@ -23,6 +23,7 @@ set(SRC
src/network/ServerSideNetworkHandler.def src/network/ServerSideNetworkHandler.def
src/network/packet/LoginPacket.def src/network/packet/LoginPacket.def
src/network/packet/PlayerEquipmentPacket.def src/network/packet/PlayerEquipmentPacket.def
src/network/packet/SignUpdatePacket.def
src/network/packet/Packet.def src/network/packet/Packet.def
src/network/packet/StartGamePacket.def src/network/packet/StartGamePacket.def
src/network/packet/ChatPacket.def src/network/packet/ChatPacket.def
@ -59,6 +60,7 @@ set(SRC
src/level/ExternalFileLevelStorageSource.def src/level/ExternalFileLevelStorageSource.def
src/level/Biome.def src/level/Biome.def
src/level/ChunkSource.def src/level/ChunkSource.def
src/level/ChunkCache.def
src/level/Level.def src/level/Level.def
src/level/LevelRenderer.def src/level/LevelRenderer.def
src/level/LevelStorageSource.def src/level/LevelStorageSource.def
@ -72,6 +74,8 @@ set(SRC
src/item/AuxDataTileItem.def src/item/AuxDataTileItem.def
src/item/ItemInstance.def src/item/ItemInstance.def
src/item/Item.def src/item/Item.def
src/item/ArmorMaterial.def
src/item/ArmorItem.def
src/item/TileItem.def src/item/TileItem.def
src/api/OffsetPosTranslator.def src/api/OffsetPosTranslator.def
src/api/CommandServer.def src/api/CommandServer.def
@ -96,6 +100,9 @@ set(SRC
src/gui/components/GuiComponent.def src/gui/components/GuiComponent.def
src/gui/components/Button.def src/gui/components/Button.def
src/gui/components/Gui.def src/gui/components/Gui.def
src/gui/components/IntRectangle.def
src/gui/components/RectangleArea.def
src/gui/components/ScrollingPane.def
src/app-platform/AppPlatform.def src/app-platform/AppPlatform.def
src/app-platform/AppPlatform_linux.def src/app-platform/AppPlatform_linux.def
src/app-platform/AppPlatform_readAssetFile_return_value.def src/app-platform/AppPlatform_readAssetFile_return_value.def
@ -124,6 +131,7 @@ set(SRC
src/misc/SoundEngine.def src/misc/SoundEngine.def
src/misc/Common.def src/misc/Common.def
src/misc/Config.def src/misc/Config.def
src/input/IMoveInput.def
src/input/IBuildInput.def src/input/IBuildInput.def
src/input/MouseBuildInput.def src/input/MouseBuildInput.def
src/input/Mouse.def src/input/Mouse.def

View File

@ -1,3 +1,4 @@
method std::string parse(ConnectedClient *client, std::string *command) = 0x6aa8c; method std::string parse(ConnectedClient *client, std::string *command) = 0x6aa8c;
property Minecraft *minecraft = 0x18; property Minecraft *minecraft = 0x18;
property OffsetPosTranslator pos_translator = 0x1c;

View File

@ -1 +1,5 @@
method void from(int *x, int *y, int *z) = 0x27c98; method void from(int *x, int *y, int *z) = 0x27c98;
property float x = 0x4;
property float y = 0x8;
property float z = 0xc;

View File

@ -10,6 +10,9 @@ property int id = 0x1c;
property float old_x = 0x28; property float old_x = 0x28;
property float old_y = 0x2c; property float old_y = 0x2c;
property float old_z = 0x30; property float old_z = 0x30;
property float vel_x = 0x34;
property float vel_y = 0x38;
property float vel_z = 0x3c;
property float yaw = 0x40; property float yaw = 0x40;
property float pitch = 0x44; property float pitch = 0x44;
property float old_yaw = 0x48; property float old_yaw = 0x48;

View File

@ -2,4 +2,5 @@ extends Player;
vtable 0x106230; vtable 0x106230;
property IMoveInput *input = 0xc88;
property Minecraft *minecraft = 0xc90; property Minecraft *minecraft = 0xc90;

View File

@ -0,0 +1,6 @@
size 0x10;
property int x = 0x0;
property int y = 0x4;
property int x_offset = 0x8;
property int y_offset = 0xc;

View File

@ -0,0 +1,8 @@
size 0x18;
property float x1 = 0x8;
property float x2 = 0xc;
property float y1 = 0x10;
property float y2 = 0x14;
method bool isInside(float x, float y) = 0x21aa4;

View File

@ -0,0 +1,16 @@
extends GuiComponent;
constructor (int param_2, IntRectangle *bb, IntRectangle *itembb, int columns, int item_count, float scale, IntRectangle *itembb2) = 0x22b44;
method void setContentOffset(float x, float y) = 0x220a0;
method void render(float param_1, float param_2, float alpha) = 0x22ee4;
method void adjustContentSize() = 0x21aa4;
method bool queryHoldTime(int *item_id, int *pressed_time) = 0x22ab4;
property float scale = 0x2c;
property RectangleArea area = 0x60;
property Vec3 content_offset = 0xe4;
property float max_y = 0x130;
property float size_y = 0x170;
property float adjust_content_size_y = 0x1ec;

View File

@ -0,0 +1 @@
property bool is_sneaking = 0xe;

View File

@ -0,0 +1,5 @@
extends Item;
size 0x34;
constructor (int id, ArmorMaterial *material, int param_3, int slot) = 0x9362c;

View File

@ -0,0 +1,13 @@
size 0x14;
property int health_for_slot_multiplier = 0x0;
property int feet_protection = 0x4;
property int leg_protection = 0x8;
property int body_protection = 0xc;
property int head_protection = 0x10;
static-property ArmorMaterial cloth = 0x17a780;
static-property ArmorMaterial chain = 0x17a794;
static-property ArmorMaterial iron = 0x17a7a8;
static-property ArmorMaterial gold = 0x17a7bc;
static-property ArmorMaterial diamond = 0x17a7d0;

View File

@ -0,0 +1,3 @@
extends ChunkSource;
vtable 0x10fbc0;

View File

@ -1 +1,3 @@
vtable 0x10fb88;
virtual-method void postProcess(ChunkSource *chunk_source, int chunk_x, int chunk_y) = 0x14; virtual-method void postProcess(ChunkSource *chunk_source, int chunk_x, int chunk_y) = 0x14;

View File

@ -9,5 +9,9 @@ method void addParticle(std::string *particle, float x, float y, float z, float
method Entity *getEntity(int id) = 0xa45a4; method Entity *getEntity(int id) = 0xa45a4;
method bool addEntity(Entity *entity) = 0xa7cbc; method bool addEntity(Entity *entity) = 0xa7cbc;
property std::vector<Player *> players = 0x60; virtual-method void tick() = 0x28;
virtual-method void updateSleepingPlayerList() = 0x2c;
virtual-method ChunkCache *createChunkSource() = 0x30;
property std::vector<Entity *> entities = 0x20; property std::vector<Entity *> entities = 0x20;
property std::vector<Player *> players = 0x60;

View File

@ -1,3 +1,8 @@
virtual-method int getTile(int x, int y, int z) = 0x8; virtual-method int getTile(int x, int y, int z) = 0x8;
virtual-method int isEmptyTile(int x, int y, int z) = 0xc;
virtual-method int getBrightness(int x, int y, int z) = 0x10;
virtual-method int getData(int x, int y, int z) = 0x14;
virtual-method Material *getMaterial(int x, int y, int z) = 0x18; virtual-method Material *getMaterial(int x, int y, int z) = 0x18;
virtual-method Biome *getBiome(int x, int z) = 0x24; virtual-method bool isSolidRenderTile(int x, int y, int z) = 0x1c;
virtual-method bool isSolidBlockingTile(int x, int y, int z) = 0x20;
virtual-method Biome *getBiome(int x, int z) = 0x24;

View File

@ -1,13 +1,20 @@
extends Container; extends Container;
method void addItem(ItemInstance *item_instance) = 0x92aa0; method void addItem(ItemInstance *item_instance) = 0x92aa0;
virtual-method bool add(ItemInstance *item_instance) = 0x30;
method void clearSlot(int slot) = 0x922f8; method void clearSlot(int slot) = 0x922f8;
method void release(int slot) = 0x92058; method void release(int slot) = 0x92058;
method void compressLinkedSlotList(int slot) = 0x92280; method void compressLinkedSlotList(int slot) = 0x92280;
method ItemInstance *getLinked(int slot) = 0x92230; method ItemInstance *getLinked(int slot) = 0x92230;
method bool linkEmptySlot(int slot) = 0x92590;
method int getFreeSlot() = 0x91ffc;
method int getSlot(int id) = 0x91ce0;
method int linkSlot(int linked_slot, int unlinked_slot, bool push_aside) = 0x92188;
virtual-method ItemInstance *getItem(int pos) = 0x8; virtual-method ItemInstance *getItem(int pos) = 0x8;
virtual-method void setItem(int pos, ItemInstance *item) = 0xc;
virtual-method bool add(ItemInstance *item_instance) = 0x30;
property int *linked_slots = 0xc; property int *linked_slots = 0xc;
property int linked_slots_length = 0x14; property int linked_slots_length = 0x14;
property std::vector<ItemInstance *> items = 0x18;
property bool is_creative = 0x24; property bool is_creative = 0x24;

View File

@ -1,6 +1,9 @@
extends FillingContainer; extends FillingContainer;
method void selectSlot(int slot) = 0x8d13c; method void selectSlot(int slot) = 0x8d13c;
// It's just FillingContainer_getLinked but with selectedSlot as slot
method ItemInstance *getSelected() = 0x8d134; method ItemInstance *getSelected() = 0x8d134;
// It's just FillingContainer_linkSlot with selectedSlot as linked_slot
method bool moveToSelectedSlot(int unlinked_slot, bool push_aside) = 0x8d148;
property int selectedSlot = 0x28; property int selectedSlot = 0x28;

View File

@ -1,2 +1,3 @@
virtual-method void onDisconnect(RakNet_RakNetGUID *guid) = 0x18; virtual-method void onDisconnect(RakNet_RakNetGUID *guid) = 0x18;
virtual-method void handle_SignUpdatePacket(RakNet_RakNetGUID *guid, SignUpdatePacket *packet) = 0xcc;
virtual-method void handle_ChatPacket(RakNet_RakNetGUID *rak_net_guid, uchar *packet) = 0xc8; virtual-method void handle_ChatPacket(RakNet_RakNetGUID *rak_net_guid, uchar *packet) = 0xc8;

View File

@ -0,0 +1,7 @@
extends Packet;
property int x = 0xc;
property int y = 0x10;
property int z = 0x14;
// std::string lines[4]
property std::string *lines = 0x18;