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

#include <gameplay.h>

Private Member Functions

proto void  Write (class data)
  Function for writing params. ParamsReadContext and ParamsWriteContext works as FIFO (First In First Out), so if you write (via ParamsWriteContext) for e.g.:
Param1<float>,
Param1<int>,
Param1<string>,
you must read these params in the same way so:
Param1<float>,
Param1<int>
and Param1<string> More...
 
private void  ~ParamsWriteContext ()
 

Constructor & Destructor Documentation

private void ParamsWriteContext::~ParamsWriteContext ( )
private

Member Function Documentation

proto void ParamsWriteContext::Write ( class data  )
private

Function for writing params. ParamsReadContext and ParamsWriteContext works as FIFO (First In First Out), so if you write (via ParamsWriteContext) for e.g.:
Param1<float>,
Param1<int>,
Param1<string>,
you must read these params in the same way so:
Param1<float>,
Param1<int>
and Param1<string>

Parameters
data param class to write into the context. Param object must be created and deleted by you.
usage :
autoptr Param1<float> p = Param1<float>(0);
ctx.Write(p);

Referenced by AgentManager::OnStoreSave(), ModifiersManager::OnStoreSave(), PlayerStat< class T >::OnStoreSave(), PlayerBase::OnStoreSaveLifespan(), ManBase::OnSynchronize(), PlayerBase::OnSynchronize(), ItemBase::SaveAgents(), ItemBase::SaveVariables(), ItemBase::SyncVariables(), EntityDebugSync::WriteCtxFloat(), and EntityDebugSync::WriteCtxInt().


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