C# Class Server.Items.BaseArmor

Inheritance: Item, IScissorable, IFactionItem, ICraftable, IWearableDurability
Mostrar archivo Open project: Grimoric/RunUO.T2A Class Usage Examples

Private Properties

Property Type Description
GetNameString string
GetSaveFlag bool
SetSaveFlag void

Public Methods

Method Description
AddNameProperty ( ObjectPropertyList list ) : void
AllowEquipedCast ( Mobile from ) : bool
BaseArmor ( Serial serial ) : System
BaseArmor ( int itemID ) : System
CanEquip ( Mobile from ) : bool
CheckPropertyConfliction ( Mobile m ) : bool
ComputeStatReq ( StatType type ) : int
Deserialize ( GenericReader reader ) : void
GetDurabilityBonus ( ) : int
GetLuckBonus ( ) : int
GetProperties ( ObjectPropertyList list ) : void
GetProtOffset ( ) : int
GetResourceAttrs ( ) : CraftAttributeInfo
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

Protected Methods

Method Description
Invalidate ( ) : void

Private Methods

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

Method Details

AddNameProperty() public method

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

AllowEquipedCast() public method

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

BaseArmor() public method

public BaseArmor ( Serial serial ) : System
serial Serial
return System

BaseArmor() public method

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

CanEquip() public method

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

CheckPropertyConfliction() public method

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

ComputeStatReq() public method

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

Deserialize() public method

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

GetDurabilityBonus() public method

public GetDurabilityBonus ( ) : int
return int

GetLuckBonus() public method

public GetLuckBonus ( ) : int
return int

GetProperties() public method

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

GetProtOffset() public method

public GetProtOffset ( ) : int
return int

GetResourceAttrs() public method

public GetResourceAttrs ( ) : CraftAttributeInfo
return CraftAttributeInfo

Invalidate() protected method

protected Invalidate ( ) : void
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 Server.Engines.Craft.CraftSystem
typeRes System.Type
tool BaseTool
craftItem Server.Engines.Craft.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