C# Class Server.Items.BaseTool

Inheritance: Server.BaseItem, IUsesRemaining
Show file Open project: Grimoric/RunUO.T2A Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
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

Method Details

BaseTool() public method

public BaseTool ( Server.Serial serial ) : System
serial Server.Serial
return System

BaseTool() public method

public BaseTool ( int itemID ) : System
itemID int
return System

BaseTool() public method

public BaseTool ( int uses, int itemID ) : System
uses int
itemID int
return System

CheckAccessible() public static method

public static CheckAccessible ( Item tool, Server.Mobile m ) : bool
tool Item
m Server.Mobile
return bool

CheckTool() public static method

public static CheckTool ( Item tool, Server.Mobile m ) : bool
tool Item
m Server.Mobile
return bool

Deserialize() public method

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

DisplayDurabilityTo() public method

public DisplayDurabilityTo ( Server.Mobile m ) : void
m Server.Mobile
return void

GetProperties() public method

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

GetUsesScalar() public method

public GetUsesScalar ( ) : int
return int

OnCraft() public method

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
return int

OnDoubleClick() public method

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

OnSingleClick() public method

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

ScaleUses() public method

public ScaleUses ( ) : void
return void

Serialize() public method

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

UnscaleUses() public method

public UnscaleUses ( ) : void
return void