C# Класс Server.Items.BaseInstrument

Наследование: Item, ICraftable, ISlayer
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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

Описание методов

BaseInstrument() публичный Метод

public BaseInstrument ( Serial serial ) : System
serial Serial
Результат System

BaseInstrument() публичный Метод

public BaseInstrument ( int itemID, int wellSound, int badlySound ) : System
itemID int
wellSound int
badlySound int
Результат System

CheckMusicianship() публичный статический Метод

public static CheckMusicianship ( Mobile m ) : bool
m Mobile
Результат bool

CheckReplenishUses() публичный Метод

public CheckReplenishUses ( ) : void
Результат void

CheckReplenishUses() публичный Метод

public CheckReplenishUses ( bool invalidate ) : void
invalidate bool
Результат void

ConsumeUse() публичный Метод

public ConsumeUse ( Mobile from ) : void
from Mobile
Результат void

Deserialize() публичный Метод

public Deserialize ( GenericReader reader ) : void
reader GenericReader
Результат void

GetBardRange() публичный статический Метод

public static GetBardRange ( Mobile bard, SkillName skill ) : int
bard Mobile
skill SkillName
Результат int

GetBaseDifficulty() публичный статический Метод

public static GetBaseDifficulty ( Mobile targ ) : double
targ Mobile
Результат double

GetDifficultyFor() публичный Метод

public GetDifficultyFor ( Mobile targ ) : double
targ Mobile
Результат double

GetInstrument() публичный статический Метод

public static GetInstrument ( Mobile from ) : BaseInstrument
from Mobile
Результат BaseInstrument

GetPoisonLevel() публичный статический Метод

public static GetPoisonLevel ( BaseCreature bc ) : int
bc Server.Mobiles.BaseCreature
Результат int

GetProperties() публичный Метод

public GetProperties ( ObjectPropertyList list ) : void
list ObjectPropertyList
Результат void

GetUsesScalar() публичный Метод

public GetUsesScalar ( ) : int
Результат int

IsFireBreathingCreature() публичный статический Метод

public static IsFireBreathingCreature ( BaseCreature bc ) : bool
bc Server.Mobiles.BaseCreature
Результат bool

IsMageryCreature() публичный статический Метод

public static IsMageryCreature ( BaseCreature bc ) : bool
bc Server.Mobiles.BaseCreature
Результат bool

IsPoisonImmune() публичный статический Метод

public static IsPoisonImmune ( BaseCreature bc ) : bool
bc BaseCreature
Результат bool

OnCraft() публичный Метод

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
Результат int

OnDoubleClick() публичный Метод

public OnDoubleClick ( Mobile from ) : void
from Mobile
Результат void

OnPickedInstrument() публичный статический Метод

public static OnPickedInstrument ( Mobile from, object targeted, object state ) : void
from Mobile
targeted object
state object
Результат void

OnSingleClick() публичный Метод

public OnSingleClick ( Mobile from ) : void
from Mobile
Результат void

PickInstrument() публичный статический Метод

public static PickInstrument ( Mobile from, InstrumentPickedCallback callback ) : void
from Mobile
callback InstrumentPickedCallback
Результат void

PlayInstrumentBadly() публичный Метод

public PlayInstrumentBadly ( Mobile from ) : void
from Mobile
Результат void

PlayInstrumentWell() публичный Метод

public PlayInstrumentWell ( Mobile from ) : void
from Mobile
Результат void

ScaleUses() публичный Метод

public ScaleUses ( ) : void
Результат void

Serialize() публичный Метод

public Serialize ( GenericWriter writer ) : void
writer GenericWriter
Результат void

SetInstrument() публичный статический Метод

public static SetInstrument ( Mobile from, BaseInstrument item ) : void
from Mobile
item BaseInstrument
Результат void

UnscaleUses() публичный Метод

public UnscaleUses ( ) : void
Результат void