C# Class ABM_creator.Consumable

Mostrar archivo Open project: ALandFarAway/ALFA-Base-Resources

Public Properties

Property Type Description
blueprint NWN2ItemBlueprint

Public Methods

Method Description
Consumable ( int ip, int spellId, int spellLevel, int casterLevel, CNWSpell spell, bool adjustCost = true, string iconName = null ) : System
GetMissingIcons ( ) : string>.Dictionary
baseName ( int spellId ) : string
itemProperty ( int castSpellIp ) : NWN2ItemPropertyInfo

Protected Methods

Method Description
GetAuraDescription ( int spellLevel, CNWSpell spell ) : string
cost ( int spellLevel, int casterLevel ) : int
findIconName ( int spellId, CNWSpell spell, int spellLevel ) : string
flagIconMissingForSpell ( int spellId, string spellName ) : void

Private Methods

Method Description
ConsumableName ( CNWSpell spell, int spellId, int spellLevel, int casterLevel ) : string
GetAuraStrength ( int spellLevel ) : string
GetSpellName ( NWN2Toolset spell ) : string

Method Details

Consumable() public method

public Consumable ( int ip, int spellId, int spellLevel, int casterLevel, CNWSpell spell, bool adjustCost = true, string iconName = null ) : System
ip int
spellId int
spellLevel int
casterLevel int
spell CNWSpell
adjustCost bool
iconName string
return System

GetAuraDescription() protected method

protected GetAuraDescription ( int spellLevel, CNWSpell spell ) : string
spellLevel int
spell CNWSpell
return string

GetMissingIcons() public abstract method

public abstract GetMissingIcons ( ) : string>.Dictionary
return string>.Dictionary

baseName() public abstract method

public abstract baseName ( int spellId ) : string
spellId int
return string

cost() protected method

protected cost ( int spellLevel, int casterLevel ) : int
spellLevel int
casterLevel int
return int

findIconName() protected abstract method

protected abstract findIconName ( int spellId, CNWSpell spell, int spellLevel ) : string
spellId int
spell CNWSpell
spellLevel int
return string

flagIconMissingForSpell() protected method

protected flagIconMissingForSpell ( int spellId, string spellName ) : void
spellId int
spellName string
return void

itemProperty() public method

public itemProperty ( int castSpellIp ) : NWN2ItemPropertyInfo
castSpellIp int
return NWN2ItemPropertyInfo

Property Details

blueprint public_oe property

public NWN2ItemBlueprint blueprint
return NWN2ItemBlueprint