diff options
Diffstat (limited to 'indra/lscript/lscript_execute.h')
-rw-r--r-- | indra/lscript/lscript_execute.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/lscript/lscript_execute.h b/indra/lscript/lscript_execute.h index f46256eb5e..271b53aae1 100644 --- a/indra/lscript/lscript_execute.h +++ b/indra/lscript/lscript_execute.h @@ -443,6 +443,12 @@ public: void setReset(BOOL b) {mReset = b;} BOOL getReset() const { return mReset; } + // Called when the script is scheduled to be run from newsim/LLScriptData + virtual void startRunning() = 0; + + // Called when the script is scheduled to be stopped from newsim/LLScriptData + virtual void stopRunning() = 0; + private: BOOL mReset; @@ -523,6 +529,12 @@ public: private: void recordBoundaryError( const LLUUID &id ); void setStateEventOpcoodeStartSafely( S32 state, LSCRIPTStateEventType event, const LLUUID &id ); + + // Called when the script is scheduled to be run from newsim/LLScriptData + virtual void startRunning(); + + // Called when the script is scheduled to be stopped from newsim/LLScriptData + virtual void stopRunning(); }; #endif |