1 #ifndef PLIB_UOEXPANSION_H 2 #define PLIB_UOEXPANSION_H 4 #include "../clib/compilerspecifics.h" 5 #include "../clib/rawtypes.h" 92 virtual bool hasFeature(
A9Feature feature )
const = 0;
93 virtual bool hasFeature(
B9Feature feature )
const = 0;
94 virtual u32 A9Flags()
const = 0;
95 virtual u32 B9Flags()
const = 0;
117 return myVersion >= version;
135 : m_A9Flag( A9Flag ), m_B9Flag( B9Flag ), m_slots( slots ), m_version( version )
143 return ( m_A9Flag & static_cast<u32>( x ) ) != 0;
147 return ( m_B9Flag & static_cast<u32>( x ) ) != 0;
bool hasNewMovementPacket() const
virtual bool hasFeature(A9Feature x) const POL_OVERRIDE
virtual int characterSlots() const POL_OVERRIDE
virtual ExpansionVersion version() const
virtual bool hasFeature(A9Feature feature) const =0
virtual int characterSlots() const
virtual ExpansionVersion version() const POL_OVERRIDE
virtual u32 B9Flags() const POL_OVERRIDE
FlagExpansion(u32 A9Flag, u32 B9Flag, int slots, ExpansionVersion version)
bool hasCustomHousing() const
ClientFeatures(UOExpansion &expansion)
const UOExpansion & m_expansion
ExpansionVersion m_version
virtual bool hasFeature(B9Feature x) const POL_OVERRIDE
virtual u32 A9Flags() const POL_OVERRIDE
bool hasSamuraiNinja() const
bool supports(ExpansionVersion version) const
bool hasContextMenus() const
bool hasElvenRace() const
const char * getExpansionName(ExpansionVersion x)