C# Class Dwarrowdelf.Server.LivingObject

Mostrar archivo Open project: tomba/dwarrowdelf Class Usage Examples

Private Properties

Property Type Description
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

Public Methods

Method Description
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

Protected Methods

Method Description
CollectObjectData ( BaseGameObjectData baseData, ObjectVisibility visibility ) : void
Initialize ( World world ) : void
OnParentChanged ( ContainerObject src, ContainerObject dst ) : void
SerializeProperties ( ) : object>.Dictionary

Private Methods

Method Description
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

Method Details

CancelAction() public method

public CancelAction ( ) : void
return void

CollectObjectData() protected method

protected CollectObjectData ( BaseGameObjectData baseData, ObjectVisibility visibility ) : void
baseData BaseGameObjectData
visibility ObjectVisibility
return void

Destruct() public method

public Destruct ( ) : void
return void

Die() public method

public Die ( ) : void
return void

EquipItem() public method

public EquipItem ( ItemObject item ) : void
item ItemObject
return void

GetSkillLevel() public method

public GetSkillLevel ( SkillID skill ) : byte
skill SkillID
return byte

GetVisibleLocations() public method

public GetVisibleLocations ( ) : IEnumerable
return IEnumerable

Initialize() protected method

protected Initialize ( World world ) : void
world World
return void

OnParentChanged() protected method

protected OnParentChanged ( ContainerObject src, ContainerObject dst ) : void
src ContainerObject
dst ContainerObject
return void

ProcessAction() public method

public ProcessAction ( ) : void
return void

ReceiveDamage() public method

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

Sees() public method

public Sees ( EnvironmentObject env, IntVector3 p ) : bool
env EnvironmentObject
p IntVector3
return bool

SendTo() public method

public SendTo ( IPlayer player, ObjectVisibility visibility ) : void
player IPlayer
visibility ObjectVisibility
return void

SerializeProperties() protected method

protected SerializeProperties ( ) : object>.Dictionary
return object>.Dictionary

SetAI() public method

public SetAI ( Dwarrowdelf ai ) : void
ai Dwarrowdelf
return void

SetSkillLevel() public method

public SetSkillLevel ( SkillID skill, byte level ) : void
skill SkillID
level byte
return void

StartAction() public method

public StartAction ( GameAction action, ActionPriority priority ) : void
action GameAction
priority ActionPriority
return void

ToString() public method

public ToString ( ) : string
return string

TurnPreRun() public method

public TurnPreRun ( ) : void
return void

TurnStarted() public method

public TurnStarted ( ) : void
return void

UnequipItem() public method

public UnequipItem ( ItemObject item ) : void
item ItemObject
return void