![]() |
TrinityCore
|
Class used to access individual fields of database query result. More...
#include <Field.h>
Public Member Functions | |
| Field () | |
| ~Field () | |
| bool | GetBool () const |
| uint8 | GetUInt8 () const |
| int8 | GetInt8 () const |
| uint16 | GetUInt16 () const |
| int16 | GetInt16 () const |
| uint32 | GetUInt32 () const |
| int32 | GetInt32 () const |
| uint64 | GetUInt64 () const |
| int64 | GetInt64 () const |
| float | GetFloat () const |
| double | GetDouble () const |
| SystemTimePoint | GetDate () const |
| char const * | GetCString () const |
| std::string | GetString () const |
| std::string_view | GetStringView () const |
| std::vector< uint8 > | GetBinary () const |
| template<size_t S> | |
| std::array< uint8, S > | GetBinary () const |
| bool | IsNull () const |
Private Member Functions | |
| void | SetValue (char const *newValue, uint32 length) |
| void | SetMetadata (QueryResultFieldMetadata const *meta) |
| void | GetBinarySizeChecked (uint8 *buf, size_t size) const |
Private Attributes | |
| char const * | _value |
| uint32 | _length |
| QueryResultFieldMetadata const * | _meta |
Friends | |
| class | ResultSet |
| class | PreparedResultSet |
Class used to access individual fields of database query result.
Guideline on field type matching:
| MySQL type | method to use |
|---|---|
| TINYINT | GetBool, GetInt8, GetUInt8 |
| SMALLINT | GetInt16, GetUInt16 |
| MEDIUMINT, INT | GetInt32, GetUInt32 |
| BIGINT | GetInt64, GetUInt64 |
| FLOAT | GetFloat |
| DOUBLE, DECIMAL | GetDouble |
| CHAR, VARCHAR, | GetCString, GetString |
| TINYTEXT, MEDIUMTEXT, | GetCString, GetString |
| TEXT, LONGTEXT | GetCString, GetString |
| TINYBLOB, MEDIUMBLOB, | GetBinary, GetString |
| BLOB, LONGBLOB | GetBinary, GetString |
| BINARY, VARBINARY | GetBinary |
Return types of aggregate functions:
| Function | Type |
|---|---|
| MIN, MAX | Same as the field |
| SUM, AVG | DECIMAL |
| COUNT | BIGINT |
|
default |
| std::vector< uint8 > Field::GetBinary | ( | ) | const |
Definition at line 149 of file Field.cpp.
References _length, and _value.
Referenced by AccountInfo::AccountInfo(), SecretMgr::AttemptTransition(), account_commandscript::HandleAccount2FARemoveCommand(), ClientBuild::LoadBuildInfo(), WardenCheckMgr::LoadWardenChecks(), AuthSession::LogonChallengeCallback(), and AuthSession::ReconnectChallengeCallback().
|
inline |
|
private |
|
inline |
Definition at line 100 of file Field.h.
Referenced by Pet::_LoadAuras(), Player::_LoadAuras(), Player::_LoadBoundInstances(), Player::_LoadPetStable(), AccountInfo::AccountInfo(), Player::DeleteFromDB(), ConditionMgr::LoadConditions(), ObjectMgr::LoadCreatureMovementOverrides(), ObjectMgr::LoadCreatureTemplate(), ChannelMgr::LoadFromDB(), GmTicket::LoadFromDB(), ObjectMgr::LoadGossipMenuItems(), ObjectMgr::LoadInstanceTemplate(), LootStore::LoadLootTable(), ObjectMgr::LoadPetNames(), ObjectMgr::LoadReputationOnKill(), AccountInfo::LoadResult(), SpellMgr::LoadSpellAreas(), SpellMgr::LoadSpellLearnSpells(), LootItemStorage::LoadStorageFromDB(), ObjectMgr::LoadVehicleAccessories(), ObjectMgr::LoadVehicleTemplateAccessories(), and ObjectMgr::ReturnOrDeleteOldMails().
| char const * Field::GetCString | ( | ) | const |
Definition at line 117 of file Field.cpp.
References _length, _meta, _value, QueryResultFieldMetadata::Converter, and BaseDatabaseResultValueConverter::GetCString().
Referenced by AppendTableDump(), GetString(), GetStringView(), ban_commandscript::HandleBanInfoCharacterCommand(), ban_commandscript::HandleBanInfoHelper(), ban_commandscript::HandleBanInfoIPCommand(), ban_commandscript::HandleBanListCharacterCommand(), ban_commandscript::HandleBanListHelper(), ban_commandscript::HandleBanListIPCommand(), gm_commandscript::HandleGMListFullCommand(), and Player::LoadFromDB().
| SystemTimePoint Field::GetDate | ( | ) | const |
Definition at line 109 of file Field.cpp.
References _length, _meta, _value, QueryResultFieldMetadata::Converter, and BaseDatabaseResultValueConverter::GetDate().
| double Field::GetDouble | ( | ) | const |
Definition at line 101 of file Field.cpp.
References _length, _meta, _value, QueryResultFieldMetadata::Converter, and BaseDatabaseResultValueConverter::GetDouble().
| float Field::GetFloat | ( | ) | const |
Definition at line 93 of file Field.cpp.
References _length, _meta, _value, QueryResultFieldMetadata::Converter, and BaseDatabaseResultValueConverter::GetFloat().
Referenced by Pet::_LoadAuras(), Player::_LoadAuras(), Player::_LoadHomeBind(), Player::BuildEnumData(), Player::GetZoneIdFromDB(), gobject_commandscript::HandleGameObjectNearCommand(), gobject_commandscript::HandleGameObjectTargetCommand(), list_commandscript::HandleListCreatureCommand(), list_commandscript::HandleListObjectCommand(), npc_commandscript::HandleNpcNearCommand(), tele_commandscript::HandleTeleNameNpcNameCommand(), wp_commandscript::HandleWpEventCommand(), wp_commandscript::HandleWpShowCommand(), WaypointMgr::Load(), ObjectMgr::LoadAreaTriggerTeleports(), BattlegroundMgr::LoadBattlegroundTemplates(), Corpse::LoadCorpseFromDB(), ObjectMgr::LoadCreatureClassLevelStats(), FormationMgr::LoadCreatureFormations(), ObjectMgr::LoadCreatureModelInfo(), ObjectMgr::LoadCreatures(), ObjectMgr::LoadCreatureTemplate(), CreatureTextMgr::LoadCreatureTexts(), GameEventMgr::LoadFromDB(), PoolMgr::LoadFromDB(), GmTicket::LoadFromDB(), Player::LoadFromDB(), ObjectMgr::LoadGameObjects(), ObjectMgr::LoadGameObjectTemplate(), ObjectMgr::LoadGameTele(), ObjectMgr::LoadGossipText(), ObjectMgr::LoadItemTemplates(), lfg::LFGMgr::LoadLFGDungeons(), LootStore::LoadLootTable(), ObjectMgr::LoadPlayerInfo(), ObjectMgr::LoadPointsOfInterest(), Player::LoadPositionFromDB(), LoadRandomEnchantmentsTable(), LoadRealmInfo(), ObjectMgr::LoadReputationRewardRate(), ObjectMgr::LoadReputationSpilloverTemplate(), ObjectMgr::LoadScripts(), SystemMgr::LoadScriptSplineChains(), LoadSkillDiscoveryTable(), LoadSkillExtraItemTable(), LoadSkillPerfectItemTable(), SmartAIMgr::LoadSmartAIFromDB(), SpellMgr::LoadSpellBonuses(), SpellMgr::LoadSpellEnchantProcData(), SpellMgr::LoadSpellProcs(), SpellMgr::LoadSpellTargetPositions(), SpellMgr::LoadSpellThreats(), ObjectMgr::LoadTempSummons(), ObjectMgr::LoadVehicleSeatAddon(), Quest::Quest(), WaypointMgr::ReloadPath(), and RealmList::UpdateRealms().
| int16 Field::GetInt16 | ( | ) | const |
Definition at line 53 of file Field.cpp.
References _length, _meta, _value, QueryResultFieldMetadata::Converter, and BaseDatabaseResultValueConverter::GetInt16().
Referenced by Player::_LoadMail(), WaypointMgr::Load(), ObjectMgr::LoadCreatureTemplateResistances(), ObjectMgr::LoadFishingBaseSkillLevel(), ObjectMgr::LoadReputationOnKill(), Quest::Quest(), and ObjectMgr::ReturnOrDeleteOldMails().
| int32 Field::GetInt32 | ( | ) | const |
Definition at line 69 of file Field.cpp.
References _length, _meta, _value, QueryResultFieldMetadata::Converter, and BaseDatabaseResultValueConverter::GetInt32().
Referenced by Pet::_LoadAuras(), Player::_LoadAuras(), WorldSession::HandleCharRaceOrFactionChangeCallback(), misc_commandscript::HandleListFreezeCommand(), ClientBuild::LoadBuildInfo(), ConditionMgr::LoadConditions(), ObjectMgr::LoadExplorationBaseXP(), CalendarMgr::LoadFromDB(), ReputationMgr::LoadFromDB(), ObjectMgr::LoadGameObjects(), ObjectMgr::LoadGameObjectTemplate(), ObjectMgr::LoadItemTemplates(), ObjectMgr::LoadQuestPOI(), Quest::LoadQuestTemplateAddon(), ObjectMgr::LoadReferenceVendor(), ObjectMgr::LoadReputationOnKill(), ObjectMgr::LoadScripts(), LoadSkillDiscoveryTable(), SmartAIMgr::LoadSmartAIFromDB(), SpellMgr::LoadSpellAreas(), SpellMgr::LoadSpellGroups(), SpellMgr::LoadSpellLinked(), SpellMgr::LoadSpellProcs(), ObjectMgr::LoadSpellScriptNames(), SpellMgr::LoadSpellThreats(), LootItemStorage::LoadStorageFromDB(), ObjectMgr::LoadVendors(), and Quest::Quest().
| int64 Field::GetInt64 | ( | ) | const |
Definition at line 85 of file Field.cpp.
References _length, _meta, _value, QueryResultFieldMetadata::Converter, and BaseDatabaseResultValueConverter::GetInt64().
Referenced by Player::_LoadSeasonalQuestStatus(), and AccountInfo::AccountInfo().
| int8 Field::GetInt8 | ( | ) | const |
Definition at line 37 of file Field.cpp.
References _length, _meta, _value, QueryResultFieldMetadata::Converter, and BaseDatabaseResultValueConverter::GetInt8().
Referenced by ObjectMgr::LoadCreatureModelInfo(), ObjectMgr::LoadCreatures(), GameEventMgr::LoadFromDB(), ObjectMgr::LoadGameObjects(), ObjectMgr::LoadPlayerInfo(), SpellMgr::LoadSpellGroupStackRules(), SpellMgr::LoadSpellProcs(), and ObjectMgr::LoadVehicleTemplateAccessories().
| std::string Field::GetString | ( | ) | const |
Definition at line 125 of file Field.cpp.
References _length, _value, and GetCString().
Referenced by Player::_LoadEquipmentSets(), Player::_LoadMail(), Player::_LoadPetStable(), AccountInfo::AccountInfo(), Guild::AddMember(), Player::BuildEnumData(), InstanceMap::CreateInstanceData(), Player::DeleteFromDB(), character_commandscript::GetDeletedCharacterInfoList(), ban_commandscript::HandleBanListCharacterCommand(), ban_commandscript::HandleBanListHelper(), WorldSession::HandleCharCustomizeCallback(), WorldSession::HandleCharRaceOrFactionChangeCallback(), WorldSession::HandleCharRenameCallBack(), misc_commandscript::HandleListFreezeCommand(), list_commandscript::HandleListItemCommand(), list_commandscript::HandleListMailCommand(), misc_commandscript::HandlePInfoCommand(), tele_commandscript::HandleTeleNameNpcNameCommand(), WorldSession::HandleWhoIsOpcode(), ObjectMgr::LoadAccessRequirements(), WorldSession::LoadAccountData(), AchievementGlobalMgr::LoadAchievementCriteriaData(), ObjectMgr::LoadAreaTriggerScripts(), ArenaTeam::LoadArenaTeamFromDB(), World::LoadAutobroadcasts(), ObjectMgr::LoadBroadcastTextLocales(), ClientBuild::LoadBuildInfo(), ConditionMgr::LoadConditions(), ObjectMgr::LoadCreatureLocales(), ObjectMgr::LoadCreatures(), ObjectMgr::LoadCreatureTemplate(), CreatureTextMgr::LoadCreatureTextLocales(), CreatureTextMgr::LoadCreatureTexts(), World::LoadDBVersion(), DisableMgr::LoadDisables(), AddonMgr::LoadFromDB(), CalendarMgr::LoadFromDB(), ChannelMgr::LoadFromDB(), GameEventMgr::LoadFromDB(), Guild::Member::LoadFromDB(), Guild::RankInfo::LoadFromDB(), Guild::BankTab::LoadFromDB(), Guild::LoadFromDB(), GmTicket::LoadFromDB(), Player::LoadFromDB(), ObjectMgr::LoadGameObjectLocales(), ObjectMgr::LoadGameObjects(), ObjectMgr::LoadGameObjectTemplate(), ObjectMgr::LoadGameTele(), ObjectMgr::LoadGossipMenuItems(), ObjectMgr::LoadGossipMenuItemsLocales(), ObjectMgr::LoadGossipText(), ObjectMgr::LoadItemLocales(), ObjectMgr::LoadItemSetNameLocales(), ObjectMgr::LoadItemSetNames(), ObjectMgr::LoadItemTemplates(), ArenaTeam::LoadMembersFromDB(), ObjectMgr::LoadNpcTextLocales(), ObjectMgr::LoadPageTextLocales(), ObjectMgr::LoadPageTexts(), Pet::LoadPetFromDB(), ObjectMgr::LoadPetNames(), ObjectMgr::LoadPointOfInterestLocales(), ObjectMgr::LoadPointsOfInterest(), Player::LoadPositionFromDB(), ObjectMgr::LoadQuestGreetingLocales(), ObjectMgr::LoadQuestGreetings(), ObjectMgr::LoadQuestLocales(), Quest::LoadQuestOfferReward(), ObjectMgr::LoadQuestOfferRewardLocale(), ObjectMgr::LoadQuestRequestItemsLocale(), LoadRealmInfo(), ObjectMgr::LoadReservedPlayersNames(), AchievementGlobalMgr::LoadRewardLocales(), AchievementGlobalMgr::LoadRewards(), ObjectMgr::LoadSpawnGroupTemplates(), ObjectMgr::LoadSpellScriptNames(), ObjectMgr::LoadTrainers(), WardenCheckMgr::LoadWardenChecks(), lookup_commandscript::LookupPlayerSearchCommand(), Quest::Quest(), UpdateFetcher::ReceiveAppliedFiles(), UpdateFetcher::ReceiveIncludedDirectories(), and RealmList::UpdateRealms().
| std::string_view Field::GetStringView | ( | ) | const |
Definition at line 137 of file Field.cpp.
References _length, _value, and GetCString().
Referenced by ObjectMgr::LoadBroadcastTexts(), ClientBuild::LoadBuildInfo(), Trinity::Impl::ChatCommands::ChatCommandNode::LoadCommandMap(), Quest::LoadQuestRequestItems(), and AccountInfo::LoadResult().
| uint16 Field::GetUInt16 | ( | ) | const |
Definition at line 45 of file Field.cpp.
References _length, _meta, _value, QueryResultFieldMetadata::Converter, and BaseDatabaseResultValueConverter::GetUInt16().
Referenced by Player::_LoadArenaTeamInfo(), Player::_LoadBGData(), Player::_LoadBoundInstances(), Player::_LoadGlyphs(), Player::_LoadHomeBind(), Player::_LoadPetStable(), Player::_LoadQuestStatus(), Player::_LoadSkills(), Player::BuildEnumData(), Player::DeleteFromDB(), Player::GetZoneIdFromDB(), WorldSession::HandleCharCustomizeCallback(), WorldSession::HandleCharRaceOrFactionChangeCallback(), WorldSession::HandleCharRenameCallBack(), gobject_commandscript::HandleGameObjectNearCommand(), gobject_commandscript::HandleGameObjectTargetCommand(), list_commandscript::HandleListCreatureCommand(), list_commandscript::HandleListObjectCommand(), npc_commandscript::HandleNpcNearCommand(), misc_commandscript::HandlePInfoCommand(), tele_commandscript::HandleTeleNameCommand(), wp_commandscript::HandleWpShowCommand(), ObjectMgr::LoadAccessRequirements(), ObjectMgr::LoadAreaTriggerTeleports(), ArenaTeam::LoadArenaTeamFromDB(), BattlegroundMgr::LoadBattlegroundTemplates(), AchievementGlobalMgr::LoadCompletedAchievements(), Corpse::LoadCorpseFromDB(), ObjectMgr::LoadCreatureClassLevelStats(), FormationMgr::LoadCreatureFormations(), ObjectMgr::LoadCreatures(), ObjectMgr::LoadCreatureTemplate(), DisableMgr::LoadDisables(), GameEventMgr::LoadFromDB(), GmTicket::LoadFromDB(), Player::LoadFromDB(), Item::LoadFromDB(), AchievementMgr::LoadFromDB(), ReputationMgr::LoadFromDB(), ObjectMgr::LoadGameObjectOverrides(), ObjectMgr::LoadGameObjects(), ObjectMgr::LoadGameTele(), ObjectMgr::LoadGossipMenu(), ObjectMgr::LoadGossipMenuItems(), ObjectMgr::LoadGossipMenuItemsLocales(), ObjectMgr::LoadGossipText(), ObjectMgr::LoadGraveyardZones(), ObjectMgr::LoadInstanceEncounters(), ObjectMgr::LoadInstanceSpawnGroups(), ObjectMgr::LoadInstanceTemplate(), LootStore::LoadLootTable(), ArenaTeam::LoadMembersFromDB(), ObjectMgr::LoadNPCSpellClickSpells(), ObjectMgr::LoadPetLevelInfo(), ObjectMgr::LoadPlayerInfo(), Player::LoadPositionFromDB(), Quest::LoadQuestDetails(), ObjectMgr::LoadQuestGreetings(), Quest::LoadQuestOfferReward(), Quest::LoadQuestRequestItems(), Quest::LoadQuestTemplateAddon(), LoadRealmInfo(), ObjectMgr::LoadReputationSpilloverTemplate(), InstanceSaveManager::LoadResetTimes(), SystemMgr::LoadScriptSplineChains(), LoadSkillDiscoveryTable(), SmartAIMgr::LoadSmartAIFromDB(), SpellMgr::LoadSpellProcs(), SpellMgr::LoadSpellTargetPositions(), WardenCheckMgr::LoadWardenChecks(), WardenCheckMgr::LoadWardenOverrides(), Quest::Quest(), and RealmList::UpdateRealms().
| uint32 Field::GetUInt32 | ( | ) | const |
Definition at line 61 of file Field.cpp.
References _length, _meta, _value, QueryResultFieldMetadata::Converter, and BaseDatabaseResultValueConverter::GetUInt32().
Referenced by Player::_LoadActions(), Player::_LoadArenaTeamInfo(), Pet::_LoadAuras(), Player::_LoadAuras(), Player::_LoadBGData(), Player::_LoadBoundInstances(), Player::_LoadDailyQuestStatus(), Player::_LoadEquipmentSets(), lfg::LFGMgr::_LoadFromDB(), Player::_LoadInventory(), Player::_LoadItem(), Player::_LoadMail(), Player::_LoadMailedItem(), Player::_LoadMonthlyQuestStatus(), Player::_LoadPetStable(), Player::_LoadQuestStatus(), Player::_LoadQuestStatusRewarded(), Player::_LoadSeasonalQuestStatus(), Player::_LoadWeeklyQuestStatus(), World::_UpdateRealmCharCount(), AccountInfo::AccountInfo(), SecretMgr::AttemptTransition(), World::BanAccount(), Player::BuildEnumData(), CharacterDatabaseCleaner::CheckUnique(), Player::DeleteFromDB(), character_commandscript::GetDeletedCharacterInfoList(), ban_commandscript::HandleBanInfoCharacterCommand(), ban_commandscript::HandleBanListHelper(), WorldSession::HandleCharRaceOrFactionChangeCallback(), gobject_commandscript::HandleGameObjectNearCommand(), gobject_commandscript::HandleGameObjectTargetCommand(), list_commandscript::HandleListCreatureCommand(), list_commandscript::HandleListItemCommand(), list_commandscript::HandleListMailCommand(), list_commandscript::HandleListObjectCommand(), misc_commandscript::HandleMuteHistoryHelper(), npc_commandscript::HandleNpcNearCommand(), WorldSession::HandleOpenWrappedItemCallback(), misc_commandscript::HandlePInfoCommand(), misc_commandscript::HandlePvPstatsCommand(), wp_commandscript::HandleWpEventCommand(), wp_commandscript::HandleWpModifyCommand(), wp_commandscript::HandleWpShowCommand(), AuctionBotSeller::Initialize(), WaypointMgr::Load(), DBCDatabaseLoader::Load(), ObjectMgr::LoadAccessRequirements(), AchievementGlobalMgr::LoadAchievementCriteriaData(), ObjectMgr::LoadAreaTriggerScripts(), ObjectMgr::LoadAreaTriggerTeleports(), ArenaTeam::LoadArenaTeamFromDB(), AuctionHouseMgr::LoadAuctionItems(), AuctionHouseMgr::LoadAuctions(), Guild::LoadBankEventLogFromDB(), BattlegroundMgr::LoadBattlegroundTemplates(), BattlegroundMgr::LoadBattleMastersEntry(), ObjectMgr::LoadBroadcastTextLocales(), ObjectMgr::LoadBroadcastTexts(), ClientBuild::LoadBuildInfo(), ConditionMgr::LoadConditions(), Map::LoadCorpseData(), Corpse::LoadCorpseFromDB(), ObjectMgr::LoadCreatureAddons(), ObjectMgr::LoadCreatureClassLevelStats(), ObjectMgr::LoadCreatureDefaultTrainers(), FormationMgr::LoadCreatureFormations(), ObjectMgr::LoadCreatureLocales(), ObjectMgr::LoadCreatureModelInfo(), ObjectMgr::LoadCreatureMovementOverrides(), ObjectMgr::LoadCreatureQuestItems(), ObjectMgr::LoadCreatures(), ObjectMgr::LoadCreatureTemplate(), ObjectMgr::LoadCreatureTemplateAddons(), ObjectMgr::LoadCreatureTemplateResistances(), ObjectMgr::LoadCreatureTemplateSpells(), CreatureTextMgr::LoadCreatureTextLocales(), CreatureTextMgr::LoadCreatureTexts(), World::LoadDBVersion(), DisableMgr::LoadDisables(), ObjectMgr::LoadEquipmentTemplates(), ObjectMgr::LoadFactionChangeAchievements(), ObjectMgr::LoadFactionChangeItems(), ObjectMgr::LoadFactionChangeQuests(), ObjectMgr::LoadFactionChangeReputations(), ObjectMgr::LoadFactionChangeSpells(), ObjectMgr::LoadFactionChangeTitles(), ObjectMgr::LoadFishingBaseSkillLevel(), AddonMgr::LoadFromDB(), CalendarMgr::LoadFromDB(), ChannelMgr::LoadFromDB(), GameEventMgr::LoadFromDB(), PoolMgr::LoadFromDB(), QuestPoolMgr::LoadFromDB(), AuctionEntry::LoadFromDB(), Guild::Member::LoadFromDB(), Guild::RankInfo::LoadFromDB(), Guild::LoadFromDB(), GmTicket::LoadFromDB(), Player::LoadFromDB(), Item::LoadFromDB(), AchievementMgr::LoadFromDB(), ObjectMgr::LoadGameObjectAddons(), ObjectMgr::LoadGameObjectLocales(), ObjectMgr::LoadGameObjectOverrides(), ObjectMgr::LoadGameObjectQuestItems(), ObjectMgr::LoadGameObjects(), ObjectMgr::LoadGameObjectTemplate(), ObjectMgr::LoadGameObjectTemplateAddons(), ObjectMgr::LoadGameTele(), ObjectMgr::LoadGossipMenu(), ObjectMgr::LoadGossipMenuItems(), ObjectMgr::LoadGossipText(), ObjectMgr::LoadGraveyardZones(), Group::LoadGroupFromDB(), GroupMgr::LoadGroups(), GuildMgr::LoadGuilds(), GameEventMgr::LoadHolidayDates(), ObjectMgr::LoadInstanceEncounters(), ObjectMgr::LoadInstanceSpawnGroups(), Guild::BankTab::LoadItemFromDB(), ObjectMgr::LoadItemLocales(), ObjectMgr::LoadItemSetNameLocales(), ObjectMgr::LoadItemSetNames(), ObjectMgr::LoadItemTemplates(), lfg::LFGMgr::LoadLFGDungeons(), ObjectMgr::LoadLinkedRespawn(), LootStore::LoadLootTable(), ObjectMgr::LoadMailLevelRewards(), Guild::LoadMemberFromDB(), ArenaTeam::LoadMembersFromDB(), ObjectMgr::LoadNPCSpellClickSpells(), ObjectMgr::LoadNpcTextLocales(), ObjectMgr::LoadPageTextLocales(), ObjectMgr::LoadPageTexts(), ObjectMgr::LoadPetLevelInfo(), ObjectMgr::LoadPetNames(), ObjectMgr::LoadPetNumber(), ObjectMgr::LoadPlayerInfo(), ObjectMgr::LoadPlayerTotemModels(), ObjectMgr::LoadPointOfInterestLocales(), ObjectMgr::LoadPointsOfInterest(), ObjectMgr::LoadQuestAreaTriggers(), ObjectMgr::LoadQuestGreetingLocales(), ObjectMgr::LoadQuestGreetings(), ObjectMgr::LoadQuestLocales(), Quest::LoadQuestMailSender(), ObjectMgr::LoadQuestOfferRewardLocale(), ObjectMgr::LoadQuestPOI(), Quest::LoadQuestRequestItems(), ObjectMgr::LoadQuestRequestItemsLocale(), ObjectMgr::LoadQuests(), Quest::LoadQuestTemplateAddon(), LoadRandomEnchantmentsTable(), AccountMgr::LoadRBAC(), LoadRealmInfo(), ObjectMgr::LoadReferenceVendor(), ObjectMgr::LoadReputationOnKill(), ObjectMgr::LoadReputationRewardRate(), InstanceSaveManager::LoadResetTimes(), Map::LoadRespawnTimes(), AccountInfo::LoadResult(), AchievementGlobalMgr::LoadRewardLocales(), AchievementGlobalMgr::LoadRewards(), lfg::LFGMgr::LoadRewards(), ObjectMgr::LoadScripts(), SystemMgr::LoadScriptSplineChains(), LoadSkillDiscoveryTable(), LoadSkillExtraItemTable(), LoadSkillPerfectItemTable(), SmartAIMgr::LoadSmartAIFromDB(), ObjectMgr::LoadSpawnGroups(), ObjectMgr::LoadSpawnGroupTemplates(), SpellMgr::LoadSpellAreas(), SpellMgr::LoadSpellBonuses(), SpellMgr::LoadSpellEnchantProcData(), SpellMgr::LoadSpellGroups(), SpellMgr::LoadSpellGroupStackRules(), SpellMgr::LoadSpellInfoCustomAttributes(), SpellMgr::LoadSpellLearnSpells(), SpellMgr::LoadSpellPetAuras(), SpellMgr::LoadSpellProcs(), SpellMgr::LoadSpellRanks(), SpellMgr::LoadSpellRequired(), SpellMgr::LoadSpellTargetPositions(), SpellMgr::LoadSpellThreats(), LootItemStorage::LoadStorageFromDB(), ObjectMgr::LoadTavernAreaTriggers(), ObjectMgr::LoadTempSummons(), ObjectMgr::LoadTrainers(), TransportMgr::LoadTransportTemplates(), ObjectMgr::LoadTrinityStrings(), ObjectMgr::LoadVehicleAccessories(), ObjectMgr::LoadVehicleSeatAddon(), ObjectMgr::LoadVehicleTemplate(), ObjectMgr::LoadVehicleTemplateAccessories(), ObjectMgr::LoadVendors(), WardenCheckMgr::LoadWardenChecks(), ObjectMgr::LoadWaypointScripts(), WeatherMgr::LoadWeatherData(), World::LoadWorldStates(), lookup_commandscript::LookupPlayerSearchCommand(), Quest::Quest(), SpellHistory::PersistenceHelper< Player >::ReadCooldown(), SpellHistory::PersistenceHelper< Pet >::ReadCooldown(), AuthSession::RealmListCallback(), WaypointMgr::ReloadPath(), ObjectMgr::ReturnOrDeleteOldMails(), TransportMgr::SpawnContinentTransports(), and RealmList::UpdateRealms().
| uint64 Field::GetUInt64 | ( | ) | const |
Definition at line 77 of file Field.cpp.
References _length, _meta, _value, QueryResultFieldMetadata::Converter, and BaseDatabaseResultValueConverter::GetUInt64().
Referenced by Player::_LoadEquipmentSets(), AccountInfo::AccountInfo(), Battleground::EndBattleground(), ban_commandscript::HandleBanInfoHelper(), ban_commandscript::HandleBanInfoIPCommand(), list_commandscript::HandleListMailCommand(), misc_commandscript::HandlePInfoCommand(), CalendarMgr::LoadFromDB(), GameEventMgr::LoadFromDB(), Guild::LoadFromDB(), InstanceSaveManager::LoadResetTimes(), Map::LoadRespawnTimes(), AccountInfo::LoadResult(), and UpdateFetcher::ReceiveAppliedFiles().
| uint8 Field::GetUInt8 | ( | ) | const |
Definition at line 29 of file Field.cpp.
References _length, _meta, _value, QueryResultFieldMetadata::Converter, and BaseDatabaseResultValueConverter::GetUInt8().
Referenced by Player::_LoadActions(), Pet::_LoadAuras(), Player::_LoadAuras(), Player::_LoadBoundInstances(), Player::_LoadEquipmentSets(), lfg::LFGMgr::_LoadFromDB(), Player::_LoadGlyphs(), Player::_LoadInventory(), Player::_LoadMail(), Player::_LoadQuestStatus(), AccountInfo::AccountInfo(), Player::BuildEnumData(), Player::DeleteFromDB(), WorldSession::HandleCharCustomizeCallback(), gm_commandscript::HandleGMListFullCommand(), list_commandscript::HandleListItemCommand(), list_commandscript::HandleListMailCommand(), misc_commandscript::HandlePInfoCommand(), BattlefieldMgr::InitBattlefield(), GameEventMgr::Initialize(), OutdoorPvPMgr::InitOutdoorPvP(), ObjectMgr::LoadAccessRequirements(), WorldSession::LoadAccountData(), AchievementGlobalMgr::LoadAchievementCriteriaData(), ArenaTeam::LoadArenaTeamFromDB(), World::LoadAutobroadcasts(), Guild::LoadBankEventLogFromDB(), Guild::LoadBankItemFromDB(), Guild::LoadBankTabFromDB(), BattlegroundMgr::LoadBattlegroundTemplates(), ConditionMgr::LoadConditions(), ObjectMgr::LoadCreatureAddons(), ObjectMgr::LoadCreatureClassLevelStats(), ObjectMgr::LoadCreatureMovementOverrides(), ObjectMgr::LoadCreatures(), ObjectMgr::LoadCreatureTemplate(), ObjectMgr::LoadCreatureTemplateAddons(), ObjectMgr::LoadCreatureTemplateResistances(), ObjectMgr::LoadCreatureTemplateSpells(), CreatureTextMgr::LoadCreatureTextLocales(), CreatureTextMgr::LoadCreatureTexts(), ObjectMgr::LoadEquipmentTemplates(), ObjectMgr::LoadExplorationBaseXP(), GameEventMgr::LoadFromDB(), QuestPoolMgr::LoadFromDB(), AuctionEntry::LoadFromDB(), EmblemInfo::LoadFromDB(), Guild::RankInfo::LoadFromDB(), Player::LoadFromDB(), SocialMgr::LoadFromDB(), ObjectMgr::LoadGameObjects(), ObjectMgr::LoadGossipMenuItems(), ObjectMgr::LoadGossipText(), GroupMgr::LoadGroups(), GameEventMgr::LoadHolidayDates(), ObjectMgr::LoadInstanceEncounters(), ObjectMgr::LoadInstanceSpawnGroups(), Guild::BankTab::LoadItemFromDB(), ObjectMgr::LoadItemSetNames(), ObjectMgr::LoadLinkedRespawn(), LootStore::LoadLootTable(), ObjectMgr::LoadMailLevelRewards(), ArenaTeam::LoadMembersFromDB(), ObjectMgr::LoadNPCSpellClickSpells(), ObjectMgr::LoadPetLevelInfo(), ObjectMgr::LoadPlayerInfo(), ObjectMgr::LoadPlayerTotemModels(), ObjectMgr::LoadQuestGreetingLocales(), ObjectMgr::LoadQuestGreetings(), Quest::LoadQuestTemplateAddon(), LoadRealmInfo(), ObjectMgr::LoadReferenceVendor(), ObjectMgr::LoadReputationOnKill(), ObjectMgr::LoadReputationSpilloverTemplate(), InstanceSaveManager::LoadResetTimes(), lfg::LFGMgr::LoadRewards(), SystemMgr::LoadScriptSplineChains(), LoadSkillExtraItemTable(), SmartAIMgr::LoadSmartAIFromDB(), SpellMgr::LoadSpellLinked(), SpellMgr::LoadSpellProcs(), SpellMgr::LoadSpellRanks(), ObjectMgr::LoadTempSummons(), ObjectMgr::LoadTrainers(), ObjectMgr::LoadVehicleAccessories(), ObjectMgr::LoadVehicleSeatAddon(), ObjectMgr::LoadVehicleTemplateAccessories(), ObjectMgr::LoadVendors(), WardenCheckMgr::LoadWardenChecks(), WardenCheckMgr::LoadWardenOverrides(), lookup_commandscript::LookupPlayerSearchCommand(), Quest::Quest(), AuthSession::RealmListCallback(), WaypointMgr::ReloadPath(), ObjectMgr::ReturnOrDeleteOldMails(), GameEventMgr::StartArenaSeason(), and RealmList::UpdateRealms().
|
inline |
Definition at line 128 of file Field.h.
Referenced by account_commandscript::HandleAccount2FARemoveCommand(), and WorldSession::HandleCharRaceOrFactionChangeCallback().
|
private |
|
private |
|
friend |
|
private |
Definition at line 135 of file Field.h.
Referenced by GetBinary(), GetBinarySizeChecked(), GetCString(), GetDate(), GetDouble(), GetFloat(), GetInt16(), GetInt32(), GetInt64(), GetInt8(), GetString(), GetStringView(), GetUInt16(), GetUInt32(), GetUInt64(), GetUInt8(), and SetValue().
|
private |
Definition at line 139 of file Field.h.
Referenced by GetCString(), GetDate(), GetDouble(), GetFloat(), GetInt16(), GetInt32(), GetInt64(), GetInt8(), GetUInt16(), GetUInt32(), GetUInt64(), GetUInt8(), and SetMetadata().
|
private |
Definition at line 134 of file Field.h.
Referenced by GetBinary(), GetBinarySizeChecked(), GetCString(), GetDate(), GetDouble(), GetFloat(), GetInt16(), GetInt32(), GetInt64(), GetInt8(), GetString(), GetStringView(), GetUInt16(), GetUInt32(), GetUInt64(), GetUInt8(), and SetValue().