TrinityCore
Loading...
Searching...
No Matches
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_PLAYER_HEALING = 3 , TYPE_PLAYER_TO_CREATURE_HEALING = 4 ,
  TYPE_CREATURE_TO_CREATURE_DAMAGE = 5 , TYPE_CREATURE_TO_CREATURE_HEALING = 6 , TYPE_PLAYER_TO_PLAYER_DAMAGE = 7 , TYPE_PLAYER_TO_PLAYER_HEALING = 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
 
int32 ScalingHealthItemLevelCurveID = 0
 
int32 Unused1117 = 0
 
int32 ScalingHealthPrimaryStatCurveID = 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 TargetHealingContentTuningID = 0
 
float PlayerPrimaryStatToExpectedRatio = 1.0f
 

Detailed Description

Definition at line 55 of file CombatLogPacketsCommon.h.

Member Enumeration Documentation

◆ ContentTuningFlags

Enumerator
NO_LEVEL_SCALING 
NO_ITEM_LEVEL_SCALING 

Definition at line 69 of file CombatLogPacketsCommon.h.

◆ ContentTuningType

Enumerator
TYPE_CREATURE_TO_PLAYER_DAMAGE 
TYPE_PLAYER_TO_CREATURE_DAMAGE 
TYPE_CREATURE_TO_PLAYER_HEALING 
TYPE_PLAYER_TO_CREATURE_HEALING 
TYPE_CREATURE_TO_CREATURE_DAMAGE 
TYPE_CREATURE_TO_CREATURE_HEALING 
TYPE_PLAYER_TO_PLAYER_DAMAGE 
TYPE_PLAYER_TO_PLAYER_HEALING 

Definition at line 57 of file CombatLogPacketsCommon.h.

Member Function Documentation

◆ GenerateDataForUnits() [1/5]

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

Definition at line 122 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 78 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 100 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 72 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 139 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 83 of file CombatLogPacketsCommon.h.

◆ Flags

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

Definition at line 85 of file CombatLogPacketsCommon.h.

◆ PlayerContentTuningID

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

Definition at line 86 of file CombatLogPacketsCommon.h.

◆ PlayerItemLevel

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

Definition at line 77 of file CombatLogPacketsCommon.h.

◆ PlayerLevelDelta

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

Definition at line 76 of file CombatLogPacketsCommon.h.

◆ PlayerPrimaryStatToExpectedRatio

float WorldPackets::Spells::ContentTuningParams::PlayerPrimaryStatToExpectedRatio = 1.0f

Definition at line 89 of file CombatLogPacketsCommon.h.

◆ ScalingHealthItemLevelCurveID

int32 WorldPackets::Spells::ContentTuningParams::ScalingHealthItemLevelCurveID = 0

Definition at line 79 of file CombatLogPacketsCommon.h.

◆ ScalingHealthPrimaryStatCurveID

int32 WorldPackets::Spells::ContentTuningParams::ScalingHealthPrimaryStatCurveID = 0

Definition at line 81 of file CombatLogPacketsCommon.h.

◆ TargetContentTuningID

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

Definition at line 87 of file CombatLogPacketsCommon.h.

◆ TargetHealingContentTuningID

int32 WorldPackets::Spells::ContentTuningParams::TargetHealingContentTuningID = 0

Definition at line 88 of file CombatLogPacketsCommon.h.

◆ TargetItemLevel

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

Definition at line 78 of file CombatLogPacketsCommon.h.

◆ TargetLevel

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

Definition at line 82 of file CombatLogPacketsCommon.h.

◆ TargetScalingLevelDelta

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

Definition at line 84 of file CombatLogPacketsCommon.h.

◆ Type

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

Definition at line 75 of file CombatLogPacketsCommon.h.

◆ Unused1117

int32 WorldPackets::Spells::ContentTuningParams::Unused1117 = 0

Definition at line 80 of file CombatLogPacketsCommon.h.


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