![]() |
TrinityCore
|
#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 |
Definition at line 54 of file CombatLogPacketsCommon.h.
Enumerator | |
---|---|
NO_LEVEL_SCALING | |
NO_ITEM_LEVEL_SCALING |
Definition at line 65 of file CombatLogPacketsCommon.h.
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 56 of file CombatLogPacketsCommon.h.
bool WorldPackets::Spells::ContentTuningParams::GenerateDataForUnits | ( | Creature * | attacker, |
Creature * | target | ||
) |
Definition at line 111 of file CombatLogPacketsCommon.cpp.
bool WorldPackets::Spells::ContentTuningParams::GenerateDataForUnits | ( | T * | attacker, |
U * | target | ||
) |
Definition at line 63 of file CombatLogPacketsCommon.cpp.
bool WorldPackets::Spells::ContentTuningParams::GenerateDataForUnits | ( | Unit * | attacker, |
Unit * | target | ||
) |
Definition at line 128 of file CombatLogPacketsCommon.cpp.
uint8 WorldPackets::Spells::ContentTuningParams::Expansion = 0 |
Definition at line 77 of file CombatLogPacketsCommon.h.
uint32 WorldPackets::Spells::ContentTuningParams::Flags = NO_LEVEL_SCALING | NO_ITEM_LEVEL_SCALING |
Definition at line 79 of file CombatLogPacketsCommon.h.
int32 WorldPackets::Spells::ContentTuningParams::PlayerContentTuningID = 0 |
Definition at line 80 of file CombatLogPacketsCommon.h.
float WorldPackets::Spells::ContentTuningParams::PlayerItemLevel = 0 |
Definition at line 73 of file CombatLogPacketsCommon.h.
int16 WorldPackets::Spells::ContentTuningParams::PlayerLevelDelta = 0 |
Definition at line 72 of file CombatLogPacketsCommon.h.
uint32 WorldPackets::Spells::ContentTuningParams::ScalingHealthItemLevelCurveID = 0 |
Definition at line 75 of file CombatLogPacketsCommon.h.
int32 WorldPackets::Spells::ContentTuningParams::TargetContentTuningID = 0 |
Definition at line 81 of file CombatLogPacketsCommon.h.
float WorldPackets::Spells::ContentTuningParams::TargetItemLevel = 0 |
Definition at line 74 of file CombatLogPacketsCommon.h.
uint8 WorldPackets::Spells::ContentTuningParams::TargetLevel = 0 |
Definition at line 76 of file CombatLogPacketsCommon.h.
int8 WorldPackets::Spells::ContentTuningParams::TargetScalingLevelDelta = 0 |
Definition at line 78 of file CombatLogPacketsCommon.h.
uint32 WorldPackets::Spells::ContentTuningParams::Type = 0 |
Definition at line 71 of file CombatLogPacketsCommon.h.
int32 WorldPackets::Spells::ContentTuningParams::Unused927 = 0 |
Definition at line 82 of file CombatLogPacketsCommon.h.