C# Class Server.Spells.TransformationSpellHelper

Exibir arquivo Open project: Grimoric/RunUO.T2A Class Usage Examples

Public Methods

Method Description
AddContext ( Mobile m, TransformContext context ) : void
CheckCast ( Mobile caster ) : bool
GetContext ( Mobile m ) : TransformContext
OnCast ( Mobile caster, Spell spell ) : bool
RemoveContext ( Mobile m, TransformContext context, bool resetGraphics ) : void
RemoveContext ( Mobile m, bool resetGraphics ) : void
UnderTransformation ( Mobile m ) : bool
UnderTransformation ( Mobile m, Type type ) : bool

Method Details

AddContext() public static method

public static AddContext ( Mobile m, TransformContext context ) : void
m Mobile
context TransformContext
return void

CheckCast() public static method

public static CheckCast ( Mobile caster ) : bool
caster Mobile
return bool

GetContext() public static method

public static GetContext ( Mobile m ) : TransformContext
m Mobile
return TransformContext

OnCast() public static method

public static OnCast ( Mobile caster, Spell spell ) : bool
caster Mobile
spell Spell
return bool

RemoveContext() public static method

public static RemoveContext ( Mobile m, TransformContext context, bool resetGraphics ) : void
m Mobile
context TransformContext
resetGraphics bool
return void

RemoveContext() public static method

public static RemoveContext ( Mobile m, bool resetGraphics ) : void
m Mobile
resetGraphics bool
return void

UnderTransformation() public static method

public static UnderTransformation ( Mobile m ) : bool
m Mobile
return bool

UnderTransformation() public static method

public static UnderTransformation ( Mobile m, Type type ) : bool
m Mobile
type System.Type
return bool