DayZ 1.24
Loading...
Searching...
No Matches
Bot_TestSpawnOpen Class Reference

Private Member Functions

void Bot_TestSpawnOpenDrop (Bot bot=NULL, BotStateBase parent=NULL, string new_type="")
 
override void OnEntry (BotEventBase e)
 
override void OnExit (BotEventBase e)
 
override void OnUpdate (float dt)
 
void Bot_TestSpawnOpenDestroy (Bot bot=NULL, BotStateBase parent=NULL, string new_type="")
 
override void OnEntry (BotEventBase e)
 
override void OnExit (BotEventBase e)
 
override void OnUpdate (float dt)
 
void Bot_TestSpawnOpenEat (Bot bot=NULL, BotStateBase parent=NULL, string new_type="")
 
override void OnEntry (BotEventBase e)
 
override void OnExit (BotEventBase e)
 
override void OnUpdate (float dt)
 

Private Attributes

ref BotDropEntityInHands m_Dropping
 
ref BotDestroyEntityInHands m_Destroying
 
ref BotEatEntityInHands m_Eating
 

Detailed Description

Definition at line 237 of file Bot_TestSpawnAndOpenCan.c.

Member Function Documentation

◆ Bot_TestSpawnOpenDestroy()

void Bot_TestSpawnOpen::Bot_TestSpawnOpenDestroy ( Bot bot = NULL,
BotStateBase parent = NULL,
string new_type = "" )
inlineprivate

Definition at line 263 of file Bot_TestSpawnAndOpenCan.c.

264 {
265 m_Destroying = new BotDestroyEntityInHands(m_Bot, this);
266
267 // events
270
271 // transitions
272 m_FSM.AddTransition(new BotTransition(m_Opening, __EntOpn__, m_Destroying));
273 m_FSM.AddTransition(new BotTransition(m_Destroying, __HndChg__, NULL));
274 }
FSMTransition< BotStateBase, BotEventBase, BotActionBase, BotGuardBase > BotTransition
Definition BotFSM.c:7
ref BotDestroyEntityInHands m_Destroying
represents event that triggers transition from state to state
Definition BotEvents.c:5

◆ Bot_TestSpawnOpenDrop()

void Bot_TestSpawnOpen::Bot_TestSpawnOpenDrop ( Bot bot = NULL,
BotStateBase parent = NULL,
string new_type = "" )
inlineprivate

Definition at line 241 of file Bot_TestSpawnAndOpenCan.c.

242 {
243 m_Dropping = new BotDropEntityInHands(m_Bot, this);
244
245 // events
248
249 // transitions
250 m_FSM.AddTransition(new BotTransition(m_Opening, __EntOpn__, m_Dropping));
251 m_FSM.AddTransition(new BotTransition(m_Dropping, __HndChg__, NULL));
252 }
ref BotDropEntityInHands m_Dropping

◆ Bot_TestSpawnOpenEat()

void Bot_TestSpawnOpen::Bot_TestSpawnOpenEat ( Bot bot = NULL,
BotStateBase parent = NULL,
string new_type = "" )
inlineprivate

Definition at line 285 of file Bot_TestSpawnAndOpenCan.c.

286 {
287 m_Eating = new BotEatEntityInHands(m_Bot, this);
288
289 // events
292
293 // transitions
294 m_FSM.AddTransition(new BotTransition(m_Opening, __EntOpn__, m_Eating));
295 m_FSM.AddTransition(new BotTransition(m_Eating, __HndChg__, NULL));
296 }
ref BotEatEntityInHands m_Eating

◆ OnEntry() [1/3]

override void Bot_TestSpawnOpen::OnEntry ( BotEventBase e)
inlineprivate

Definition at line 254 of file Bot_TestSpawnAndOpenCan.c.

254{ super.OnEntry(e); }

◆ OnEntry() [2/3]

override void Bot_TestSpawnOpen::OnEntry ( BotEventBase e)
inlineprivate

Definition at line 276 of file Bot_TestSpawnAndOpenCan.c.

276{ super.OnEntry(e); }

◆ OnEntry() [3/3]

override void Bot_TestSpawnOpen::OnEntry ( BotEventBase e)
inlineprivate

Definition at line 298 of file Bot_TestSpawnAndOpenCan.c.

299 {
300 super.OnEntry(e);
301 }

◆ OnExit() [1/3]

override void Bot_TestSpawnOpen::OnExit ( BotEventBase e)
inlineprivate

Definition at line 255 of file Bot_TestSpawnAndOpenCan.c.

255{ super.OnExit(e); }

◆ OnExit() [2/3]

override void Bot_TestSpawnOpen::OnExit ( BotEventBase e)
inlineprivate

Definition at line 277 of file Bot_TestSpawnAndOpenCan.c.

277{ super.OnExit(e); }

◆ OnExit() [3/3]

override void Bot_TestSpawnOpen::OnExit ( BotEventBase e)
inlineprivate

Definition at line 303 of file Bot_TestSpawnAndOpenCan.c.

304 {
305 super.OnExit(e);
306 }

◆ OnUpdate() [1/3]

override void Bot_TestSpawnOpen::OnUpdate ( float dt)
inlineprivate

Definition at line 256 of file Bot_TestSpawnAndOpenCan.c.

256{ super.OnUpdate(dt); }

◆ OnUpdate() [2/3]

override void Bot_TestSpawnOpen::OnUpdate ( float dt)
inlineprivate

Definition at line 278 of file Bot_TestSpawnAndOpenCan.c.

278{ super.OnUpdate(dt); }

◆ OnUpdate() [3/3]

override void Bot_TestSpawnOpen::OnUpdate ( float dt)
inlineprivate

Definition at line 308 of file Bot_TestSpawnAndOpenCan.c.

309 {
310 super.OnUpdate(dt);
311 }

Member Data Documentation

◆ m_Destroying

ref BotDestroyEntityInHands Bot_TestSpawnOpen::m_Destroying
private

Definition at line 261 of file Bot_TestSpawnAndOpenCan.c.

◆ m_Dropping

ref BotDropEntityInHands Bot_TestSpawnOpen::m_Dropping
private

Definition at line 239 of file Bot_TestSpawnAndOpenCan.c.

◆ m_Eating

ref BotEatEntityInHands Bot_TestSpawnOpen::m_Eating
private

Definition at line 283 of file Bot_TestSpawnAndOpenCan.c.


The documentation for this class was generated from the following file: