◆ ActionRepairTentPart()
◆ ActionCondition()
53 {
54
58 return false;
59
61 {
68 {
70
72 {
74 {
75
77 {
80 break;
81 }else
82 continue;
83 }
84 }
86 {
89 }
90 }
91
93 {
94 return true;
95 }
96 }
97
98 return false;
99 }
PluginBase GetPlugin(typename plugin_type)
Definition PluginManager.c:316
m_LastValidType
Definition ActionRepairTentPart.c:21
int m_LastValidComponentIndex
Definition ActionRepairTentPart.c:23
string m_CurrentDamageZone
Definition ActionRepairTentPart.c:22
Super root of all classes in Enforce script.
Definition EnScript.c:11
Definition constants.c:638
Definition ObjectTyped.c:2
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
const int STATE_RUINED
Definition constants.c:807
Перекрестные ссылки Class::CastTo(), GetPlugin(), m_CurrentDamageZone, m_LastValidComponentIndex, m_LastValidType и GameConstants::STATE_RUINED.
◆ CreateActionData()
◆ CreateConditionComponents()
◆ HandleReciveData()
170 {
172
175 }
Definition ActionRepairTentPart.c:2
◆ HasTarget()
◆ IsUsingProxies()
43 {
44 return true;
45 }
◆ OnFinishProgressServer()
102 {
105
107 if (!
GetGame().IsMultiplayer())
109
111 {
114
115 tent.SetAllowDamage(
true);
117 tent.ProcessInvulnerabilityCheck(
tent.GetInvulnerabilityTypeString());
118
120 {
121
125 }
126 else
128 }
129 }
Definition InventoryItem.c:731
proto native CGame GetGame()
Перекрестные ссылки GetGame() и m_CurrentDamageZone.
◆ ReadFromContext()
150 {
152 {
154 }
157
159 {
162 return false;
163
165 }
166 return true;
167 }
override bool HasTarget()
Definition ActionRepairTentPart.c:47
Перекрестные ссылки HasTarget().
◆ WriteToContext()
◆ m_CurrentDamageZone
string m_CurrentDamageZone = "" |
|
private |
◆ m_LastValidComponentIndex
int m_LastValidComponentIndex = -1 |
|
private |
◆ m_LastValidType
Объявления и описания членов класса находятся в файле: