mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Player: Rename GetQuestSlotObjectiveData to GetQuestObjectiveData
This commit is contained in:
@@ -16435,7 +16435,7 @@ int32 Player::GetQuestSlotObjectiveData(uint16 slot, QuestObjective const& objec
|
||||
return GetQuestSlotObjectiveFlag(slot, objective.StorageIndex) ? 1 : 0;
|
||||
}
|
||||
|
||||
int32 Player::GetQuestSlotObjectiveData(uint32 questId, uint32 objectiveId) const
|
||||
int32 Player::GetQuestObjectiveData(uint32 questId, uint32 objectiveId) const
|
||||
{
|
||||
uint16 slot = FindQuestSlot(questId);
|
||||
if (slot >= MAX_QUEST_LOG_SIZE)
|
||||
|
||||
@@ -1611,7 +1611,7 @@ class TC_GAME_API Player : public Unit, public GridObject<Player>
|
||||
int64 GetQuestSlotEndTime(uint16 slot) const;
|
||||
bool GetQuestSlotObjectiveFlag(uint16 slot, int8 objectiveIndex) const;
|
||||
int32 GetQuestSlotObjectiveData(uint16 slot, QuestObjective const& objective) const;
|
||||
int32 GetQuestSlotObjectiveData(uint32 questId, uint32 objectiveId) const;
|
||||
int32 GetQuestObjectiveData(uint32 questId, uint32 objectiveId) const;
|
||||
void SetQuestSlot(uint16 slot, uint32 quest_id);
|
||||
void SetQuestSlotCounter(uint16 slot, uint8 counter, uint16 count);
|
||||
void SetQuestSlotState(uint16 slot, uint32 state);
|
||||
|
||||
@@ -2459,7 +2459,7 @@ struct npc_sparring_partner_combat_training : public ScriptedAI
|
||||
break;
|
||||
}
|
||||
|
||||
return player->GetQuestSlotObjectiveData(_questID, objectiveId);
|
||||
return player->GetQuestObjectiveData(_questID, objectiveId);
|
||||
}
|
||||
|
||||
void EnterEvadeMode(EvadeReason /*why*/) override
|
||||
|
||||
Reference in New Issue
Block a user