C# 클래스 Server.Items.BaseWeapon

상속: Item, IWeapon, IFactionItem, ICraftable, ISlayer, IDurability, ISetItem
파일 보기 프로젝트 열기: Grimoric/RunUO.T2A 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetNameString string
GetSaveFlag bool
SetSaveFlag void

공개 메소드들

메소드 설명
AbsorbDamage ( Mobile attacker, Mobile defender, int damage ) : int
AddBlood ( Mobile attacker, Mobile defender, int damage ) : void
AddNameProperty ( ObjectPropertyList list ) : void
AllowEquipedCast ( Mobile from ) : bool
BaseWeapon ( Serial serial ) : System
BaseWeapon ( int itemID ) : System
BlockEquip ( Mobile m, System.TimeSpan duration ) : void
CanEquip ( Mobile from ) : bool
CheckConflictingLayer ( Mobile m, Item item, Layer layer ) : bool
CheckHit ( Mobile attacker, Mobile defender ) : bool
CheckSlayers ( Mobile attacker, Mobile defender ) : CheckSlayerResult
Deserialize ( GenericReader reader ) : void
GetAttackSkillValue ( Mobile attacker, Mobile defender ) : double
GetDefendSkillValue ( Mobile attacker, Mobile defender ) : double
GetDelay ( Mobile m ) : System.TimeSpan
GetDurabilityBonus ( ) : int
GetHitAttackSound ( Mobile attacker, Mobile defender ) : int
GetHitDefendSound ( Mobile attacker, Mobile defender ) : int
GetMissAttackSound ( Mobile attacker, Mobile defender ) : int
GetMissDefendSound ( Mobile attacker, Mobile defender ) : int
GetProperties ( ObjectPropertyList list ) : void
GetUsedSkill ( Mobile m, bool checkSkillAttrs ) : SkillName
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
OnEquip ( Mobile from ) : bool
OnHit ( Mobile attacker, Mobile defender ) : void
OnHit ( Mobile attacker, Mobile defender, double damageBonus ) : void
OnMiss ( Mobile attacker, Mobile defender ) : void
OnRemoved ( object parent ) : void
OnSingleClick ( Mobile from ) : void
OnSwing ( Mobile attacker, Mobile defender ) : System.TimeSpan
OnSwing ( Mobile attacker, Mobile defender, double damageBonus ) : System.TimeSpan
PlayHurtAnimation ( Mobile from ) : void
PlaySwingAnimation ( Mobile from ) : void
ScaleDurability ( ) : void
Serialize ( GenericWriter writer ) : void
UnscaleDurability ( ) : void

비공개 메소드들

메소드 설명
GetNameString ( ) : string
GetSaveFlag ( SaveFlag flags, SaveFlag toGet ) : bool
SetSaveFlag ( SaveFlag &flags, SaveFlag toSet, bool setIf ) : void

메소드 상세

AbsorbDamage() 공개 메소드

public AbsorbDamage ( Mobile attacker, Mobile defender, int damage ) : int
attacker Mobile
defender Mobile
damage int
리턴 int

AddBlood() 공개 메소드

public AddBlood ( Mobile attacker, Mobile defender, int damage ) : void
attacker Mobile
defender Mobile
damage int
리턴 void

AddNameProperty() 공개 메소드

public AddNameProperty ( ObjectPropertyList list ) : void
list ObjectPropertyList
리턴 void

AllowEquipedCast() 공개 메소드

public AllowEquipedCast ( Mobile from ) : bool
from Mobile
리턴 bool

BaseWeapon() 공개 메소드

public BaseWeapon ( Serial serial ) : System
serial Serial
리턴 System

BaseWeapon() 공개 메소드

public BaseWeapon ( int itemID ) : System
itemID int
리턴 System

BlockEquip() 공개 정적인 메소드

public static BlockEquip ( Mobile m, System.TimeSpan duration ) : void
m Mobile
duration System.TimeSpan
리턴 void

CanEquip() 공개 메소드

public CanEquip ( Mobile from ) : bool
from Mobile
리턴 bool

CheckConflictingLayer() 공개 메소드

public CheckConflictingLayer ( Mobile m, Item item, Layer layer ) : bool
m Mobile
item Item
layer Layer
리턴 bool

