fixed a bug where this parameter was not marked VDECODE_FLAG_BYREF for SDKCall()
1 #ifndef _INCLUDE_SOURCEMOD_CHAT_TRIGGERS_H_
2 #define _INCLUDE_SOURCEMOD_CHAT_TRIGGERS_H_
4 #include "sm_globals.h"
5 #include "sourcemm_api.h"
7 #define SM_REPLY_CONSOLE 0
8 #define SM_REPLY_CHAT 1
10 class ChatTriggers : public SMGlobalClass
15 public: //SMGlobalClass
16 void OnSourceModGameInitialized();
17 void OnSourceModShutdown();
18 ConfigResult OnSourceModConfigChanged(const char *key,
24 void OnSayCommand_Pre();
25 void OnSayCommand_Post();
27 unsigned int GetReplyTo();
28 unsigned int SetReplyTo(unsigned int reply);
30 bool ProcessTrigger(edict_t *pEdict, const char *args, bool is_quoted);
32 ConCommand *m_pSayCmd;
33 ConCommand *m_pSayTeamCmd;
35 size_t m_PubTriggerSize;
37 size_t m_PrivTriggerSize;
38 bool m_bWillProcessInPost;
39 unsigned int m_ReplyTo;
42 extern ChatTriggers g_ChatTriggers;
44 #endif //_INCLUDE_SOURCEMOD_CHAT_TRIGGERS_H_