Core Rules
WoTC AD&D 2nd Edition -- Drakein API Reference
Loading...
Searching...
No Matches
CoreRules::ISpells Class Referenceabstract

#include <ISpells.h>

Public Types

enum  { kWizardBucket = 0 , kPriestBucket = 1 , kBucketCount = 2 }

Public Member Functions

virtual ~ISpells ()
virtual int GetBucketCount () const =0
virtual int GetSpellCount (int bucket) const =0
virtual int GetTotalSpellCount () const =0
virtual ISpellsObGetSpell (int bucket, int index)=0
virtual ISpellsObFindSpell (int bucket, const char *name)=0
virtual bool AddSpell (int bucket, ISpellsOb *spell)=0
virtual bool RemoveSpell (int bucket, int index)=0
virtual void ClearBucket (int bucket)=0
virtual void ClearAll ()=0
virtual bool IsDirty () const =0
virtual void MarkClean ()=0

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kWizardBucket 
kPriestBucket 
kBucketCount 

Constructor & Destructor Documentation

◆ ~ISpells()

virtual CoreRules::ISpells::~ISpells ( )
inlinevirtual

Member Function Documentation

◆ AddSpell()

virtual bool CoreRules::ISpells::AddSpell ( int bucket,
ISpellsOb * spell )
pure virtual

◆ ClearAll()

virtual void CoreRules::ISpells::ClearAll ( )
pure virtual

◆ ClearBucket()

virtual void CoreRules::ISpells::ClearBucket ( int bucket)
pure virtual

◆ FindSpell()

virtual ISpellsOb * CoreRules::ISpells::FindSpell ( int bucket,
const char * name )
pure virtual

◆ GetBucketCount()

virtual int CoreRules::ISpells::GetBucketCount ( ) const
pure virtual

◆ GetSpell()

virtual ISpellsOb * CoreRules::ISpells::GetSpell ( int bucket,
int index )
pure virtual

◆ GetSpellCount()

virtual int CoreRules::ISpells::GetSpellCount ( int bucket) const
pure virtual

◆ GetTotalSpellCount()

virtual int CoreRules::ISpells::GetTotalSpellCount ( ) const
pure virtual

◆ IsDirty()

virtual bool CoreRules::ISpells::IsDirty ( ) const
pure virtual

◆ MarkClean()

virtual void CoreRules::ISpells::MarkClean ( )
pure virtual

◆ RemoveSpell()

virtual bool CoreRules::ISpells::RemoveSpell ( int bucket,
int index )
pure virtual

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