24 lines
555 B
C++
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);
|
|
}
|
|
}; |