TrinityCore
Loading...
Searching...
No Matches
UF Namespace Reference

Classes

struct  AaBox
 
struct  ActivePlayerData
 
struct  AreaTriggerActionSetPeriodModifier
 
struct  AreaTriggerBoundedPlane
 
struct  AreaTriggerBox
 
struct  AreaTriggerCylinder
 
struct  AreaTriggerData
 
struct  AreaTriggerDisk
 
struct  AreaTriggerMovementScript
 
struct  AreaTriggerOrbit
 
struct  AreaTriggerPolygon
 
struct  AreaTriggerSphere
 
struct  AreaTriggerSplineCalculator
 
struct  ArenaCooldown
 
struct  ArtifactPower
 
struct  AzeriteEmpoweredItemData
 
struct  AzeriteItemData
 
struct  BankTabSettings
 
struct  BitVector
 
struct  BitVectors
 
struct  CategoryCooldownMod
 
struct  ChallengeModeData
 
struct  CharacterRestriction
 
struct  ChrCustomizationChoice
 
struct  CollectableSourceTrackedData
 
struct  CompletedProject
 
struct  ContainerData
 
struct  ConversationActor
 
struct  ConversationData
 
struct  ConversationLine
 
struct  CorpseData
 
struct  CraftingOrder
 
struct  CraftingOrderCustomer
 
struct  CraftingOrderData
 
struct  CraftingOrderItem
 
struct  CraftingOrderNpcCustomer
 
struct  CTROptions
 
struct  CustomTabardInfo
 
struct  DeclinedNames
 
struct  DecorDyeSlots
 
struct  DecorStoragePersistedData
 
struct  DelveData
 
struct  DynamicObjectData
 
class  DynamicUpdateField
 
class  DynamicUpdateFieldBase
 
struct  DynamicUpdateFieldSetter
 
struct  ForceSetAreaTriggerPositionAndRotation
 
struct  GameObjectAssistActionData
 
struct  GameObjectData
 
class  HasChangesMask
 
struct  HasChangesMaskTag
 
struct  HousingCornerstoneData
 
struct  HousingDecorData
 
struct  HousingDoorData
 
struct  HousingFixtureData
 
struct  HousingOwner
 
struct  HousingPlayerHouseData
 
struct  HousingRoomComponentMeshData
 
struct  HousingRoomData
 
struct  HousingStorageData
 
struct  IsUpdateFieldHolderTag
 
struct  IsUpdateFieldStructureTag
 
struct  ItemData
 
struct  ItemEnchantment
 
struct  ItemMod
 
struct  ItemModList
 
struct  LeaverInfo
 
struct  LevelLinkInfo
 
class  MapUpdateField
 
class  MapUpdateFieldBase
 
struct  MapUpdateFieldSetter
 
struct  MawPower
 
struct  MeshObjectData
 
struct  MirroredMeshObjectData
 
struct  MirroredPositionData
 
struct  MultiFloorExplore
 
struct  MutableFieldReferenceNoChangesMask
 
struct  MutableFieldReferenceWithChangesMask
 
struct  MutableNestedFieldReference
 
struct  NeighborhoodCharter
 
struct  NeighborhoodCharterSignature
 
struct  NeighborhoodMirrorData
 
struct  NeighborhoodOwnershipTransfer
 
struct  NICompletedInitiativesEntry
 
struct  NICompletedMilestoneEntry
 
struct  NPCAsPlayerInfo
 
struct  NPCCraftingOrderInfo
 
struct  ObjectData
 
class  OptionalUpdateField
 
class  OptionalUpdateFieldBase
 
struct  OptionalUpdateFieldSetter
 
struct  PassiveSpellHistory
 
struct  PersonalCraftingOrderCount
 
struct  PetCreatureName
 
struct  PlayerData
 
struct  PlayerDataElement
 
struct  PlayerHouseInfo
 
struct  PlayerHouseInfoComponentData
 
struct  PlayerInitiativeComponentData
 
struct  PlayerInitiativeInfo
 
struct  PlayerInitiativeTaskInfo
 
struct  PlayerMirrorHouse
 
struct  PVPInfo
 
struct  QuestLog
 
struct  QuestSession
 
struct  RecipeProgressionInfo
 
struct  ReplayedQuest
 
struct  Research
 
struct  ResearchHistory
 
struct  RestInfo
 
struct  ScaleCurve
 
struct  SceneObjectData
 
struct  SelectedAzeriteEssences
 
class  SetUpdateField
 
