C# Class Dwarrowdelf.Server.LivingObject

Afficher le fichier Open project: tomba/dwarrowdelf Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

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

Méthodes protégées

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

Private Methods

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

public CancelAction ( ) : void
Résultat void

CollectObjectData() protected méthode

protected CollectObjectData ( BaseGameObjectData baseData, ObjectVisibility visibility ) : void
baseData BaseGameObjectData
visibility ObjectVisibility
Résultat void

Destruct() public méthode

public Destruct ( ) : void
Résultat void

Die() public méthode

public Die ( ) : void
Résultat void

EquipItem() public méthode

public EquipItem ( ItemObject item ) : void
item ItemObject
Résultat void

GetSkillLevel() public méthode

public GetSkillLevel ( SkillID skill ) : byte
skill SkillID
Résultat byte

GetVisibleLocations() public méthode

public GetVisibleLocations ( ) : IEnumerable
Résultat IEnumerable

Initialize() protected méthode

protected Initialize ( World world ) : void
world World
Résultat void

OnParentChanged() protected méthode

protected OnParentChanged ( ContainerObject src, ContainerObject dst ) : void
src ContainerObject
dst ContainerObject
Résultat void

ProcessAction() public méthode

public ProcessAction ( ) : void
Résultat void

ReceiveDamage() public méthode

public ReceiveDamage ( LivingObject attacker, DamageCategory cat, int damage ) : void
attacker LivingObject
cat DamageCategory
damage int
Résultat void

Sees() public méthode

public Sees ( EnvironmentObject env, IntVector3 p ) : bool
env EnvironmentObject
p IntVector3
Résultat bool

SendTo() public méthode

public SendTo ( IPlayer player, ObjectVisibility visibility ) : void
player IPlayer
visibility ObjectVisibility
Résultat void

SerializeProperties() protected méthode

protected SerializeProperties ( ) : object>.Dictionary
Résultat object>.Dictionary

SetAI() public méthode

public SetAI ( Dwarrowdelf ai ) : void
ai Dwarrowdelf
Résultat void

SetSkillLevel() public méthode

public SetSkillLevel ( SkillID skill, byte level ) : void
skill SkillID
level byte
Résultat void

StartAction() public méthode

public StartAction ( GameAction action, ActionPriority priority ) : void
action GameAction
priority ActionPriority
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

TurnPreRun() public méthode

public TurnPreRun ( ) : void
Résultat void

TurnStarted() public méthode

public TurnStarted ( ) : void
Résultat void

UnequipItem() public méthode

public UnequipItem ( ItemObject item ) : void
item ItemObject
Résultat void