C# 클래스 Dwarrowdelf.Server.LivingObject

파일 보기 프로젝트 열기: tomba/dwarrowdelf 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CheckConsumeAction bool
CheckDropItemAction bool
CheckEquipItem bool
CheckGetItemAction bool
CheckUnequipItem bool
Create LivingObject
D void
DecideAction void
GetTicks int
GetVisibleLocationsLOS IEnumerable
GetVisibleLocationsSimpleFOV IEnumerable
HandleActionDone void
HandleActionProgress void
LivingObject System
LivingObject System
LivingObject System
OnAIAssignmentChanged void
OnItemIsEquippedChanged void
OnTickEnding void
OnTickStarted void
PerformBuildItem ItemObject
ProcessAction ActionState
ProcessAction ActionState
ProcessAction ActionState
ProcessAction ActionState
ProcessAction ActionState
ProcessAction ActionState
ProcessAction ActionState
ProcessAction ActionState
ProcessAction ActionState
ProcessAction ActionState
ProcessAction ActionState
ProcessAction ActionState
ProcessAction ActionState
ProcessAction ActionState
ProcessAction ActionState
ProcessAction ActionState
ProcessAction ActionState
RecalcArmorClass void
SendFailReport void
SendReport void
UpdateLOS void
VerifyBuildItem bool

공개 메소드들

메소드 설명
CancelAction ( ) : void
Destruct ( ) : void
Die ( ) : void
EquipItem ( ItemObject item ) : void
GetSkillLevel ( SkillID skill ) : byte
GetVisibleLocations ( ) : IEnumerable
ProcessAction ( ) : void
ReceiveDamage ( LivingObject attacker, DamageCategory cat, int damage ) : void
Sees ( EnvironmentObject env, IntVector3 p ) : bool
SendTo ( IPlayer player, ObjectVisibility visibility ) : void
SetAI ( Dwarrowdelf ai ) : void
SetSkillLevel ( SkillID skill, byte level ) : void
StartAction ( GameAction action, ActionPriority priority ) : void
ToString ( ) : string
TurnPreRun ( ) : void
TurnStarted ( ) : void
UnequipItem ( ItemObject item ) : void

보호된 메소드들

메소드 설명
CollectObjectData ( BaseGameObjectData baseData, ObjectVisibility visibility ) : void
Initialize ( World world ) : void
OnParentChanged ( ContainerObject src, ContainerObject dst ) : void
SerializeProperties ( ) : object>.Dictionary

비공개 메소드들

메소드 설명
CheckConsumeAction ( ItemObject item ) : bool
CheckDropItemAction ( ItemObject item ) : bool
CheckEquipItem ( ItemObject item ) : bool
CheckGetItemAction ( ItemObject item ) : bool
CheckUnequipItem ( ItemObject item ) : bool
Create ( World world, LivingObjectBuilder builder ) : LivingObject
D ( string format ) : void
DecideAction ( ActionPriority priority ) : void
GetTicks ( SkillID skillID ) : int
GetVisibleLocationsLOS ( ) : IEnumerable
GetVisibleLocationsSimpleFOV ( ) : IEnumerable
HandleActionDone ( ActionState state ) : void
HandleActionProgress ( ) : void
LivingObject ( ) : System
LivingObject ( LivingObjectBuilder builder ) : System
LivingObject ( SaveGameContext ctx ) : System
OnAIAssignmentChanged ( Jobs assignment ) : void
OnItemIsEquippedChanged ( ItemObject item, bool isEquipped ) : void
OnTickEnding ( ) : void
OnTickStarted ( ) : void
PerformBuildItem ( LivingObject builder, BuildableItem buildableItem, IEnumerable sourceObjects ) : ItemObject
ProcessAction ( AttackAction action ) : ActionState
ProcessAction ( BuildItemAction action ) : ActionState
ProcessAction ( CarryItemAction action ) : ActionState
ProcessAction ( ConstructAction action ) : ActionState
ProcessAction ( ConsumeAction action ) : ActionState
ProcessAction ( DropItemAction action ) : ActionState
ProcessAction ( EquipItemAction action ) : ActionState
ProcessAction ( FellTreeAction action ) : ActionState
ProcessAction ( GameAction action ) : ActionState
ProcessAction ( GetItemAction action ) : ActionState
ProcessAction ( HaulAction action ) : ActionState
ProcessAction ( InstallItemAction action ) : ActionState
ProcessAction ( MineAction action ) : ActionState
ProcessAction ( MoveAction action ) : ActionState
ProcessAction ( SleepAction action ) : ActionState
ProcessAction ( UnequipItemAction action ) : ActionState
ProcessAction ( WaitAction action ) : ActionState
RecalcArmorClass ( ) : void
SendFailReport ( ActionReport report, string message ) : void
SendReport ( ActionReport report ) : void
UpdateLOS ( ) : void
VerifyBuildItem ( LivingObject builder, BuildableItem buildableItem, IEnumerable sourceObjects ) : bool

메소드 상세

CancelAction() 공개 메소드

public CancelAction ( ) : void
리턴 void

CollectObjectData() 보호된 메소드

protected CollectObjectData ( BaseGameObjectData baseData, ObjectVisibility visibility ) : void
baseData BaseGameObjectData
visibility ObjectVisibility
리턴 void

Destruct() 공개 메소드

public Destruct ( ) : void
리턴 void

Die() 공개 메소드

public Die ( ) : void
리턴 void

EquipItem() 공개 메소드

public EquipItem ( ItemObject item ) : void
item ItemObject
리턴 void

GetSkillLevel() 공개 메소드

public GetSkillLevel ( SkillID skill ) : byte
skill SkillID
리턴 byte

GetVisibleLocations() 공개 메소드

public GetVisibleLocations ( ) : IEnumerable
리턴 IEnumerable

Initialize() 보호된 메소드

protected Initialize ( World world ) : void
world World
리턴 void

OnParentChanged() 보호된 메소드

protected OnParentChanged ( ContainerObject src, ContainerObject dst ) : void
src ContainerObject
dst ContainerObject
리턴 void

ProcessAction() 공개 메소드

public ProcessAction ( ) : void
리턴 void

ReceiveDamage() 공개 메소드

public ReceiveDamage ( LivingObject attacker, DamageCategory cat, int damage ) : void
attacker LivingObject
cat DamageCategory
damage int
리턴 void

Sees() 공개 메소드

public Sees ( EnvironmentObject env, IntVector3 p ) : bool
env EnvironmentObject
p IntVector3
리턴 bool

SendTo() 공개 메소드

public SendTo ( IPlayer player, ObjectVisibility visibility ) : void
player IPlayer
visibility ObjectVisibility
리턴 void

SerializeProperties() 보호된 메소드

protected SerializeProperties ( ) : object>.Dictionary
리턴 object>.Dictionary

SetAI() 공개 메소드

public SetAI ( Dwarrowdelf ai ) : void
ai Dwarrowdelf
리턴 void

SetSkillLevel() 공개 메소드

public SetSkillLevel ( SkillID skill, byte level ) : void
skill SkillID
level byte
리턴 void

StartAction() 공개 메소드

public StartAction ( GameAction action, ActionPriority priority ) : void
action GameAction
priority ActionPriority
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

TurnPreRun() 공개 메소드

public TurnPreRun ( ) : void
리턴 void

TurnStarted() 공개 메소드

public TurnStarted ( ) : void
리턴 void

UnequipItem() 공개 메소드

public UnequipItem ( ItemObject item ) : void
item ItemObject
리턴 void