PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
CfgGameplayJson Class Reference

contents of this class will be transfered to client upon connecting, with the variables in either initial state as set through the 'InitServer..()' call, or replaced with contents of the json configuration file if such file is both present and reading is enabled in server.cfg More...

Private Member Functions

void InitServer ()
 Obsolete, 'InitServer' on individual json items is now called centrally.
 

Private Attributes

int version = -1
 
ref ITEM_GeneralData GeneralData = new ITEM_GeneralData
 !! all member variables must correspond with the cfggameplay.json file contents !!!!
 
ref ITEM_PlayerData PlayerData = new ITEM_PlayerData
 
ref ITEM_WorldData WorldsData = new ITEM_WorldData
 
ref ITEM_BaseBuildingData BaseBuildingData = new ITEM_BaseBuildingData
 
ref ITEM_UIData UIData = new ITEM_UIData
 
ref ITEM_MapData MapData = new ITEM_MapData
 
ref ITEM_VehicleData VehicleData = new ITEM_VehicleData
 

Detailed Description

contents of this class will be transfered to client upon connecting, with the variables in either initial state as set through the 'InitServer..()' call, or replaced with contents of the json configuration file if such file is both present and reading is enabled in server.cfg

Member Function Documentation

◆ InitServer()

void InitServer ( )
inlineprivate

Obsolete, 'InitServer' on individual json items is now called centrally.

Referenced by CfgGameplayHandler::LoadData().

Field Documentation

◆ BaseBuildingData

◆ GeneralData

ref ITEM_GeneralData GeneralData = new ITEM_GeneralData
private

◆ MapData

◆ PlayerData

◆ UIData

◆ VehicleData

◆ version

int version = -1
private

◆ WorldsData


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