mcpelauncher-1.1/mcpe/ResourcePackStack.h
2026-01-19 20:18:08 +02:00

24 lines
555 B
C++

#pragma once
#include <cstring>
class ResourcePack;
class ResourcePackRepository;
struct ResourcePackStack {
static void** vtable_sym;
static void (*ResourcePackStack_add)(ResourcePackStack*, ResourcePack*, ResourcePackRepository const&, bool);
void** vtable;
char filler[0x30];
ResourcePackStack() {
vtable = vtable_sym + 2;
memset(filler, 0, sizeof(filler));
}
void add(ResourcePack* resPack, ResourcePackRepository const& repo, bool b) {
ResourcePackStack_add(this, resPack, repo, b);
}
};