diff options
| author | maximius <none@none> | 2009-09-13 00:01:35 -0700 |
|---|---|---|
| committer | maximius <none@none> | 2009-09-13 00:01:35 -0700 |
| commit | eef5abe6e1931eeae91d3a1ed68a3bf44237dea2 (patch) | |
| tree | b4d2edf33613bfefe67bd534b0e3fe9622617ff7 /src/game/ScriptCalls.h | |
| parent | c61bb37a0e80aae1dc24618782647c43d2feb174 (diff) | |
*Event Hooks (OnLogin, OnLogout, OnPVPKill) by Hawthorne
*Boss Emote Command for DB Scripts by XTElite1
--HG--
branch : trunk
Diffstat (limited to 'src/game/ScriptCalls.h')
| -rw-r--r-- | src/game/ScriptCalls.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/ScriptCalls.h b/src/game/ScriptCalls.h index 0eae69cb505..bb6ecee3b89 100644 --- a/src/game/ScriptCalls.h +++ b/src/game/ScriptCalls.h @@ -37,6 +37,11 @@ class InstanceData; bool LoadScriptingModule(char const* libName = ""); void UnloadScriptingModule(); +//On Event Handlers +typedef void(TRINITY_IMPORT * scriptCallOnLogin) (Player *pPlayer); +typedef void(TRINITY_IMPORT * scriptCallOnLogout) (Player *pPlayer); +typedef void(TRINITY_IMPORT * scriptCallOnPVPKill) (Player *killer, Player *killed); + typedef void(TRINITY_IMPORT * scriptCallScriptsInit) (char const*); typedef void(TRINITY_IMPORT * scriptCallScriptsFree) (); typedef char const* (TRINITY_IMPORT * scriptCallScriptsVersion) (); @@ -72,6 +77,10 @@ typedef struct scriptCallScriptsFree ScriptsFree; scriptCallScriptsVersion ScriptsVersion; + scriptCallOnLogin OnLogin; + scriptCallOnLogout OnLogout; + scriptCallOnPVPKill OnPVPKill; + scriptCallGossipHello GossipHello; scriptCallGOChooseReward GOChooseReward; scriptCallQuestAccept QuestAccept; |
