*Event Hooks (OnLogin, OnLogout, OnPVPKill) by Hawthorne
*Boss Emote Command for DB Scripts by XTElite1 --HG-- branch : trunk
This commit is contained in:
1 parent
c61bb37a0e
commit
eef5abe6e1
14 files changed
+105
-4
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user