TrinityCore
WorldPackets::Spells::ContentTuningParams Struct Reference

#include <CombatLogPacketsCommon.h>

Public Types

enum  ContentTuningType : uint32 {
  TYPE_CREATURE_TO_PLAYER_DAMAGE = 1 , TYPE_PLAYER_TO_CREATURE_DAMAGE = 2 , TYPE_CREATURE_TO_CREATURE_DAMAGE = 4 , TYPE_PLAYER_TO_PLAYER_SANDBOX_SCALING = 7 ,
  TYPE_PLAYER_TO_PLAYER_EXPECTED_STAT = 8
}
 
enum  ContentTuningFlags : uint32 { NO_LEVEL_SCALING = 0x1 , NO_ITEM_LEVEL_SCALING = 0x2 }
 

Public Member Functions

template<class T , class U >
bool GenerateDataForUnits (T *attacker, U *target)
 
template<>
bool GenerateDataForUnits (Creature *attacker, Player *target)
 
template<>
bool GenerateDataForUnits (Player *attacker, Creature *target)
 
template<>
bool GenerateDataForUnits (Creature *attacker, Creature *target)
 
template<>
bool GenerateDataForUnits (Unit *attacker, Unit *target)
 

Public Attributes

uint32 Type = 0
 
int16 PlayerLevelDelta = 0
 
float PlayerItemLevel = 0
 
float TargetItemLevel = 0
 
uint32 ScalingHealthItemLevelCurveID = 0
 
uint8 TargetLevel = 0
 
uint8 Expansion = 0
 
int8 TargetScalingLevelDelta = 0
 
uint32 Flags = NO_LEVEL_SCALING | NO_ITEM_LEVEL_SCALING
 
int32 PlayerContentTuningID = 0
 
int32 TargetContentTuningID = 0
 
int32 Unused927 = 0
 

Detailed Description

Definition at line 52 of file CombatLogPacketsCommon.h.

Member Enumeration Documentation

◆ ContentTuningFlags

Enumerator
NO_LEVEL_SCALING 
NO_ITEM_LEVEL_SCALING 

Definition at line 63 of file CombatLogPacketsCommon.h.

◆ ContentTuningType

Enumerator
TYPE_CREATURE_TO_PLAYER_DAMAGE 
TYPE_PLAYER_TO_CREATURE_DAMAGE 
TYPE_CREATURE_TO_CREATURE_DAMAGE 
TYPE_PLAYER_TO_PLAYER_SANDBOX_SCALING 
TYPE_PLAYER_TO_PLAYER_EXPECTED_STAT 

Definition at line 54 of file CombatLogPacketsCommon.h.

Member Function Documentation

◆ GenerateDataForUnits() [1/5]

template<>
bool WorldPackets::Spells::ContentTuningParams::GenerateDataForUnits ( Creature attacker,
Creature target 
)

Definition at line 104 of file CombatLogPacketsCommon.cpp.

+ Here is the call graph for this function:

◆ GenerateDataForUnits() [2/5]

template<>
bool WorldPackets::Spells::ContentTuningParams::GenerateDataForUnits ( Creature attacker,
Player target 
)

Definition at line 68 of file CombatLogPacketsCommon.cpp.

+ Here is the call graph for this function:

◆ GenerateDataForUnits() [3/5]

template<>
bool WorldPackets::Spells::ContentTuningParams::GenerateDataForUnits ( Player attacker,
Creature target 
)

Definition at line 86 of file CombatLogPacketsCommon.cpp.

+ Here is the call graph for this function:

◆ GenerateDataForUnits() [4/5]

template<class T , class U >
bool WorldPackets::Spells::ContentTuningParams::GenerateDataForUnits ( T *  attacker,
U *  target 
)

Definition at line 62 of file CombatLogPacketsCommon.cpp.

+ Here is the caller graph for this function:

◆ GenerateDataForUnits() [5/5]

template<>
bool WorldPackets::Spells::ContentTuningParams::GenerateDataForUnits ( Unit attacker,
Unit target 
)

Definition at line 121 of file CombatLogPacketsCommon.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ Expansion

uint8 WorldPackets::Spells::ContentTuningParams::Expansion = 0

Definition at line 75 of file CombatLogPacketsCommon.h.

◆ Flags

uint32 WorldPackets::Spells::ContentTuningParams::Flags = NO_LEVEL_SCALING | NO_ITEM_LEVEL_SCALING

Definition at line 77 of file CombatLogPacketsCommon.h.

◆ PlayerContentTuningID

int32 WorldPackets::Spells::ContentTuningParams::PlayerContentTuningID = 0

Definition at line 78 of file CombatLogPacketsCommon.h.

◆ PlayerItemLevel

float WorldPackets::Spells::ContentTuningParams::PlayerItemLevel = 0

Definition at line 71 of file CombatLogPacketsCommon.h.

◆ PlayerLevelDelta

int16 WorldPackets::Spells::ContentTuningParams::PlayerLevelDelta = 0

Definition at line 70 of file CombatLogPacketsCommon.h.

◆ ScalingHealthItemLevelCurveID

uint32 WorldPackets::Spells::ContentTuningParams::ScalingHealthItemLevelCurveID = 0

Definition at line 73 of file CombatLogPacketsCommon.h.

◆ TargetContentTuningID

int32 WorldPackets::Spells::ContentTuningParams::TargetContentTuningID = 0

Definition at line 79 of file CombatLogPacketsCommon.h.

◆ TargetItemLevel

float WorldPackets::Spells::ContentTuningParams::TargetItemLevel = 0

Definition at line 72 of file CombatLogPacketsCommon.h.

◆ TargetLevel

uint8 WorldPackets::Spells::ContentTuningParams::TargetLevel = 0

Definition at line 74 of file CombatLogPacketsCommon.h.

◆ TargetScalingLevelDelta

int8 WorldPackets::Spells::ContentTuningParams::TargetScalingLevelDelta = 0

Definition at line 76 of file CombatLogPacketsCommon.h.

◆ Type

uint32 WorldPackets::Spells::ContentTuningParams::Type = 0

Definition at line 69 of file CombatLogPacketsCommon.h.

◆ Unused927

int32 WorldPackets::Spells::ContentTuningParams::Unused927 = 0

Definition at line 80 of file CombatLogPacketsCommon.h.


The documentation for this struct was generated from the following files: