mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 05:45: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 isFunctionPaused( int id ) const { return (paused_fun & (1<<id)) ? true : false; }
|
||||
inline bool isExecutable(int id) const { return (isValid() && !isPaused() && !isFunctionPaused(id)); }
|
||||
inline void pausePlugin( ) { if ( isValid() ) setStatus(ps_paused); }
|
||||
inline void unpausePlugin( ) { if ( isValid() ) setStatus(ps_running); }
|
||||
void pausePlugin();
|
||||
void unpausePlugin();
|
||||
void pauseFunction( int id );
|
||||
void unpauseFunction( int id );
|
||||
void setStatus( int a );
|
||||
|
Loading…
Reference in New Issue
Block a user