TrinityCore
Loading...
Searching...
No Matches
PowerTypeEntry Struct Reference

#include <DB2Structure.h>

Public Member Functions

EnumFlag< PowerTypeFlags > GetFlags () const
 

Public Attributes

char const * NameGlobalStringTag
 
char const * CostGlobalStringTag
 
uint32 ID
 
int8 PowerTypeEnum
 
int32 MinPower
 
int32 MaxBasePower
 
int32 CenterPower
 
int32 DefaultPower
 
int32 DisplayModifier
 
int32 RegenInterruptTimeMS
 
float RegenPeace
 
float RegenCombat
 
int32 Flags
 

Detailed Description

Definition at line 3402 of file DB2Structure.h.

Member Function Documentation

◆ GetFlags()

EnumFlag< PowerTypeFlags > PowerTypeEntry::GetFlags ( ) const
inline

Member Data Documentation

◆ CenterPower

int32 PowerTypeEntry::CenterPower

Definition at line 3410 of file DB2Structure.h.

Referenced by Player::Regenerate().

◆ CostGlobalStringTag

char const* PowerTypeEntry::CostGlobalStringTag

Definition at line 3405 of file DB2Structure.h.

◆ DefaultPower

int32 PowerTypeEntry::DefaultPower

Definition at line 3411 of file DB2Structure.h.

Referenced by Player::ResurrectPlayer(), and Unit::SetInitialPowerValue().

◆ DisplayModifier

int32 PowerTypeEntry::DisplayModifier

Definition at line 3412 of file DB2Structure.h.

Referenced by modify_commandscript::HandleModifyPowerCommand().

◆ Flags

int32 PowerTypeEntry::Flags

Definition at line 3416 of file DB2Structure.h.

Referenced by GetFlags().

◆ ID

uint32 PowerTypeEntry::ID

Definition at line 3406 of file DB2Structure.h.

◆ MaxBasePower

int32 PowerTypeEntry::MaxBasePower

Definition at line 3409 of file DB2Structure.h.

◆ MinPower

int32 PowerTypeEntry::MinPower

Definition at line 3408 of file DB2Structure.h.

Referenced by Player::Regenerate().

◆ NameGlobalStringTag

char const* PowerTypeEntry::NameGlobalStringTag

◆ PowerTypeEnum

int8 PowerTypeEntry::PowerTypeEnum

Definition at line 3407 of file DB2Structure.h.

Referenced by modify_commandscript::HandleModifyPowerCommand().

◆ RegenCombat

float PowerTypeEntry::RegenCombat

Definition at line 3415 of file DB2Structure.h.

Referenced by Player::GetPowerRegen(), and Player::UpdatePowerRegen().

◆ RegenInterruptTimeMS

int32 PowerTypeEntry::RegenInterruptTimeMS

Definition at line 3413 of file DB2Structure.h.

Referenced by Player::GetPowerRegen().

◆ RegenPeace

float PowerTypeEntry::RegenPeace

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