diff options
Diffstat (limited to 'src/Root.h')
-rw-r--r-- | src/Root.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Root.h b/src/Root.h index e055950c0..696b31ce3 100644 --- a/src/Root.h +++ b/src/Root.h @@ -62,10 +62,10 @@ public: bool Run(cSettingsRepositoryInterface & a_OverridesRepo); /** Interrupts the server and stops it, as if "/stop" typed in the console. */ - void Stop(); + static void Stop(); /** Interrupts the server and restarts it, as if "/restart" was typed in the console. */ - void Restart(); + static void Restart(); // tolua_begin cServer * GetServer(void) { return m_Server; } @@ -208,12 +208,12 @@ private: void HandleInput(); /** Performs run state transition, enforcing guarantees about state transitions. */ - void TransitionNextState(NextState a_NextState); + static void TransitionNextState(NextState a_NextState); cWorld * m_pDefaultWorld; WorldMap m_WorldsByName; - cEvent m_StopEvent; + static cEvent s_StopEvent; cServer * m_Server; cMonsterConfig * m_MonsterConfig; @@ -249,5 +249,5 @@ private: static cRoot * s_Root; /** Indicates the next action of cRoot, whether to run, stop or restart. */ - std::atomic<NextState> m_NextState; + static std::atomic<NextState> s_NextState; }; // tolua_export |