64 lines
1.2 KiB
C++
64 lines
1.2 KiB
C++
#pragma once
|
|
|
|
#include <chrono>
|
|
#include <vector>
|
|
#include <string>
|
|
#include <functional>
|
|
|
|
#include "string.h"
|
|
|
|
class IMinecraftApp;
|
|
class Minecraft;
|
|
class Whitelist;
|
|
class OpsList;
|
|
class LevelSettings;
|
|
class FilePathManager;
|
|
|
|
namespace minecraft { namespace api { class Api; } }
|
|
namespace mce { class UUID; }
|
|
|
|
class MinecraftEventing;
|
|
class ResourcePackRepository;
|
|
class ResourcePackManager;
|
|
|
|
class ServerInstance {
|
|
|
|
public:
|
|
char filler[0x300];
|
|
|
|
static void (*ServerInstance_construct)(
|
|
ServerInstance*,
|
|
IMinecraftApp&,
|
|
Whitelist const&,
|
|
OpsList const&,
|
|
FilePathManager*,
|
|
std::chrono::duration<long long>,
|
|
mcpe::string,
|
|
mcpe::string,
|
|
mcpe::string,
|
|
mcpe::string,
|
|
mcpe::string,
|
|
LevelSettings*,
|
|
minecraft::api::Api&,
|
|
int,
|
|
bool,
|
|
int,
|
|
int,
|
|
int,
|
|
bool,
|
|
std::vector<mcpe::string> const&,
|
|
mcpe::string,
|
|
bool,
|
|
mce::UUID const&,
|
|
MinecraftEventing&,
|
|
ResourcePackRepository&,
|
|
ResourcePackManager&,
|
|
ResourcePackManager*
|
|
);
|
|
|
|
static void (*ServerInstance_update)(ServerInstance*);
|
|
|
|
void update() {
|
|
ServerInstance_update(this);
|
|
}
|
|
}; |