C# Class Server.Items.BaseClothing

Inheritance: Server.Items.BaseWearable, IDyable, IScissorable, IFactionItem, ICraftable, IWearableDurability
Exibir arquivo Open project: Grimoric/RunUO.T2A Class Usage Examples

Protected Properties

Property Type Description
m_Resource CraftResource

Private Properties

Property Type Description
GetNameString string
GetSaveFlag bool
SetSaveFlag void

Public Methods

Method Description
AddEquipInfoAttributes ( Server.Mobile from, List attrs ) : void
AddNameProperty ( ObjectPropertyList list ) : void
AddStatBonuses ( Server.Mobile parent ) : void
AllowEquipedCast ( Server.Mobile from ) : bool
BaseClothing ( Server.Serial serial ) : System
BaseClothing ( int itemID, Layer layer ) : System
BaseClothing ( int itemID, Layer layer, int hue ) : System
CanEquip ( Server.Mobile from ) : bool
CheckPropertyConfliction ( Mobile m ) : bool
ComputeStatBonus ( StatType type ) : int
Deserialize ( GenericReader reader ) : void
Dye ( Mobile from, DyeTub sender ) : bool
GetProperties ( ObjectPropertyList list ) : void
OnAdded ( object parent ) : void
OnAfterDuped ( Item newItem ) : void
OnCraft ( int quality, bool makersMark, Mobile from, CraftSystem craftSystem, Type typeRes, BaseTool tool, CraftItem craftItem, int resHue ) : int
OnHit ( BaseWeapon weapon, int damageTaken ) : int
OnRemoved ( object parent ) : void
OnSingleClick ( Mobile from ) : void
ScaleArmorByDurability ( double armor ) : double
ScaleDurability ( ) : void
Scissor ( Mobile from, Scissors scissors ) : bool
Serialize ( GenericWriter writer ) : void
UnscaleDurability ( ) : void
ValidateMobile ( Mobile m ) : void

Private Methods

Method Description
GetNameString ( ) : string
GetSaveFlag ( SaveFlag flags, SaveFlag toGet ) : bool
SetSaveFlag ( SaveFlag &flags, SaveFlag toSet, bool setIf ) : void

Method Details

AddEquipInfoAttributes() public method

public AddEquipInfoAttributes ( Server.Mobile from, List attrs ) : void
from Server.Mobile
attrs List
return void

AddNameProperty() public method

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

AddStatBonuses() public method

public AddStatBonuses ( Server.Mobile parent ) : void
parent Server.Mobile
return void

AllowEquipedCast() public method

public AllowEquipedCast ( Server.Mobile from ) : bool
from Server.Mobile
return bool

BaseClothing() public method

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

BaseClothing() public method

public BaseClothing ( int itemID, Layer layer ) : System
itemID int
layer Layer
return System

BaseClothing() public method

public BaseClothing ( int itemID, Layer layer, int hue ) : System
itemID int
layer Layer
hue int
return System

CanEquip() public method

public CanEquip ( Server.Mobile from ) : bool
from Server.Mobile
return bool

CheckPropertyConfliction() public method

public CheckPropertyConfliction ( Mobile m ) : bool
m Mobile
return bool

ComputeStatBonus() public method

public ComputeStatBonus ( StatType type ) : int
type StatType
return int

Deserialize() public method

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

Dye() public method

public Dye ( Mobile from, DyeTub sender ) : bool
from Mobile
sender DyeTub
return bool

GetProperties() public method

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

OnAdded() public method

public OnAdded ( object parent ) : void
parent object
return void

OnAfterDuped() public method

public OnAfterDuped ( Item newItem ) : void
newItem Item
return void

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

OnHit() public method

public OnHit ( BaseWeapon weapon, int damageTaken ) : int
weapon BaseWeapon
damageTaken int
return int

OnRemoved() public method

public OnRemoved ( object parent ) : void
parent object
return void

OnSingleClick() public method

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

ScaleArmorByDurability() public method

public ScaleArmorByDurability ( double armor ) : double
armor double
return double

ScaleDurability() public method

public ScaleDurability ( ) : void
return void

Scissor() public method

public Scissor ( Mobile from, Scissors scissors ) : bool
from Mobile
scissors Scissors
return bool

Serialize() public method

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

UnscaleDurability() public method

public UnscaleDurability ( ) : void
return void

ValidateMobile() public static method

public static ValidateMobile ( Mobile m ) : void
m Mobile
return void

Property Details

m_Resource protected_oe property

protected CraftResource m_Resource
return CraftResource