TrinityCore
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Class List
Class Index
Class Hierarchy
Class Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Public Member Functions
|
Public Attributes
|
List of all members
Runes Struct Reference
#include <
Player.h
>
Public Member Functions
void
SetRuneState
(
uint8
index,
bool
set=
true
)
Public Attributes
RuneInfo
runes
[
MAX_RUNES
]
uint8
runeState
RuneType
lastUsedRune
Member Function Documentation
void Runes::SetRuneState
(
uint8
index
,
bool
set
=
true
)
inline
483
{
484
if
(set)
485
runeState
|= (1 << index);
// usable
486
else
487
runeState
&= ~(1 << index);
// on cooldown
488
}
Runes::runeState
uint8 runeState
Definition:
Player.h:479
Member Data Documentation
RuneType
Runes::lastUsedRune
RuneInfo
Runes::runes[
MAX_RUNES
]
uint8
Runes::runeState
The documentation for this struct was generated from the following file:
src/server/game/Entities/Player/
Player.h
Generated on Tue Apr 5 2016 20:23:00 for TrinityCore by
1.8.8