Pol  Revision:cb584c9
Pol::Core::ValueModPack Struct Reference

#include <dynproperties.h>

Public Member Functions

 ValueModPack (s16 value_)
 
 ValueModPack ()
 
ValueModPackaddToMod (s16 other)
 
ValueModPackaddToValue (const ValueModPack &other)
 
ValueModPackaddToValue (s16 other)
 
bool operator== (const ValueModPack &other) const
 
ValueModPackresetModAsValue ()
 
ValueModPacksetAsMod (s16 other)
 
s16 sum () const
 

Public Attributes

s16 mod
 
s16 value
 

Static Public Attributes

static const ValueModPack DEFAULT = ValueModPack()
 

Detailed Description

Definition at line 151 of file dynproperties.h.

Constructor & Destructor Documentation

Pol::Core::ValueModPack::ValueModPack ( s16  value_)
inline

Definition at line 330 of file dynproperties.h.

Pol::Core::ValueModPack::ValueModPack ( )
inline

Definition at line 331 of file dynproperties.h.

Member Function Documentation

ValueModPack & Pol::Core::ValueModPack::addToMod ( s16  other)
inline

Definition at line 346 of file dynproperties.h.

References mod.

ValueModPack & Pol::Core::ValueModPack::addToValue ( const ValueModPack other)
inline

Definition at line 336 of file dynproperties.h.

References mod, and value.

Referenced by Pol::Mobile::NPC::loadEquipablePropertiesNPC().

ValueModPack & Pol::Core::ValueModPack::addToValue ( s16  other)
inline

Definition at line 341 of file dynproperties.h.

References value.

bool Pol::Core::ValueModPack::operator== ( const ValueModPack other) const
inline

Definition at line 332 of file dynproperties.h.

References mod, and value.

ValueModPack & Pol::Core::ValueModPack::resetModAsValue ( )
inline

Definition at line 356 of file dynproperties.h.

References mod, and value.

ValueModPack & Pol::Core::ValueModPack::setAsMod ( s16  other)
inline

Definition at line 351 of file dynproperties.h.

References mod.

s16 Pol::Core::ValueModPack::sum ( ) const
inline

Definition at line 361 of file dynproperties.h.

References mod, and value.

Member Data Documentation

const ValueModPack Pol::Core::ValueModPack::DEFAULT = ValueModPack()
static

Definition at line 165 of file dynproperties.h.

s16 Pol::Core::ValueModPack::mod
s16 Pol::Core::ValueModPack::value

Definition at line 153 of file dynproperties.h.

Referenced by addToValue(), operator==(), resetModAsValue(), and sum().


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