CheckHit() 공개 메소드

public CheckHit ( Mobile attacker, Mobile defender ) : bool
attacker Mobile
defender Mobile
리턴 bool

CheckSlayers() 공개 메소드

public CheckSlayers ( Mobile attacker, Mobile defender ) : CheckSlayerResult
attacker Mobile
defender Mobile
리턴 CheckSlayerResult

Deserialize() 공개 메소드

public Deserialize ( GenericReader reader ) : void
reader GenericReader
리턴 void

GetAttackSkillValue() 공개 메소드

public GetAttackSkillValue ( Mobile attacker, Mobile defender ) : double
attacker Mobile
defender Mobile
리턴 double

GetDefendSkillValue() 공개 메소드

public GetDefendSkillValue ( Mobile attacker, Mobile defender ) : double
attacker Mobile
defender Mobile
리턴 double

GetDelay() 공개 메소드

public GetDelay ( Mobile m ) : System.TimeSpan
m Mobile
리턴 System.TimeSpan

GetDurabilityBonus() 공개 메소드

public GetDurabilityBonus ( ) : int
리턴 int

GetHitAttackSound() 공개 메소드

public GetHitAttackSound ( Mobile attacker, Mobile defender ) : int
attacker Mobile
defender Mobile
리턴 int

GetHitDefendSound() 공개 메소드

public GetHitDefendSound ( Mobile attacker, Mobile defender ) : int
attacker Mobile
defender Mobile
리턴 int

GetMissAttackSound() 공개 메소드

public GetMissAttackSound ( Mobile attacker, Mobile defender ) : int
attacker Mobile
defender Mobile
리턴 int

GetMissDefendSound() 공개 메소드

public GetMissDefendSound ( Mobile attacker, Mobile defender ) : int
attacker Mobile
defender Mobile
리턴 int

GetProperties() 공개 메소드

public GetProperties ( ObjectPropertyList list ) : void
list ObjectPropertyList
리턴 void

GetUsedSkill() 공개 메소드

public GetUsedSkill ( Mobile m, bool checkSkillAttrs ) : SkillName
m Mobile
checkSkillAttrs bool
리턴 SkillName

OnAdded() 공개 메소드

public OnAdded ( object parent ) : void
parent object
리턴 void

OnAfterDuped() 공개 메소드

public OnAfterDuped ( Item newItem ) : void
newItem Item
리턴 void

OnCraft() 공개 메소드

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
리턴 int

OnEquip() 공개 메소드

public OnEquip ( Mobile from ) : bool
from Mobile
리턴 bool

OnHit() 공개 메소드

public OnHit ( Mobile attacker, Mobile defender ) : void
attacker Mobile
defender Mobile
리턴 void

OnHit() 공개 메소드

public OnHit ( Mobile attacker, Mobile defender, double damageBonus ) : void
attacker Mobile
defender Mobile
damageBonus double
리턴 void

OnMiss() 공개 메소드

public OnMiss ( Mobile attacker, Mobile defender ) : void
attacker Mobile
defender Mobile
리턴 void

OnRemoved() 공개 메소드

public OnRemoved ( object parent ) : void
parent object
리턴 void

OnSingleClick() 공개 메소드

public OnSingleClick ( Mobile from ) : void
from Mobile
리턴 void

OnSwing() 공개 메소드

public OnSwing ( Mobile attacker, Mobile defender ) : System.TimeSpan
attacker Mobile
defender Mobile
리턴 System.TimeSpan

OnSwing() 공개 메소드

public OnSwing ( Mobile attacker, Mobile defender, double damageBonus ) : System.TimeSpan
attacker Mobile
defender Mobile
damageBonus double
리턴 System.TimeSpan

PlayHurtAnimation() 공개 메소드

public PlayHurtAnimation ( Mobile from ) : void
from Mobile
리턴 void

PlaySwingAnimation() 공개 메소드

public PlaySwingAnimation ( Mobile from ) : void
from Mobile
리턴 void

ScaleDurability() 공개 메소드

public ScaleDurability ( ) : void
리턴 void

Serialize() 공개 메소드

public Serialize ( GenericWriter writer ) : void
writer GenericWriter
리턴 void

UnscaleDurability() 공개 메소드

public UnscaleDurability ( ) : void
리턴 void