1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 21:49:55 +00:00
openmw-tes3mp/apps/openmw-mp/Settings.hpp

34 lines
506 B
C++
Raw Normal View History

//
// Created by koncord on 12.08.17.
//
#pragma once
#include "BaseMgr.hpp"
class LuaState;
class Player;
class GameSettings final: public BaseMgr
{
public:
static void Init(LuaState &lua);
public:
explicit GameSettings(Player *player);
void setConsoleAllowed(bool state);
void setDifficulty(int difficulty);
void setBedRestAllowed(bool state);
void setWildernessRestAllowed(bool state);
void setWaitAllowed(bool state);
private:
void processUpdate() final;
};