class  SetUpdateFieldBase
 
struct  SetUpdateFieldSetter
 
struct  SkillInfo
 
struct  SocketedGem
 
struct  SpellCastVisual
 
struct  SpellFlatModByLabel
 
struct  SpellFlatPVPModByLabel
 
struct  SpellPctModByLabel
 
struct  SpellPctPVPModByLabel
 
struct  StableInfo
 
struct  StablePetInfo
 
struct  TraitConfig
 
struct  TraitEntry
 
struct  TraitSubTreeCache
 
struct  TransmogOutfitData
 
struct  TransmogOutfitDataInfo
 
struct  TransmogOutfitMetadata
 
struct  TransmogOutfitSituationInfo
 
struct  TransmogOutfitSlotData
 
struct  UnitAssistActionData
 
struct  UnitChannel
 
struct  UnitData
 
struct  UnlockedAzeriteEssence
 
class  UpdateField
 
class  UpdateFieldArray
 
class  UpdateFieldArrayBase
 
class  UpdateFieldArrayBaseWithoutSize
 
class  UpdateFieldBase
 
class  UpdateFieldHolder
 
struct  UpdateFieldPrivateSetter
 
struct  UpdateFieldPublicSetter
 
class  VariantUpdateField
 
class  VariantUpdateFieldBase
 
struct  VendorData
 
class  ViewerDependentValue
 
class  ViewerDependentValue< UF::ConversationData::LastLineEndTimeTag >
 
class  ViewerDependentValue< UF::ConversationLine::StartTimeTag >
 
class  ViewerDependentValue< UF::GameObjectData::FlagsTag >
 
class  ViewerDependentValue< UF::GameObjectData::SpawnTrackingStateAnimIDTag >
 
class  ViewerDependentValue< UF::GameObjectData::SpawnTrackingStateAnimKitIDTag >
 
class  ViewerDependentValue< UF::GameObjectData::StateSpellVisualIDTag >
 
class  ViewerDependentValue< UF::GameObjectData::StateTag >
 
class  ViewerDependentValue< UF::GameObjectData::StateWorldEffectIDsTag >
 
class  ViewerDependentValue< UF::GameObjectData::StateWorldEffectsQuestObjectiveIDTag >
 
class  ViewerDependentValue< UF::ObjectData::DynamicFlagsTag >
 
class  ViewerDependentValue< UF::ObjectData::EntryIDTag >
 
class  ViewerDependentValue< UF::UnitData::AuraStateTag >
 
class  ViewerDependentValue< UF::UnitData::DisplayIDTag >
 
class  ViewerDependentValue< UF::UnitData::FactionTemplateTag >
 
class  ViewerDependentValue< UF::UnitData::Flags2Tag >
 
class  ViewerDependentValue< UF::UnitData::Flags3Tag >
 
class  ViewerDependentValue< UF::UnitData::Flags4Tag >
 
class  ViewerDependentValue< UF::UnitData::FlagsTag >
 
class  ViewerDependentValue< UF::UnitData::InteractSpellIDTag >
 
class  ViewerDependentValue< UF::UnitData::NpcFlags2Tag >
 
class  ViewerDependentValue< UF::UnitData::NpcFlagsTag >
 
class  ViewerDependentValue< UF::UnitData::PvpFlagsTag >
 
class  ViewerDependentValue< UF::UnitData::StateAnimIDTag >
 
class  ViewerDependentValue< UF::UnitData::StateAnimKitIDTag >
 
class  ViewerDependentValue< UF::UnitData::StateSpellVisualIDTag >
 
class  ViewerDependentValue< UF::UnitData::StateWorldEffectIDsTag >
 
class  ViewerDependentValue< UF::UnitData::StateWorldEffectsQuestObjectiveIDTag >
 
struct  ViewerDependentValueTag
 
struct  VisibleItem
 
struct  VisualAnim
 
struct  WalkInData
 
struct  WeeklySpellUse
 
struct  ZonePlayerForcedReaction
 

Typedefs

template<typename T , bool PublicSet>
using UpdateFieldSetter = std::conditional_t< PublicSet, UpdateFieldPublicSetter< T >, UpdateFieldPrivateSetter< T > >
 
template<typename T , bool PublicSet>
using MutableFieldReference = std::conditional_t< std::is_base_of_v< HasChangesMaskTag, T >, MutableFieldReferenceWithChangesMask< T, PublicSet >, MutableFieldReferenceNoChangesMask< T, PublicSet > >
 

Enumerations

