C# Class Server.Items.BaseClothing

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

Protected Properties

Свойство Type Description
m_Resource CraftResource

Private Properties

Свойство Type Description
GetNameString string
GetSaveFlag bool
SetSaveFlag void

Méthodes publiques

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

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

Method Details

AddEquipInfoAttributes() public méthode

public AddEquipInfoAttributes ( Server.Mobile from, List attrs ) : void
from Server.Mobile
attrs List
Résultat void

AddNameProperty() public méthode

public AddNameProperty ( ObjectPropertyList list ) : void
list Server.ObjectPropertyList
Résultat void

AddStatBonuses() public méthode

public AddStatBonuses ( Server.Mobile parent ) : void
parent Server.Mobile
Résultat void

AllowEquipedCast() public méthode

public AllowEquipedCast ( Server.Mobile from ) : bool
from Server.Mobile
Résultat bool

BaseClothing() public méthode

public BaseClothing ( Server.Serial serial ) : System
serial Server.Serial
Résultat System

BaseClothing() public méthode

public BaseClothing ( int itemID, Layer layer ) : System
itemID int
layer Layer
Résultat System

BaseClothing() public méthode

public BaseClothing ( int itemID, Layer layer, int hue ) : System
itemID int
layer Layer
hue int
Résultat System

CanEquip() public méthode

public CanEquip ( Server.Mobile from ) : bool
from Server.Mobile
Résultat bool

CheckPropertyConfliction() public méthode

public CheckPropertyConfliction ( Mobile m ) : bool
m Mobile
Résultat bool

ComputeStatBonus() public méthode

public ComputeStatBonus ( StatType type ) : int
type StatType
Résultat int

Deserialize() public méthode

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

Dye() public méthode

public Dye ( Mobile from, DyeTub sender ) : bool
from Mobile
sender DyeTub
Résultat bool

GetProperties() public méthode

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

OnAdded() public méthode

public OnAdded ( object parent ) : void
parent object
Résultat void

OnAfterDuped() public méthode

public OnAfterDuped ( Item newItem ) : void
newItem Item
Résultat void

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

OnHit() public méthode

public OnHit ( BaseWeapon weapon, int damageTaken ) : int
weapon BaseWeapon
damageTaken int
Résultat int

OnRemoved() public méthode

public OnRemoved ( object parent ) : void
parent object
Résultat void

OnSingleClick() public méthode

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

ScaleArmorByDurability() public méthode

public ScaleArmorByDurability ( double armor ) : double
armor double
Résultat double

ScaleDurability() public méthode

public ScaleDurability ( ) : void
Résultat void

Scissor() public méthode

public Scissor ( Mobile from, Scissors scissors ) : bool
from Mobile
scissors Scissors
Résultat bool

Serialize() public méthode

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

UnscaleDurability() public méthode

public UnscaleDurability ( ) : void
Résultat void

ValidateMobile() public static méthode

public static ValidateMobile ( Mobile m ) : void
m Mobile
Résultat void

Property Details

m_Resource protected_oe property

protected CraftResource m_Resource
Résultat CraftResource