C# 클래스 Server.Spells.SpellRegistry

파일 보기 프로젝트 열기: Grimoric/RunUO.T2A 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

GetRegistryNumber() 공개 정적인 메소드

public static GetRegistryNumber ( ISpell s ) : int
s ISpell
리턴 int

GetRegistryNumber() 공개 정적인 메소드

public static GetRegistryNumber ( Type type ) : int
type System.Type
리턴 int

NewSpell() 공개 정적인 메소드

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

NewSpell() 공개 정적인 메소드

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

Register() 공개 정적인 메소드

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