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

#include <ModuleFileHandler.h>

Inheritance diagram for ModuleFileHandler:
ModuleBase ModuleLocalHistoryBase ModuleLocalProfile ModuleLocalEnscriptHistory ModuleLocalSqfHistory ModuleLocalProfileScene ModuleLocalProfileUI ModuleLocalProfileUIFixed

Private Member Functions

void  ModuleFileHandler ()
 
void  ~ModuleFileHandler ()
 
void  OnInit ()
 
string  GetFileName ()
 
void  ClearFileNoSave ()
 
bool  LoadFile ()
 
bool  SaveFile ()
 
bool  IsReadOnly ()
 
void  AddText (string text)
 
void  AddNewLineNoSave (string text)
 
TStringArray  GetFileContent ()
 

Private Attributes

bool  m_ReadOnly
 
int  m_LineLimit
 
TStringArray  m_FileContent
 

Constructor & Destructor Documentation

void ModuleFileHandler::ModuleFileHandler ( )
private

References m_FileContent, and m_LineLimit.

void ModuleFileHandler::~ModuleFileHandler ( )
private

References ClearFileNoSave(), and m_FileContent.

Member Function Documentation

void ModuleFileHandler::OnInit ( )
private

References LoadFile().

string ModuleFileHandler::GetFileName ( )
private

References EnString::Empty.

Referenced by LoadFile(), and SaveFile().

void ModuleFileHandler::ClearFileNoSave ( )
private
bool ModuleFileHandler::LoadFile ( )
private
bool ModuleFileHandler::SaveFile ( )
private
bool ModuleFileHandler::IsReadOnly ( )
private

References m_ReadOnly.

void ModuleFileHandler::AddText ( string  text )
private

References AddNewLineNoSave(), and SaveFile().

void ModuleFileHandler::AddNewLineNoSave ( string  text )
private
TStringArray ModuleFileHandler::GetFileContent ( )
private

Member Data Documentation

bool ModuleFileHandler::m_ReadOnly
private
int ModuleFileHandler::m_LineLimit
private
TStringArray ModuleFileHandler::m_FileContent
private

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