C# Class Server.Items.BaseInstrument

Inheritance: Item, ICraftable, ISlayer
Afficher le fichier Open project: Grimoric/RunUO.T2A Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

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

public BaseInstrument ( Serial serial ) : System
serial Serial
Résultat System

BaseInstrument() public méthode

public BaseInstrument ( int itemID, int wellSound, int badlySound ) : System
itemID int
wellSound int
badlySound int
Résultat System

CheckMusicianship() public static méthode

public static CheckMusicianship ( Mobile m ) : bool
m Mobile
Résultat bool

CheckReplenishUses() public méthode

public CheckReplenishUses ( ) : void
Résultat void

CheckReplenishUses() public méthode

public CheckReplenishUses ( bool invalidate ) : void
invalidate bool
Résultat void

ConsumeUse() public méthode

public ConsumeUse ( Mobile from ) : void
from Mobile
Résultat void

Deserialize() public méthode

public Deserialize ( GenericReader reader ) : void
reader GenericReader
Résultat void

GetBardRange() public static méthode

public static GetBardRange ( Mobile bard, SkillName skill ) : int
bard Mobile
skill SkillName
Résultat int

GetBaseDifficulty() public static méthode

public static GetBaseDifficulty ( Mobile targ ) : double
targ Mobile
Résultat double

GetDifficultyFor() public méthode

public GetDifficultyFor ( Mobile targ ) : double
targ Mobile
Résultat double

GetInstrument() public static méthode

public static GetInstrument ( Mobile from ) : BaseInstrument
from Mobile
Résultat BaseInstrument

GetPoisonLevel() public static méthode

public static GetPoisonLevel ( BaseCreature bc ) : int
bc Server.Mobiles.BaseCreature
Résultat int

GetProperties() public méthode

public GetProperties ( ObjectPropertyList list ) : void
list ObjectPropertyList
Résultat void

GetUsesScalar() public méthode

public GetUsesScalar ( ) : int
Résultat int

IsFireBreathingCreature() public static méthode

public static IsFireBreathingCreature ( BaseCreature bc ) : bool
bc Server.Mobiles.BaseCreature
Résultat bool

IsMageryCreature() public static méthode

public static IsMageryCreature ( BaseCreature bc ) : bool
bc Server.Mobiles.BaseCreature
Résultat bool

IsPoisonImmune() public static méthode

public static IsPoisonImmune ( BaseCreature bc ) : bool
bc BaseCreature
Résultat bool

OnCraft() public méthode

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
Résultat int

OnDoubleClick() public méthode

public OnDoubleClick ( Mobile from ) : void
from Mobile
Résultat void

OnPickedInstrument() public static méthode

public static OnPickedInstrument ( Mobile from, object targeted, object state ) : void
from Mobile
targeted object
state object
Résultat void

OnSingleClick() public méthode

public OnSingleClick ( Mobile from ) : void
from Mobile
Résultat void

PickInstrument() public static méthode

public static PickInstrument ( Mobile from, InstrumentPickedCallback callback ) : void
from Mobile
callback InstrumentPickedCallback
Résultat void

PlayInstrumentBadly() public méthode

public PlayInstrumentBadly ( Mobile from ) : void
from Mobile
Résultat void

PlayInstrumentWell() public méthode

public PlayInstrumentWell ( Mobile from ) : void
from Mobile
Résultat void

ScaleUses() public méthode

public ScaleUses ( ) : void
Résultat void

Serialize() public méthode

public Serialize ( GenericWriter writer ) : void
writer GenericWriter
Résultat void

SetInstrument() public static méthode

public static SetInstrument ( Mobile from, BaseInstrument item ) : void
from Mobile
item BaseInstrument
Résultat void

UnscaleUses() public méthode

public UnscaleUses ( ) : void
Résultat void