Planeshift
ClampedPositiveBuffable< T > Class Template Reference

A special form of buffable that is clamped to always return a positive number. More...

#include <buffable.h>

Public Member Functions

int Current ()
 
- Public Member Functions inherited from Buffable< T >
Base () const
 
void Buff (const ActiveSpell *owner, T x)
 
 Buffable ()
 
 Buffable (T x)
 
virtual void Cancel (const ActiveSpell *owner)
 
Current () const
 
void SetBase (T x)
 
virtual ~Buffable ()
 
- Public Member Functions inherited from iSpellModifier
virtual ~iSpellModifier ()
 

Additional Inherited Members

- Protected Member Functions inherited from Buffable< T >
virtual void OnChange ()
 Called whenever the value changes; implemented in derived classes. More...
 
- Protected Attributes inherited from Buffable< T >
base
 
csArray< csTuple2< const ActiveSpell *, T > > buffs
 
cached
 

Detailed Description

template<typename T>
class ClampedPositiveBuffable< T >

A special form of buffable that is clamped to always return a positive number.

Definition at line 278 of file buffable.h.

Member Function Documentation

template<typename T>
int ClampedPositiveBuffable< T >::Current ( )
inline

Definition at line 282 of file buffable.h.


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