C# Класс Dwarrowdelf.Server.LivingObject

Показать файл Открыть проект Примеры использования класса

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