DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ IsValid()

override bool IsValid ( )

Checks if the ScriptCaller is valid.

Checks if the ScriptCaller is valid.

См. определение в файле CfgPlayerSpawnDataJson.c строка 134

135 {
136 if (!super.IsValid())
137 return false;
138
139 if (spawnWeight < 1)
140 {
141 Debug.Log("Invalid spawnWeight set for a discrete item set!","n/a","Validation","PlayerSpawnPresetDiscreteItemSetBase");
142 return false;
143 }
144 return true;
145 }
PlayerSpawnPresetItemSetBase spawnWeight
static void Log(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message with normal prio.
Определения Debug.c:122
Определения Debug.c:2

Перекрестные ссылки Debug::Log() и spawnWeight.