C# Class Server.Items.BaseInstrument

Inheritance: Item, ICraftable, ISlayer
Mostrar archivo Open project: Grimoric/RunUO.T2A Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
BaseInstrument ( Serial serial ) : System
BaseInstrument ( int itemID, int wellSound, int badlySound ) : System
CheckMusicianship ( Mobile m ) : bool
CheckReplenishUses ( ) : void
CheckReplenishUses ( bool invalidate ) : void
ConsumeUse ( Mobile from ) : void
Deserialize ( GenericReader reader ) : void
GetBardRange ( Mobile bard, SkillName skill ) : int
GetBaseDifficulty ( Mobile targ ) : double
GetDifficultyFor ( Mobile targ ) : double
GetInstrument ( Mobile from ) : BaseInstrument
GetPoisonLevel ( BaseCreature bc ) : int
GetProperties ( ObjectPropertyList list ) : void
GetUsesScalar ( ) : int
IsFireBreathingCreature ( BaseCreature bc ) : bool
IsMageryCreature ( BaseCreature bc ) : bool
IsPoisonImmune ( BaseCreature bc ) : bool
OnCraft ( int quality, bool makersMark, Mobile from, CraftSystem craftSystem, Type typeRes, BaseTool tool, CraftItem craftItem, int resHue ) : int
OnDoubleClick ( Mobile from ) : void
OnPickedInstrument ( Mobile from, object targeted, object state ) : void
OnSingleClick ( Mobile from ) : void
PickInstrument ( Mobile from, InstrumentPickedCallback callback ) : void
PlayInstrumentBadly ( Mobile from ) : void
PlayInstrumentWell ( Mobile from ) : void
ScaleUses ( ) : void
Serialize ( GenericWriter writer ) : void
SetInstrument ( Mobile from, BaseInstrument item ) : void
UnscaleUses ( ) : void

Method Details

BaseInstrument() public method

public BaseInstrument ( Serial serial ) : System
serial Serial
return System

BaseInstrument() public method

public BaseInstrument ( int itemID, int wellSound, int badlySound ) : System
itemID int
wellSound int
badlySound int
return System

CheckMusicianship() public static method

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

CheckReplenishUses() public method

public CheckReplenishUses ( ) : void
return void

CheckReplenishUses() public method

public CheckReplenishUses ( bool invalidate ) : void
invalidate bool
return void

ConsumeUse() public method

public ConsumeUse ( Mobile from ) : void
from Mobile
return void

Deserialize() public method

public Deserialize ( GenericReader reader ) : void
reader GenericReader
return void

GetBardRange() public static method

public static GetBardRange ( Mobile bard, SkillName skill ) : int
bard Mobile
skill SkillName
return int

GetBaseDifficulty() public static method

public static GetBaseDifficulty ( Mobile targ ) : double
targ Mobile
return double

GetDifficultyFor() public method

public GetDifficultyFor ( Mobile targ ) : double
targ Mobile
return double

GetInstrument() public static method

public static GetInstrument ( Mobile from ) : BaseInstrument
from Mobile
return BaseInstrument

GetPoisonLevel() public static method

public static GetPoisonLevel ( BaseCreature bc ) : int
bc Server.Mobiles.BaseCreature
return int

GetProperties() public method

public GetProperties ( ObjectPropertyList list ) : void
list ObjectPropertyList
return void

GetUsesScalar() public method

public GetUsesScalar ( ) : int
return int

IsFireBreathingCreature() public static method

public static IsFireBreathingCreature ( BaseCreature bc ) : bool
bc Server.Mobiles.BaseCreature
return bool

IsMageryCreature() public static method

public static IsMageryCreature ( BaseCreature bc ) : bool
bc Server.Mobiles.BaseCreature
return bool

IsPoisonImmune() public static method

public static IsPoisonImmune ( BaseCreature bc ) : bool
bc BaseCreature
return bool

OnCraft() public method

public OnCraft ( int quality, bool makersMark, Mobile from, CraftSystem craftSystem, Type typeRes, BaseTool tool, CraftItem craftItem, int resHue ) : int
quality int
makersMark bool
from Mobile
craftSystem CraftSystem
typeRes Type
tool BaseTool
craftItem CraftItem
resHue int
return int

OnDoubleClick() public method

public OnDoubleClick ( Mobile from ) : void
from Mobile
return void

OnPickedInstrument() public static method

public static OnPickedInstrument ( Mobile from, object targeted, object state ) : void
from Mobile
targeted object
state object
return void

OnSingleClick() public method

public OnSingleClick ( Mobile from ) : void
from Mobile
return void

PickInstrument() public static method

public static PickInstrument ( Mobile from, InstrumentPickedCallback callback ) : void
from Mobile
callback InstrumentPickedCallback
return void

PlayInstrumentBadly() public method

public PlayInstrumentBadly ( Mobile from ) : void
from Mobile
return void

PlayInstrumentWell() public method

public PlayInstrumentWell ( Mobile from ) : void
from Mobile
return void

ScaleUses() public method

public ScaleUses ( ) : void
return void

Serialize() public method

public Serialize ( GenericWriter writer ) : void
writer GenericWriter
return void

SetInstrument() public static method

public static SetInstrument ( Mobile from, BaseInstrument item ) : void
from Mobile
item BaseInstrument
return void

UnscaleUses() public method

public UnscaleUses ( ) : void
return void