mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
moved pause/unpause to .cpp file
This commit is contained in:
parent
f51ca46646
commit
c2784feb71
@ -85,8 +85,8 @@ public:
|
|||||||
inline bool isPaused() const { return ( (status == ps_paused) || (status == ps_stopped)); }
|
inline bool isPaused() const { return ( (status == ps_paused) || (status == ps_stopped)); }
|
||||||
inline bool isFunctionPaused( int id ) const { return (paused_fun & (1<<id)) ? true : false; }
|
inline bool isFunctionPaused( int id ) const { return (paused_fun & (1<<id)) ? true : false; }
|
||||||
inline bool isExecutable(int id) const { return (isValid() && !isPaused() && !isFunctionPaused(id)); }
|
inline bool isExecutable(int id) const { return (isValid() && !isPaused() && !isFunctionPaused(id)); }
|
||||||
inline void pausePlugin( ) { if ( isValid() ) setStatus(ps_paused); }
|
void pausePlugin();
|
||||||
inline void unpausePlugin( ) { if ( isValid() ) setStatus(ps_running); }
|
void unpausePlugin();
|
||||||
void pauseFunction( int id );
|
void pauseFunction( int id );
|
||||||
void unpauseFunction( int id );
|
void unpauseFunction( int id );
|
||||||
void setStatus( int a );
|
void setStatus( int a );
|
||||||
|
Loading…
Reference in New Issue
Block a user