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

Наследование: Server.BaseItem, IUsesRemaining
Показать файл Открыть проект Примеры использования класса

Private Properties

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

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

Метод Описание
BaseTool ( Server.Serial serial ) : System
BaseTool ( int itemID ) : System
BaseTool ( int uses, int itemID ) : System
CheckAccessible ( Item tool, Server.Mobile m ) : bool
CheckTool ( Item tool, Server.Mobile m ) : bool
Deserialize ( Server.GenericReader reader ) : void
DisplayDurabilityTo ( Server.Mobile m ) : void
GetProperties ( ObjectPropertyList list ) : void
GetUsesScalar ( ) : int
OnCraft ( int quality, bool makersMark, Server.Mobile from, CraftSystem craftSystem, Type typeRes, BaseTool tool, CraftItem craftItem, int resHue ) : int
OnDoubleClick ( Server.Mobile from ) : void
OnSingleClick ( Server.Mobile from ) : void
ScaleUses ( ) : void
Serialize ( Server.GenericWriter writer ) : void
UnscaleUses ( ) : void

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

BaseTool() публичный метод

public BaseTool ( Server.Serial serial ) : System
serial Server.Serial
Результат System

BaseTool() публичный метод

public BaseTool ( int itemID ) : System
itemID int
Результат System

BaseTool() публичный метод

public BaseTool ( int uses, int itemID ) : System
uses int
itemID int
Результат System

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

public static CheckAccessible ( Item tool, Server.Mobile m ) : bool
tool Item
m Server.Mobile
Результат bool

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

public static CheckTool ( Item tool, Server.Mobile m ) : bool
tool Item
m Server.Mobile
Результат bool

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

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

DisplayDurabilityTo() публичный метод

public DisplayDurabilityTo ( Server.Mobile m ) : void
m Server.Mobile
Результат void

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

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

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

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

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

public OnCraft ( int quality, bool makersMark, Server.Mobile from, CraftSystem craftSystem, Type typeRes, BaseTool tool, CraftItem craftItem, int resHue ) : int
quality int
makersMark bool
from Server.Mobile
craftSystem Server.Engines.Craft.CraftSystem
typeRes System.Type
tool BaseTool
craftItem Server.Engines.Craft.CraftItem
resHue int
Результат int

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

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

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

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

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

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

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

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

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

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