C# Class Server.Spells.SpellRegistry

Datei anzeigen Open project: Grimoric/RunUO.T2A Class Usage Examples

Public Methods

Method Description
GetRegistryNumber ( ISpell s ) : int
GetRegistryNumber ( Type type ) : int
NewSpell ( int spellID, Mobile caster, System.Item scroll ) : Spell
NewSpell ( string name, Mobile caster, System.Item scroll ) : Spell
Register ( int spellID, Type type ) : void

Method Details

GetRegistryNumber() public static method

public static GetRegistryNumber ( ISpell s ) : int
s ISpell
return int

GetRegistryNumber() public static method

public static GetRegistryNumber ( Type type ) : int
type System.Type
return int

NewSpell() public static method

public static NewSpell ( int spellID, Mobile caster, System.Item scroll ) : Spell
spellID int
caster Mobile
scroll System.Item
return Spell

NewSpell() public static method

public static NewSpell ( string name, Mobile caster, System.Item scroll ) : Spell
name string
caster Mobile
scroll System.Item
return Spell

Register() public static method

public static Register ( int spellID, Type type ) : void
spellID int
type System.Type
return void