aboutsummaryrefslogtreecommitdiff
path: root/src/game/ScriptMgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/ScriptMgr.h')
-rw-r--r--src/game/ScriptMgr.h72
1 files changed, 36 insertions, 36 deletions
diff --git a/src/game/ScriptMgr.h b/src/game/ScriptMgr.h
index a9965b2766a..f1c56061a55 100644
--- a/src/game/ScriptMgr.h
+++ b/src/game/ScriptMgr.h
@@ -48,42 +48,42 @@ struct Script
std::string Name;
//Methods to be scripted
- void (*pOnLogin )(Player*);
- void (*pOnLogout )(Player*);
- void (*pOnPVPKill )(Player*, Player*);
- bool (*pOnSpellCast )(Unit*, Item*, GameObject*, uint32, SpellEntry const*);
- uint32 (*pOnGetXP )(Player*, uint32);
- int32 (*pOnGetMoney )(Player*, int32);
- bool (*pOnPlayerChat )(Player*, const char*);
- void (*pOnServerStartup )();
- void (*pOnServerShutdown )();
- void (*pOnAreaChange )(Player*, AreaTableEntry const*);
- bool (*pOnItemClick )(Player*, Item*);
- bool (*pOnItemOpen )(Player*, Item*);
- bool (*pOnGoClick )(Player*, GameObject*);
- void (*pOnCreatureKill )(Player*, Creature*);
- bool (*pGossipHello )(Player*, Creature*);
- bool (*pQuestAccept )(Player*, Creature*, Quest const* );
- bool (*pGossipSelect )(Player*, Creature*, uint32 , uint32 );
- bool (*pGossipSelectWithCode)(Player*, Creature*, uint32 , uint32 , const char* );
- bool (*pGOSelect )(Player*, GameObject*, uint32 , uint32 );
- bool (*pGOSelectWithCode )(Player*, GameObject*, uint32 , uint32 , const char* );
- bool (*pQuestSelect )(Player*, Creature*, Quest const* );
- bool (*pQuestComplete )(Player*, Creature*, Quest const* );
- uint32 (*pNPCDialogStatus )(Player*, Creature* );
- uint32 (*pGODialogStatus )(Player*, GameObject * _GO );
- bool (*pChooseReward )(Player*, Creature*, Quest const*, uint32 );
- bool (*pItemHello )(Player*, Item*, Quest const* );
- bool (*pGOHello )(Player*, GameObject* );
- bool (*pAreaTrigger )(Player*, AreaTriggerEntry const* );
- bool (*pItemQuestAccept )(Player*, Item *, Quest const* );
- bool (*pGOQuestAccept )(Player*, GameObject*, Quest const* );
- bool (*pGOChooseReward )(Player*, GameObject*, Quest const*, uint32 );
- bool (*pItemUse )(Player*, Item*, SpellCastTargets const& );
- bool (*pItemExpire )(Player*, ItemPrototype const *);
- bool (*pEffectDummyCreature )(Unit*, uint32, uint32, Creature* );
- bool (*pEffectDummyGameObj )(Unit*, uint32, uint32, GameObject* );
- bool (*pEffectDummyItem )(Unit*, uint32, uint32, Item* );
+ void (*pOnLogin)(Player*);
+ void (*pOnLogout)(Player*);
+ void (*pOnPVPKill)(Player*, Player*);
+ bool (*pOnSpellCast)(Unit*, Item*, GameObject*, uint32, SpellEntry const*);
+ uint32 (*pOnGetXP)(Player*, uint32);
+ int32 (*pOnGetMoney)(Player*, int32);
+ bool (*pOnPlayerChat)(Player*, const char*);
+ void (*pOnServerStartup)();
+ void (*pOnServerShutdown)();
+ void (*pOnAreaChange)(Player*, AreaTableEntry const*);
+ bool (*pOnItemClick)(Player*, Item*);
+ bool (*pOnItemOpen)(Player*, Item*);
+ bool (*pOnGoClick)(Player*, GameObject*);
+ void (*pOnCreatureKill)(Player*, Creature*);
+ bool (*pGossipHello)(Player*, Creature*);
+ bool (*pQuestAccept)(Player*, Creature*, Quest const*);
+ bool (*pGossipSelect)(Player*, Creature*, uint32 , uint32);
+ bool (*pGossipSelectWithCode)(Player*, Creature*, uint32 , uint32 , const char*);
+ bool (*pGOSelect)(Player*, GameObject*, uint32 , uint32);
+ bool (*pGOSelectWithCode)(Player*, GameObject*, uint32 , uint32 , const char*);
+ bool (*pQuestSelect)(Player*, Creature*, Quest const*);
+ bool (*pQuestComplete)(Player*, Creature*, Quest const*);
+ uint32 (*pNPCDialogStatus)(Player*, Creature*);
+ uint32 (*pGODialogStatus)(Player*, GameObject * _GO);
+ bool (*pChooseReward)(Player*, Creature*, Quest const*, uint32);
+ bool (*pItemHello)(Player*, Item*, Quest const*);
+ bool (*pGOHello)(Player*, GameObject*);
+ bool (*pAreaTrigger)(Player*, AreaTriggerEntry const*);
+ bool (*pItemQuestAccept)(Player*, Item *, Quest const*);
+ bool (*pGOQuestAccept)(Player*, GameObject*, Quest const*);
+ bool (*pGOChooseReward)(Player*, GameObject*, Quest const*, uint32);
+ bool (*pItemUse)(Player*, Item*, SpellCastTargets const&);
+ bool (*pItemExpire)(Player*, ItemPrototype const *);
+ bool (*pEffectDummyCreature)(Unit*, uint32, uint32, Creature*);
+ bool (*pEffectDummyGameObj)(Unit*, uint32, uint32, GameObject*);
+ bool (*pEffectDummyItem)(Unit*, uint32, uint32, Item*);
CreatureAI* (*GetAI)(Creature*);
InstanceData* (*GetInstanceData)(Map*);