DayZ Enforce
Script API
Private Member Functions | Private Attributes | List of all members
EntityDebugSync Class Reference

#include <EntityDebugSync.h>

Inheritance diagram for EntityDebugSync:
ScriptedEntity

Private Member Functions

void  EntityDebugSync ()
 
void  EnableUpdate (bool state)
 
void  Update ()
 
void  OnRPC (int rpc_type, ParamsReadContext ctx)
 
void  WriteCtxInt (ParamsWriteContext ctx, int value)
 
int  ReadCtxInt (ParamsReadContext ctx)
 
void  WriteCtxFloat (ParamsWriteContext ctx, float value)
 
float  ReadCtxFloat (ParamsReadContext ctx)
 
void  OnSynchronize (ParamsWriteContext ctx)
 
void  OnSynchronized (ParamsReadContext ctx)
 

Private Attributes

autoptr Timer  m_UpdateTimer
 
float  m_Water
 
float  m_Energy
 

Constructor & Destructor Documentation

void EntityDebugSync::EntityDebugSync ( )
private

References CALL_CATEGORY_GUI, and m_UpdateTimer.

Member Function Documentation

void EntityDebugSync::EnableUpdate ( bool  state )
private

References m_UpdateTimer, and Timer::Run().

Referenced by OnRPC().

void EntityDebugSync::Update ( )
private
void EntityDebugSync::OnRPC ( int  rpc_type,
ParamsReadContext  ctx 
)
private
void EntityDebugSync::WriteCtxInt ( ParamsWriteContext  ctx,
int  value 
)
private
int EntityDebugSync::ReadCtxInt ( ParamsReadContext  ctx )
private
void EntityDebugSync::WriteCtxFloat ( ParamsWriteContext  ctx,
float  value 
)
private

References ParamsWriteContext::Write().

Referenced by OnSynchronize().

float EntityDebugSync::ReadCtxFloat ( ParamsReadContext  ctx )
private

References ParamsReadContext::Read().

Referenced by OnSynchronized().

void EntityDebugSync::OnSynchronize ( ParamsWriteContext  ctx )
private
void EntityDebugSync::OnSynchronized ( ParamsReadContext  ctx )
private

References m_Water, and ReadCtxFloat().

Member Data Documentation

autoptr Timer EntityDebugSync::m_UpdateTimer
private

Referenced by EnableUpdate(), and EntityDebugSync().

float EntityDebugSync::m_Water
private
float EntityDebugSync::m_Energy
private

The documentation for this class was generated from the following files:
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)