Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
Bot Class Reference

Protected Member Functions

void Bot (PlayerBase ow)
 
void SetInstanceType (DayZPlayerInstanceType t)
 
void Start ()
 
void Stop ()
 
void StartAction (int action)
 
void OnUpdate (float dt)
 
void AddTransition (BotStateBase state, int id)
 
bool ProcessEvent (BotEventBase e)
 
void InitFSM ()
 

Protected Attributes

ref BotFSM m_FSM = null
 
DayZPlayerInstanceType m_InstanceType = DayZPlayerInstanceType.INSTANCETYPE_CLIENT
 
ref BotStateBase m_IdleState = null
 
ref BotEventBase ___Bgn__ = new BotEventStart
 
ref BotEventBase __Stop__ = new BotEventStop
 
ref BotEventBase ___OK___ = new BotEventEndOK
 
ref BotEventBase __Fail__ = new BotEventEndFail
 
ref BotEventBase __Tout__ = new BotEventEndTimeout
 
ref BotEventBase __IChg__ = new BotEventOnItemInHandsChanged
 

Detailed Description

Definition at line 18 of file bot.c.

Constructor & Destructor Documentation

◆ Bot()

void Bot::Bot ( PlayerBase ow)
protected

Definition at line 26 of file bot.c.

Member Function Documentation

◆ AddTransition()

void Bot::AddTransition ( BotStateBase state,
int id )
protected

Definition at line 68 of file bot.c.

◆ InitFSM()

void Bot::InitFSM ( )
protected

transition table

Definition at line 81 of file bot.c.

◆ OnUpdate()

void Bot::OnUpdate ( float dt)
protected

Definition at line 55 of file bot.c.

◆ ProcessEvent()

bool Bot::ProcessEvent ( BotEventBase e)
protected

Definition at line 107 of file bot.c.

◆ SetInstanceType()

void Bot::SetInstanceType ( DayZPlayerInstanceType t)
protected

Definition at line 31 of file bot.c.

◆ Start()

void Bot::Start ( )
protected

Definition at line 33 of file bot.c.

◆ StartAction()

void Bot::StartAction ( int action)
protected

Definition at line 43 of file bot.c.

◆ Stop()

void Bot::Stop ( )
protected

Definition at line 38 of file bot.c.

Member Data Documentation

◆ ___Bgn__

ref BotEventBase Bot::___Bgn__ = new BotEventStart
protected

Definition at line 61 of file bot.c.

◆ ___OK___

ref BotEventBase Bot::___OK___ = new BotEventEndOK
protected

Definition at line 63 of file bot.c.

◆ __Fail__

ref BotEventBase Bot::__Fail__ = new BotEventEndFail
protected

Definition at line 64 of file bot.c.

◆ __IChg__

ref BotEventBase Bot::__IChg__ = new BotEventOnItemInHandsChanged
protected

Definition at line 66 of file bot.c.

◆ __Stop__

ref BotEventBase Bot::__Stop__ = new BotEventStop
protected

Definition at line 62 of file bot.c.

◆ __Tout__

ref BotEventBase Bot::__Tout__ = new BotEventEndTimeout
protected

Definition at line 65 of file bot.c.

◆ m_FSM

ref BotFSM Bot::m_FSM = null
protected

Definition at line 21 of file bot.c.

◆ m_IdleState

ref BotStateBase Bot::m_IdleState = null
protected

Definition at line 24 of file bot.c.

◆ m_InstanceType

Definition at line 22 of file bot.c.


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