enum class  UpdateFieldFlag : uint8 {
  None = 0 , Owner = 0x01 , PartyMember = 0x02 , UnitAll = 0x04 ,
  Empath = 0x08
}
 
enum class  MapUpdateFieldState : uint8 { Unchanged = 0 , Changed = 1 , Deleted = 2 }
 

Functions

template<typename T >
bool SetUpdateFieldValue (UpdateFieldPrivateSetter< T > &setter, typename UpdateFieldPrivateSetter< T >::value_type &&value)
 
template<typename T >
DynamicUpdateFieldSetter< T >::insert_result AddDynamicUpdateFieldValue (DynamicUpdateFieldSetter< T > &setter)
 
template<typename T >
DynamicUpdateFieldSetter< T >::insert_result InsertDynamicUpdateFieldValue (DynamicUpdateFieldSetter< T > &setter, uint32 index)
 
template<typename T >
void RemoveDynamicUpdateFieldValue (DynamicUpdateFieldSetter< T > &setter, uint32 index)
 
template<typename T >
void ClearDynamicUpdateFieldValues (DynamicUpdateFieldSetter< T > &setter)
 
template<typename K , typename V >
bool RemoveMapUpdateFieldValue (MapUpdateFieldSetter< K, V > &setter, std::type_identity_t< K > const &key)
 
template<typename T >
bool InsertSetUpdateFieldValue (SetUpdateFieldSetter< T > &setter, std::type_identity_t< T > const &key)
 
template<typename T >
bool RemoveSetUpdateFieldValue (SetUpdateFieldSetter< T > &setter, std::type_identity_t< T > const &key)
 
template<typename T >
bool RemoveOptionalUpdateFieldValue (OptionalUpdateFieldSetter< T > &setter)
 
 DEFINE_ENUM_FLAG (UpdateFieldFlag)
 
template<typename T >
constexpr std::size_t size ()
 
template<typename T >
constexpr std::size_t size_of_value_type ()
 
void WriteDynamicFieldUpdateMask (std::size_t size, std::vector< uint32 > const &updateMask, ByteBuffer &data, int32 bitsForSize=32)
 
void WriteCompleteDynamicFieldUpdateMask (std::size_t size, ByteBuffer &data, int32 bitsForSize=32)
 
template<typename K , typename V , typename T >
void WriteMapFieldCreate (MapUpdateFieldBase< K, V > const &map, ByteBuffer &data, Player const *receiver, T const *owner)
 
template<typename K , typename V , typename T >
void WriteMapFieldUpdate (MapUpdateFieldBase< K, V > const &map, bool ignoreChangesMask, ByteBuffer &data, Player const *receiver, T const *owner)
 
template<typename T , typename O >
void WriteSetFieldCreate (SetUpdateFieldBase< T > const &set, ByteBuffer &data, Player const *receiver, O const *owner)
 
template<typename T , typename O >
void WriteSetFieldUpdate (SetUpdateFieldBase< T > const &set, bool ignoreChangesMask, ByteBuffer &data, Player const *receiver, O const *owner)
 
static constexpr void ItemDataAppendAllowedFieldsMaskForFlag (ItemData::Mask &allowedMaskForTarget, EnumFlag< UpdateFieldFlag > fieldVisibilityFlags)
 
static constexpr void AzeriteItemDataAppendAllowedFieldsMaskForFlag (AzeriteItemData::Mask &allowedMaskForTarget, EnumFlag< UpdateFieldFlag > fieldVisibilityFlags)
 
static constexpr void UnitDataAppendAllowedFieldsMaskForFlag (UnitData::Mask &allowedMaskForTarget, EnumFlag< UpdateFieldFlag > fieldVisibilityFlags)
 
static constexpr void PlayerDataAppendAllowedFieldsMaskForFlag (PlayerData::Mask &allowedMaskForTarget, EnumFlag< UpdateFieldFlag > fieldVisibilityFlags)
 
static constexpr void PlayerHouseInfoComponentDataAppendAllowedFieldsMaskForFlag (PlayerHouseInfoComponentData::Mask &allowedMaskForTarget, EnumFlag< UpdateFieldFlag > fieldVisibilityFlags)
 
static constexpr void PlayerInitiativeComponentDataAppendAllowedFieldsMaskForFlag (PlayerInitiativeComponentData::Mask &allowedMaskForTarget, EnumFlag< UpdateFieldFlag > fieldVisibilityFlags)
 
ByteBufferoperator<< (ByteBuffer &data, ChrCustomizationChoice const &customizationChoice)
 
