aboutsummaryrefslogtreecommitdiff
path: root/src/game/ScriptCalls.cpp
diff options
context:
space:
mode:
authormaximius <none@none>2009-09-13 00:01:35 -0700
committermaximius <none@none>2009-09-13 00:01:35 -0700
commiteef5abe6e1931eeae91d3a1ed68a3bf44237dea2 (patch)
treeb4d2edf33613bfefe67bd534b0e3fe9622617ff7 /src/game/ScriptCalls.cpp
parentc61bb37a0e80aae1dc24618782647c43d2feb174 (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.cpp')
-rw-r--r--src/game/ScriptCalls.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/ScriptCalls.cpp b/src/game/ScriptCalls.cpp
index b8870c2a1dd..8a075448daf 100644
--- a/src/game/ScriptCalls.cpp
+++ b/src/game/ScriptCalls.cpp
@@ -59,6 +59,9 @@ bool LoadScriptingModule(char const* libName)
}
if( !(testScript->ScriptsInit =(scriptCallScriptsInit )TRINITY_GET_PROC_ADDR(testScript->hScriptsLib,"ScriptsInit" ))
+ ||!(testScript->OnLogin =(scriptCallOnLogin )TRINITY_GET_PROC_ADDR(testScript->hScriptsLib,"OnLogin" ))
+ ||!(testScript->OnLogout =(scriptCallOnLogout )TRINITY_GET_PROC_ADDR(testScript->hScriptsLib,"OnLogout" ))
+ ||!(testScript->OnPVPKill =(scriptCallOnPVPKill )TRINITY_GET_PROC_ADDR(testScript->hScriptsLib,"OnPVPKill" ))
||!(testScript->ScriptsFree =(scriptCallScriptsFree )TRINITY_GET_PROC_ADDR(testScript->hScriptsLib,"ScriptsFree" ))
||!(testScript->ScriptsVersion =(scriptCallScriptsVersion )TRINITY_GET_PROC_ADDR(testScript->hScriptsLib,"ScriptsVersion" ))
||!(testScript->GossipHello =(scriptCallGossipHello )TRINITY_GET_PROC_ADDR(testScript->hScriptsLib,"GossipHello" ))