mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 10:55:43 +00:00
refactor(GameObject): Update some methods to UpperCamelCase (#6487)
This commit is contained in:
@@ -803,7 +803,7 @@ void GameObject::Delete()
|
||||
AddObjectToRemoveList();
|
||||
}
|
||||
|
||||
void GameObject::getFishLoot(Loot* fishloot, Player* loot_owner)
|
||||
void GameObject::GetFishLoot(Loot* fishloot, Player* loot_owner)
|
||||
{
|
||||
fishloot->clear();
|
||||
|
||||
@@ -823,7 +823,7 @@ void GameObject::getFishLoot(Loot* fishloot, Player* loot_owner)
|
||||
}
|
||||
}
|
||||
|
||||
void GameObject::getFishLootJunk(Loot* fishloot, Player* loot_owner)
|
||||
void GameObject::GetFishLootJunk(Loot* fishloot, Player* loot_owner)
|
||||
{
|
||||
fishloot->clear();
|
||||
|
||||
|
||||
@@ -812,8 +812,8 @@ public:
|
||||
[[nodiscard]] uint32 GetRespawnDelay() const { return m_respawnDelayTime; }
|
||||
void Refresh();
|
||||
void Delete();
|
||||
void getFishLoot(Loot* loot, Player* loot_owner);
|
||||
void getFishLootJunk(Loot* loot, Player* loot_owner);
|
||||
void GetFishLoot(Loot* loot, Player* loot_owner);
|
||||
void GetFishLootJunk(Loot* loot, Player* loot_owner);
|
||||
[[nodiscard]] GameobjectTypes GetGoType() const { return GameobjectTypes(GetByteValue(GAMEOBJECT_BYTES_1, 1)); }
|
||||
void SetGoType(GameobjectTypes type) { SetByteValue(GAMEOBJECT_BYTES_1, 1, type); }
|
||||
[[nodiscard]] GOState GetGoState() const { return GOState(GetByteValue(GAMEOBJECT_BYTES_1, 0)); }
|
||||
|
||||
@@ -9273,9 +9273,9 @@ void Player::SendLoot(ObjectGuid guid, LootType loot_type)
|
||||
loot->generateMoneyLoot(addon->mingold, addon->maxgold);
|
||||
|
||||
if (loot_type == LOOT_FISHING)
|
||||
go->getFishLoot(loot, this);
|
||||
go->GetFishLoot(loot, this);
|
||||
else if (loot_type == LOOT_FISHING_JUNK)
|
||||
go->getFishLootJunk(loot, this);
|
||||
go->GetFishLootJunk(loot, this);
|
||||
|
||||
if (go->GetGOInfo()->type == GAMEOBJECT_TYPE_CHEST && go->GetGOInfo()->chest.groupLootRules)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user