ByteBufferoperator>> (ByteBuffer &data, ChrCustomizationChoice &customizationChoice)
 

Variables

template<typename T >
constexpr std::type_identity< T > VariantCase
 

Typedef Documentation

◆ MutableFieldReference

template<typename T , bool PublicSet>
using UF::MutableFieldReference = typedef std::conditional_t<std::is_base_of_v<HasChangesMaskTag, T>, MutableFieldReferenceWithChangesMask<T, PublicSet>, MutableFieldReferenceNoChangesMask<T, PublicSet> >

Definition at line 180 of file UpdateField.h.

◆ UpdateFieldSetter

template<typename T , bool PublicSet>
using UF::UpdateFieldSetter = typedef std::conditional_t<PublicSet, UpdateFieldPublicSetter<T>, UpdateFieldPrivateSetter<T> >

Definition at line 177 of file UpdateField.h.

Enumeration Type Documentation

◆ MapUpdateFieldState

enum class UF::MapUpdateFieldState : uint8
strong
Enumerator
Unchanged 
Changed 
Deleted 

Definition at line 104 of file UpdateField.h.

◆ UpdateFieldFlag

enum class UF::UpdateFieldFlag : uint8
strong
Enumerator
None 
Owner 
PartyMember 
UnitAll 
Empath 

Definition at line 36 of file UpdateField.h.

Function Documentation

◆ AddDynamicUpdateFieldValue()

template<typename T >
DynamicUpdateFieldSetter< T >::insert_result UF::AddDynamicUpdateFieldValue ( DynamicUpdateFieldSetter< T > &  setter)
inline

Definition at line 103 of file BaseEntity.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AzeriteItemDataAppendAllowedFieldsMaskForFlag()

static constexpr void UF::AzeriteItemDataAppendAllowedFieldsMaskForFlag ( AzeriteItemData::Mask allowedMaskForTarget,
EnumFlag< UpdateFieldFlag fieldVisibilityFlags 
)
staticconstexpr

Definition at line 707 of file UpdateFields.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ClearDynamicUpdateFieldValues()

template<typename T >
void UF::ClearDynamicUpdateFieldValues ( DynamicUpdateFieldSetter< T > &  setter)
inline

Definition at line 121 of file BaseEntity.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DEFINE_ENUM_FLAG()

UF::DEFINE_ENUM_FLAG ( UpdateFieldFlag  )

◆ InsertDynamicUpdateFieldValue()

template<typename T >
DynamicUpdateFieldSetter< T >::insert_result UF::InsertDynamicUpdateFieldValue ( DynamicUpdateFieldSetter< T > &  setter,
uint32  index 
)
inline

Definition at line 109 of file BaseEntity.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ InsertSetUpdateFieldValue()

template<typename T >
bool UF::InsertSetUpdateFieldValue ( SetUpdateFieldSetter< T > &  setter,
std::type_identity_t< T > const &  key 
)
inline

Definition at line 133 of file BaseEntity.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ItemDataAppendAllowedFieldsMaskForFlag()

static constexpr void UF::ItemDataAppendAllowedFieldsMaskForFlag ( ItemData::Mask allowedMaskForTarget,
EnumFlag< UpdateFieldFlag fieldVisibilityFlags 
)
staticconstexpr

Definition at line 320 of file UpdateFields.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator<<()

ByteBuffer & UF::operator<< ( ByteBuffer data,
ChrCustomizationChoice const &  customizationChoice 
)

Definition at line 29 of file CharacterPackets.cpp.

◆ operator>>()

ByteBuffer & UF::operator>> ( ByteBuffer data,
ChrCustomizationChoice customizationChoice 
)

Definition at line 37 of file CharacterPackets.cpp.

◆ PlayerDataAppendAllowedFieldsMaskForFlag()

static constexpr void UF::PlayerDataAppendAllowedFieldsMaskForFlag ( PlayerData::Mask allowedMaskForTarget,
EnumFlag< UpdateFieldFlag fieldVisibilityFlags 
)
staticconstexpr

Definition at line 2681 of file UpdateFields.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PlayerHouseInfoComponentDataAppendAllowedFieldsMaskForFlag()

static constexpr void UF::PlayerHouseInfoComponentDataAppendAllowedFieldsMaskForFlag ( PlayerHouseInfoComponentData::Mask allowedMaskForTarget,
EnumFlag< UpdateFieldFlag fieldVisibilityFlags 
)
staticconstexpr

