Dayz 1.25
Dayz Code Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс ActionTogglePlaceObject
+ Граф наследования:ActionTogglePlaceObject:

Закрытые члены

void ActionTogglePlaceObject ()
 
override void CreateConditionComponents ()
 
override bool HasTarget ()
 
override bool IsLocal ()
 
override bool IsInstant ()
 
override bool IsDeploymentAction ()
 
override bool RemoveForceTargetAfterUse ()
 
override bool CanBeUsedWithBrokenLegs ()
 
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
 
override void Start (ActionData action_data)
 

Подробное описание

Конструктор(ы)

◆ ActionTogglePlaceObject()

void ActionTogglePlaceObject ( )
inlineprivate
4 {
5 m_Text = "#toggle_placing";
6 }
string m_Text
Definition ActionBase.c:49

Перекрестные ссылки m_Text.

Методы

◆ ActionCondition()

override bool ActionCondition ( PlayerBase player,
ActionTarget target,
ItemBase item )
inlineprivate
45 {
46 // not placeable if liquid is present; exception for barrels, for now
47 if (!item.IsKindOf("Barrel_ColorBase") && item.IsLiquidPresent())
48 return false;
49
50 return true;
51 }
Definition EntityAI.c:95

◆ CanBeUsedWithBrokenLegs()

override bool CanBeUsedWithBrokenLegs ( )
inlineprivate
40 {
41 return false;
42 }

◆ CreateConditionComponents()

override void CreateConditionComponents ( )
inlineprivate
9 {
12 }
ref CCIBase m_ConditionItem
Definition ActionBase.c:55
ref CCTBase m_ConditionTarget
Definition ActionBase.c:56
Definition CCINonRuined.c:2
Definition CCTNone.c:2

Перекрестные ссылки m_ConditionItem и m_ConditionTarget.

◆ HasTarget()

override bool HasTarget ( )
inlineprivate
15 {
16 return false;
17 }

◆ IsDeploymentAction()

override bool IsDeploymentAction ( )
inlineprivate
30 {
31 return true;
32 }

◆ IsInstant()

override bool IsInstant ( )
inlineprivate
25 {
26 return true;
27 }

◆ IsLocal()

override bool IsLocal ( )
inlineprivate
20 {
21 return true;
22 }

◆ RemoveForceTargetAfterUse()

override bool RemoveForceTargetAfterUse ( )
inlineprivate
35 {
36 return false;
37 }

◆ Start()

override void Start ( ActionData action_data)
inlineprivate
54 {
55 super.Start(action_data);
56
57 action_data.m_Player.SetLocalProjectionPosition(action_data.m_Target.GetCursorHitPos());
58 action_data.m_Player.TogglePlacingLocal();
59 }

Объявления и описания членов класса находятся в файле: