◆ ActionFillObject()
◆ ActionCondition()
47 {
48 if (
player.IsPlacingLocal() )
49 return false;
50
53 {
54 if (
hesco.CanBeFilledAtPosition(
player.GetPosition() ) )
55 {
56 if (
hesco.GetState() == HescoBox.UNFOLDED )
57 {
59 return true;
60 }
61 else if(
hesco.GetState() == HescoBox.FILLED)
62 {
64 return true;
65 }
66 }
67 }
68
69 return false;
70 }
int m_ActionState
Definition ActionFillObject.c:11
const int FILLED
Definition ActionFillObject.c:14
const int EMPTY
Definition ActionFillObject.c:13
Super root of all classes in Enforce script.
Definition EnScript.c:11
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
Перекрестные ссылки Class::CastTo(), EMPTY, FILLED и m_ActionState.
◆ CreateConditionComponents()
26 {
27
30 }
ref CCIBase m_ConditionItem
Definition ActionBase.c:55
ref CCTBase m_ConditionTarget
Definition ActionBase.c:56
Definition CCINonRuined.c:2
Definition CCTNonRuined.c:2
Definition ActionConstants.c:105
const float DEFAULT
Definition ActionConstants.c:107
Перекрестные ссылки UAMaxDistances::DEFAULT, m_ConditionItem и m_ConditionTarget.
◆ OnActionInfoUpdate()
33 {
35
36 if(
hesco.GetState() == HescoBox.UNFOLDED )
37 {
39 }
40 else
41 {
43 }
44 }
string m_Text
Definition ActionBase.c:49
Перекрестные ссылки m_Text.
◆ OnFinishProgressClient()
95 {
97
99 {
100 if (
hesco.GetState() == HescoBox.UNFOLDED )
101 {
103 }
104 else if (
hesco.GetState() == HescoBox.FILLED )
105 {
107 }
108 }
109 }
Перекрестные ссылки Class::CastTo().
◆ OnFinishProgressServer()
◆ EMPTY
◆ FILLED
◆ m_ActionState
Объявления и описания членов класса находятся в файле:
- D:/Ishodniki/scripts/4_World/Classes/UserActionsComponent/Actions/Continuous/ActionFillObject.c