Definition at line 10004 of file UpdateFields.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PlayerInitiativeComponentDataAppendAllowedFieldsMaskForFlag()

static constexpr void UF::PlayerInitiativeComponentDataAppendAllowedFieldsMaskForFlag ( PlayerInitiativeComponentData::Mask allowedMaskForTarget,
EnumFlag< UpdateFieldFlag fieldVisibilityFlags 
)
staticconstexpr

Definition at line 10442 of file UpdateFields.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveDynamicUpdateFieldValue()

template<typename T >
void UF::RemoveDynamicUpdateFieldValue ( DynamicUpdateFieldSetter< T > &  setter,
uint32  index 
)
inline

Definition at line 115 of file BaseEntity.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveMapUpdateFieldValue()

template<typename K , typename V >
bool UF::RemoveMapUpdateFieldValue ( MapUpdateFieldSetter< K, V > &  setter,
std::type_identity_t< K > const &  key 
)
inline

Definition at line 127 of file BaseEntity.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveOptionalUpdateFieldValue()

template<typename T >
bool UF::RemoveOptionalUpdateFieldValue ( OptionalUpdateFieldSetter< T > &  setter)
inline

Definition at line 145 of file BaseEntity.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveSetUpdateFieldValue()

template<typename T >
bool UF::RemoveSetUpdateFieldValue ( SetUpdateFieldSetter< T > &  setter,
std::type_identity_t< T > const &  key 
)
inline

Definition at line 139 of file BaseEntity.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetUpdateFieldValue()

template<typename T >
bool UF::SetUpdateFieldValue ( UpdateFieldPrivateSetter< T > &  setter,
typename UpdateFieldPrivateSetter< T >::value_type &&  value 
)
inline

Definition at line 97 of file BaseEntity.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ size()

template<typename T >
constexpr std::size_t UF::size ( )
constexpr

Definition at line 978 of file UpdateField.h.

+ Here is the caller graph for this function:

◆ size_of_value_type()

template<typename T >
constexpr std::size_t UF::size_of_value_type ( )
constexpr

Definition at line 984 of file UpdateField.h.

◆ UnitDataAppendAllowedFieldsMaskForFlag()

static constexpr void UF::UnitDataAppendAllowedFieldsMaskForFlag ( UnitData::Mask allowedMaskForTarget,
EnumFlag< UpdateFieldFlag fieldVisibilityFlags 
)
staticconstexpr

Definition at line 1250 of file UpdateFields.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ WriteCompleteDynamicFieldUpdateMask()

void UF::WriteCompleteDynamicFieldUpdateMask ( std::size_t  size,
ByteBuffer data,
int32  bitsForSize = 32 
)
inline

Definition at line 50 of file UpdateFieldImpl.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ WriteDynamicFieldUpdateMask()

void UF::WriteDynamicFieldUpdateMask ( std::size_t  size,
std::vector< uint32 > const &  updateMask,
ByteBuffer data,
int32  bitsForSize = 32 
)
inline

Definition at line 28 of file UpdateFieldImpl.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ WriteMapFieldCreate()

template<typename K , typename V , typename T >
void UF::WriteMapFieldCreate ( MapUpdateFieldBase< K, V > const &  map,
ByteBuffer data,
Player const *  receiver,
T const *  owner 
)
inline

Definition at line 73 of file UpdateFieldImpl.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ WriteMapFieldUpdate()

template<typename K , typename V , typename T >
void UF::WriteMapFieldUpdate ( MapUpdateFieldBase< K, V > const &  map,
bool  ignoreChangesMask,
ByteBuffer data,
Player const *  receiver,
T const *  owner 
)
inline

Definition at line 91 of file UpdateFieldImpl.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ WriteSetFieldCreate()

template<typename T , typename O >
void UF::WriteSetFieldCreate ( SetUpdateFieldBase< T > const &  set,
ByteBuffer data,
Player const *  receiver,
O const *  owner 
)
inline

Definition at line 129 of file UpdateFieldImpl.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ WriteSetFieldUpdate()

template<typename T , typename O >
void UF::WriteSetFieldUpdate ( SetUpdateFieldBase< T > const &  set,
bool  ignoreChangesMask,
ByteBuffer data,
Player const *  receiver,
O const *  owner 
)
inline

Definition at line 142 of file UpdateFieldImpl.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ VariantCase

template<typename T >
constexpr std::type_identity<T> UF::VariantCase
inlineconstexpr

Definition at line 87 of file UpdateField.h.