|
void | ActionWorldCraft () |
|
override ActionData | CreateActionData () |
|
override void | CreateConditionComponents () |
|
override void | OnActionInfoUpdate (PlayerBase player, ActionTarget target, ItemBase item) |
|
override string | GetText () |
|
override bool | ActionCondition (PlayerBase player, ActionTarget target, ItemBase item) |
|
override string | GetSoundCategory (ActionData action_data) |
|
override bool | SetupAction (PlayerBase player, ActionTarget target, ItemBase item, out ActionData action_data, Param extra_data=NULL) |
|
override void | Start (ActionData action_data) |
|
override void | OnEndServer (ActionData action_data) |
|
override void | OnEndClient (ActionData action_data) |
|
override void | OnFinishProgressServer (ActionData action_data) |
|
override void | OnFinishProgressClient (ActionData action_data) |
|
override void | WriteToContext (ParamsWriteContext ctx, ActionData action_data) |
|
override bool | ReadFromContext (ParamsReadContext ctx, out ActionReciveData action_recive_data) |
|
override void | HandleReciveData (ActionReciveData action_recive_data, ActionData action_data) |
|
void | OnStartAnimationLoopServer (ActionData action_data) |
|
void | OnStartAnimationLoopClient (ActionData action_data) |
|
void | OnEndAnimationLoopServer (ActionData action_data) |
|
void | OnEndAnimationLoopClient (ActionData action_data) |
|
void | OnFinishProgressServer (ActionData action_data) |
|
void | OnFinishProgressClient (ActionData action_data) |
|
◆ ActionWorldCraft()
◆ ActionCondition()
77 {
78
79 if ( !
GetGame().IsDedicatedServer() )
80 {
81 return true;
82 }
83 else
84 {
86 return false;
87 }
88
89 return true;
90 }
proto native CGame GetGame()
Перекрестные ссылки GetGame().
◆ CreateActionData()
◆ CreateConditionComponents()
◆ GetSoundCategory()
93 {
95
98
100
102
104 }
PluginBase GetPlugin(typename plugin_type)
Definition PluginManager.c:316
Definition InventoryItem.c:731
Перекрестные ссылки GetPlugin().
◆ GetText()
64 {
67 {
71 }
72
73 return "Default worldcraft text";
74 }
PlayerBase GetPlayer()
Definition ModifierBase.c:51
int m_VariantID
Definition ActionBase.c:68
Super root of all classes in Enforce script.
Definition EnScript.c:11
Definition PlayerBaseClient.c:2
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
Перекрестные ссылки Class::CastTo(), GetGame(), GetPlayer(), GetPlugin() и ActionBase::m_VariantID.
◆ HandleReciveData()
192 {
193
196
199 {
201 }
202 else
203 {
205 }
207 }
class ActionTargets ActionTarget
Definition ActionWorldCraft.c:2
Definition EnConvert.c:106
static const vector Zero
Definition EnConvert.c:110
Перекрестные ссылки ActionTarget и vector::Zero.
◆ OnActionInfoUpdate()
◆ OnEndClient()
◆ OnEndServer()
◆ OnFinishProgressClient()
◆ OnFinishProgressServer()
◆ ReadFromContext()
173 {
175 {
177 }
178
180
183 return false;
184
187
188 return true;
189 }
◆ SetupAction()
◆ Start()
◆ WriteToContext()
◆ m_ActionPrompt
Объявления и описания членов класса находятся в файле:
- D:/Ishodniki/scripts/4_World/Classes/UserActionsComponent/Actions/Continuous/ActionWorldCraft.c