18 enum class Type : uchar {
38 ::ll::TypedStorage<1, 1, bool> mSuccess;
39 ::ll::TypedStorage<8, 32, ::std::string> mErrorDescription;
40 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mErrorParameters;
63 ::ll::TypedStorage<1, 1, bool> mShouldSave;
64 ::ll::TypedStorage<1, 1, ::GameRule::Type> mType;
65 ::ll::TypedStorage<4, 4, ::GameRule::Value> mValue;
66 ::ll::TypedStorage<8, 32, ::std::string> mName;
67 ::ll::TypedStorage<1, 1, bool> mAllowUseInCommand;
68 ::ll::TypedStorage<1, 1, bool> mAllowUseInScripting;
69 ::ll::TypedStorage<1, 1, bool> mIsDefaultSet;
70 ::ll::TypedStorage<1, 1, bool> mRequiresCheats;
71 ::ll::TypedStorage<1, 1, bool> mCanBeModifiedByPlayer;
74 mValidateValueCallback;
84 MCAPI
GameRule(::std::string
const& name,
bool canBeModifiedByPlayer);
86 MCAPI ::GameRule& _setDefaultValue(
bool b);
88 MCAPI ::GameRule& _setDefaultValue(
int i);
90 MCAPI ::std::string getLowercaseName()
const;
94 MCAPI ::GameRule& operator=(
::GameRule const&);
117 MCAPI
void* $ctor(::std::string
const& name,
bool canBeModifiedByPlayer);