26 lines
647 B
C++
26 lines
647 B
C++
#pragma once
|
|
#include <cstdint>
|
|
#include <cstring>
|
|
|
|
class LevelSettings {
|
|
public:
|
|
static void (*LevelSettings_construct)(LevelSettings*);
|
|
|
|
int seed; // 4
|
|
int gametype; // 8
|
|
int difficulty; // c
|
|
int forceGameType; // 10
|
|
int generator; // 14
|
|
bool hasAchievementsDisabled; // 18
|
|
int dimension; // 1c
|
|
int time; // 20
|
|
bool edu; // 21
|
|
float rainLevel, lightningLevel; // 28, 2c
|
|
bool mpGame, lanBroadcast, xblBroadcast, commandsEnabled, texturepacksRequired, overrideSavedSettings; // 2d, 2e, 2f, 30, 31, 32~34
|
|
char filler[0x300];
|
|
|
|
LevelSettings() {
|
|
LevelSettings_construct(this);
|
|
}
|
|
};
|