diff -r 2342df60789c -r de0e374ffa47 core/vm/sp_vm_basecontext.h --- a/core/vm/sp_vm_basecontext.h Tue Jan 02 02:59:49 2007 +0000 +++ b/core/vm/sp_vm_basecontext.h Thu Jan 04 02:08:27 2007 +0000 @@ -44,6 +44,10 @@ virtual int Execute(funcid_t funcid, cell_t *result); virtual void ThrowNativeErrorEx(int error, const char *msg, ...); virtual cell_t ThrowNativeError(const char *msg, ...); +#if defined SOURCEMOD_BUILD + virtual SourceMod::IdentityToken_t *GetIdentity(); + void SetIdentity(SourceMod::IdentityToken_t *token); +#endif public: //IPluginDebugInfo virtual int LookupFile(ucell_t addr, const char **filename); virtual int LookupFunction(ucell_t addr, const char **name); @@ -52,6 +56,9 @@ void SetErrorMessage(const char *msg, va_list ap); private: sp_context_t *ctx; +#if defined SOURCEMOD_BUILD + SourceMod::IdentityToken_t *m_pToken; +#endif char m_MsgCache[1024]; bool m_CustomMsg; bool m_InExec;