CSpell Class


Overview

Note

The CSpell class handles spells and spell information

The structure used for this class is CSpell


Quick Reference

Quick Ref

void CCSpell::~CSpell()

int CSpell::Demand()

Spell_ability_st* CSpell::GetAbility(long abilityNum)

int CSpell::GetAbilityCount()

CGameEffect* CSpell::GetAbilityEffect(long abilityNum, long effectNum, CGameObject* pObject)

unsigned short CSpell::GetAnimationType()

short CSpell::GetCasterType()

CGameEffect* CSpell::GetCastingEffect(long effectNum)

short CSpell::GetCastingEffectNo()

CResRef CSpell::GetCastingSound()

unsigned long CSpell::GetDescription()

unsigned long CSpell::GetGenericName()

int CSpell::GetIcon(unsigned char* resRef)

unsigned long CSpell::GetItemFlags()

short CSpell::GetLevel()

unsigned long CSpell::GetNotUsableBy()

unsigned char CSpell::GetSchool()


Constructors

Name

Description

CSpell::CSpell

Constructs a CSpell object

CSpell::CSpell

Constructs a CSpell object

void CSpell::CSpell();

Remarks

Constructs a CSpell object


Methods

Name

Description

CSpell::Demand

CSpell::GetAbility

CSpell::GetAbilityCount

CSpell::GetAbilityEffect

CSpell::GetAnimationType

CSpell::GetCasterType

CSpell::GetCastingEffect

CSpell::GetCastingEffectNo

CSpell::GetCastingSound

CSpell::GetDescription

CSpell::GetGenericName

CSpell::GetIcon

CSpell::GetItemFlags

CSpell::GetLevel

CSpell::GetNotUsableBy

CSpell::GetSchool


CSpell::Demand

x;

Parameters

Return Value

Returns

Remarks


CSpell::GetAbility

x;

Parameters

Return Value

Returns

Remarks


CSpell::GetAbilityCount

x;

Parameters

Return Value

Returns

Remarks


CSpell::GetAbilityEffect

x;

Parameters

Return Value

Returns

Remarks


CSpell::GetAnimationType

x;

Parameters

Return Value

Returns

Remarks


CSpell::GetCasterType

x;

Parameters

Return Value

Returns

Remarks


CSpell::GetCastingEffect

x;

Parameters

Return Value

Returns

Remarks


CSpell::GetCastingEffectNo

x;

Parameters

Return Value

Returns

Remarks


CSpell::GetCastingSound

x;

Parameters

Return Value

Returns

Remarks


CSpell::GetDescription

x;

Parameters

Return Value

Returns

Remarks


CSpell::GetGenericName

x;

Parameters

Return Value

Returns

Remarks


CSpell::GetIcon

x;

Parameters

Return Value

Returns

Remarks


CSpell::GetItemFlags

x;

Parameters

Return Value

Returns

Remarks


CSpell::GetLevel

x;

Parameters

Return Value

Returns

Remarks


CSpell::GetNotUsableBy

x;

Parameters

Return Value

Returns

Remarks


CSpell::GetSchool

x;

Parameters

Return Value

Returns

Remarks