15 {
17 {
18 if (!item.ValidateServer())
19 {
20 string itemName = item.Type().ToString();
22 PrintToRPT(
"Validation failed during loading of 'cfggameplay.json' for " + itemName);
23 item.InitServer();
24 }
25 }
26 }
static ref array< ref ITEM_DataBase > m_Items
proto void PrintToRPT(void var)
Prints content of variable to RPT file (performance warning - each write means fflush!...
proto int Replace(string sample, string replace)
Replace all occurrances of 'sample' in 'str' by 'replace'.