TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
PoolObject Struct Reference

#include <PoolMgr.h>

Public Member Functions

 PoolObject (uint64 _guid, float _chance)
 

Public Attributes

uint64 guid
 
float chance
 

Constructor & Destructor Documentation

PoolObject::PoolObject ( uint64  _guid,
float  _chance 
)
inline
36 : guid(_guid), chance(std::fabs(_chance)) { }
float chance
Definition: PoolMgr.h:35
uint64 guid
Definition: PoolMgr.h:34

Member Data Documentation

float PoolObject::chance
uint64 PoolObject::guid

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