Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
pluginlocalenscripthistory.c
Go to the documentation of this file.
1 class PluginLocalEnscriptHistory extends PluginLocalHistoryBase
2 {
3  override string GetSubFolderName()
4  {
5  return CFG_FILE_DEBUG_DIR;
6  }
7 
8  override string GetFileName()
9  {
10  if (!FileExist(GetSubFolderName()))//---ALL LINES CONTAINING THIS COMMENT CAN BE REMOVED IN 1.23
11  return "$profile:script_enscript.history";//---ALL LINES CONTAINING THIS COMMENT CAN BE REMOVED IN 1.23
12 
14  }
15 }
16 
17 class PluginLocalEnscriptHistoryServer extends PluginLocalHistoryBase
18 {
19 
20  override string GetSubFolderName()
21  {
22  return CFG_FILE_DEBUG_DIR;
23  }
24 
25  override string GetFileName()
26  {
27  if (!FileExist(GetSubFolderName()))//---ALL LINES CONTAINING THIS COMMENT CAN BE REMOVED IN 1.23
28  return "$profile:script_enscriptServer.history";//---ALL LINES CONTAINING THIS COMMENT CAN BE REMOVED IN 1.23
29 
31  }
32 
33 }
34 
GetFileName
override string GetFileName()
Definition: pluginlocalenscripthistory.c:7
CFG_FILE_ENS_HISTORY_SERVER
const string CFG_FILE_ENS_HISTORY_SERVER
Definition: constants.c:235
CFG_FILE_ENS_HISTORY
const string CFG_FILE_ENS_HISTORY
Definition: constants.c:234
FileExist
proto bool FileExist(string name)
Check existence of file.
GetSubFolderName
class PluginLocalEnscriptHistory extends PluginLocalHistoryBase GetSubFolderName()
Definition: pluginlocalenscripthistory.c:20
PluginLocalHistoryBase
Definition: pluginlocalenscripthistory.c:1
CFG_FILE_DEBUG_DIR
const string CFG_FILE_DEBUG_DIR
Definition: constants.c:239