1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 20:16:10 +08:00

Updated more of IScriptVM.

This commit is contained in:
Nicholas Hastings
2014-01-07 22:30:25 -05:00
parent d14ed862a3
commit bda8c1d418

View File

@ -116,6 +116,8 @@
#endif #endif
class CUtlBuffer; class CUtlBuffer;
class CCommand;
struct CCommandContext;
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// //
@ -682,6 +684,8 @@ enum ScriptStatus_t
SCRIPT_RUNNING, SCRIPT_RUNNING,
}; };
class CSquirrelMetamethodDelegateImpl;
class IScriptVM class IScriptVM
{ {
public: public:
@ -816,6 +820,19 @@ public:
virtual bool RaiseException( const char *pszExceptionText ) = 0; virtual bool RaiseException( const char *pszExceptionText ) = 0;
virtual HSCRIPT GetRootTable() = 0;
virtual HSCRIPT CopyHandle( HSCRIPT hScope ) = 0;
virtual int GetIdentity( HSCRIPT hScope ) = 0;
class ISquirrelMetamethodDelegate;
virtual void *MakeSquirrelMetamethod_Get( HSCRIPT&, const char*, ISquirrelMetamethodDelegate *, bool ) = 0;
virtual void DestroySquirrelMetamethod_Get( CSquirrelMetamethodDelegateImpl * ) = 0;
virtual int GetKeyValue2( HSCRIPT hScope, int iterator, ScriptVariant_t *pKey, ScriptVariant_t *pValue ) = 0;
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
// Call API // Call API
// //