C# Class Server.Spells.SpellRegistry

Afficher le fichier Open project: Grimoric/RunUO.T2A Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public static GetRegistryNumber ( ISpell s ) : int
s ISpell
Résultat int

GetRegistryNumber() public static méthode

public static GetRegistryNumber ( Type type ) : int
type System.Type
Résultat int

NewSpell() public static méthode

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

NewSpell() public static méthode

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

Register() public static méthode

public static Register ( int spellID, Type type ) : void
spellID int
type System.Type
Résultat void