mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Fix cmangos tbc compile
This commit is contained in:
@@ -62,7 +62,7 @@ bool Eluna::OnQuestReward(Player* pPlayer, Creature* pCreature, Quest const* pQu
|
|||||||
return CallAllFunctionsBool(CreatureEventBindings, CreatureUniqueBindings, entry_key, unique_key);
|
return CallAllFunctionsBool(CreatureEventBindings, CreatureUniqueBindings, entry_key, unique_key);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32 Eluna::GetDialogStatus(Player* pPlayer, Creature* pCreature)
|
uint32 Eluna::GetDialogStatus(const Player* pPlayer, const Creature* pCreature)
|
||||||
{
|
{
|
||||||
START_HOOK_WITH_RETVAL(CREATURE_EVENT_ON_DIALOG_STATUS, pCreature, DIALOG_STATUS_SCRIPTED_NO_STATUS);
|
START_HOOK_WITH_RETVAL(CREATURE_EVENT_ON_DIALOG_STATUS, pCreature, DIALOG_STATUS_SCRIPTED_NO_STATUS);
|
||||||
Push(pPlayer);
|
Push(pPlayer);
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ bool Eluna::OnQuestReward(Player* pPlayer, GameObject* pGameObject, Quest const*
|
|||||||
return CallAllFunctionsBool(GameObjectEventBindings, key);
|
return CallAllFunctionsBool(GameObjectEventBindings, key);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32 Eluna::GetDialogStatus(Player* pPlayer, GameObject* pGameObject)
|
uint32 Eluna::GetDialogStatus(const Player* pPlayer, const GameObject* pGameObject)
|
||||||
{
|
{
|
||||||
START_HOOK_WITH_RETVAL(GAMEOBJECT_EVENT_ON_DIALOG_STATUS, pGameObject->GetEntry(), false);
|
START_HOOK_WITH_RETVAL(GAMEOBJECT_EVENT_ON_DIALOG_STATUS, pGameObject->GetEntry(), false);
|
||||||
Push(pPlayer);
|
Push(pPlayer);
|
||||||
|
|||||||
@@ -350,7 +350,7 @@ public:
|
|||||||
bool OnGossipSelectCode(Player* pPlayer, Creature* pCreature, uint32 sender, uint32 action, const char* code);
|
bool OnGossipSelectCode(Player* pPlayer, Creature* pCreature, uint32 sender, uint32 action, const char* code);
|
||||||
bool OnQuestAccept(Player* pPlayer, Creature* pCreature, Quest const* pQuest);
|
bool OnQuestAccept(Player* pPlayer, Creature* pCreature, Quest const* pQuest);
|
||||||
bool OnQuestReward(Player* pPlayer, Creature* pCreature, Quest const* pQuest, uint32 opt);
|
bool OnQuestReward(Player* pPlayer, Creature* pCreature, Quest const* pQuest, uint32 opt);
|
||||||
uint32 GetDialogStatus(Player* pPlayer, Creature* pCreature);
|
uint32 GetDialogStatus(const Player* pPlayer, const Creature* pCreature);
|
||||||
|
|
||||||
bool OnSummoned(Creature* creature, Unit* summoner);
|
bool OnSummoned(Creature* creature, Unit* summoner);
|
||||||
bool UpdateAI(Creature* me, const uint32 diff);
|
bool UpdateAI(Creature* me, const uint32 diff);
|
||||||
@@ -384,7 +384,7 @@ public:
|
|||||||
bool OnGossipSelectCode(Player* pPlayer, GameObject* pGameObject, uint32 sender, uint32 action, const char* code);
|
bool OnGossipSelectCode(Player* pPlayer, GameObject* pGameObject, uint32 sender, uint32 action, const char* code);
|
||||||
bool OnQuestAccept(Player* pPlayer, GameObject* pGameObject, Quest const* pQuest);
|
bool OnQuestAccept(Player* pPlayer, GameObject* pGameObject, Quest const* pQuest);
|
||||||
bool OnQuestReward(Player* pPlayer, GameObject* pGameObject, Quest const* pQuest, uint32 opt);
|
bool OnQuestReward(Player* pPlayer, GameObject* pGameObject, Quest const* pQuest, uint32 opt);
|
||||||
uint32 GetDialogStatus(Player* pPlayer, GameObject* pGameObject);
|
uint32 GetDialogStatus(const Player* pPlayer, const GameObject* pGameObject);
|
||||||
#ifndef CLASSIC
|
#ifndef CLASSIC
|
||||||
#ifndef TBC
|
#ifndef TBC
|
||||||
void OnDestroyed(GameObject* pGameObject, Player* pPlayer);
|
void OnDestroyed(GameObject* pGameObject, Player* pPlayer);
|
||||||
|
|||||||
Reference in New Issue
Block a user