Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
cfgplayerspawndatajson.c File Reference

Go to the source code of this file.

Data Structures

class  PlayerSpawnJsonDataBase
 
class  PlayerSpawnPreset
 
class  PlayerSpawnPresetItemSetBase
 base for any item set More...
 
class  PlayerSpawnPresetDiscreteItemSetSlotData
 one item set for slot More...
 
class  PlayerSpawnPresetComplexChildrenType
 used for specific hierarchical child spawning More...
 

Functions

bool TranslateAndValidateSlot (EntityAI parent, inout int slotID)
 Translates slot name to match something from both 'CfgSlots' and 'attachments[]' in entity's config. More...
 
override bool IsValid ()
 slot name validity checked separately More...
 

Variables

PlayerSpawnJsonDataBase presets
 
PlayerSpawnPreset slotName
 
ref array< ref PlayerSpawnPresetDiscreteItemSetSlotDatadiscreteItemSets
 
PlayerSpawnPresetItemSetBase spawnWeight
 
PlayerSpawnPresetDiscreteItemSetSlotData name
 one set for cargo More...
 
PlayerSpawnPresetComplexChildrenType healthMin
 
float healthMax
 
float quantityMin
 
float quantityMax
 

Function Documentation

◆ IsValid()

override bool IsValid ( )

slot name validity checked separately

Checks if the ScriptCaller is valid.

Definition at line 99 of file cfgplayerspawndatajson.c.

◆ TranslateAndValidateSlot()

bool TranslateAndValidateSlot ( EntityAI  parent,
inout int  slotID 
)

Translates slot name to match something from both 'CfgSlots' and 'attachments[]' in entity's config.

Definition at line 66 of file cfgplayerspawndatajson.c.

Variable Documentation

◆ discreteItemSets

Definition at line 63 of file cfgplayerspawndatajson.c.

◆ healthMax

float healthMax

Definition at line 207 of file cfgplayerspawndatajson.c.

◆ healthMin

◆ name

◆ presets

◆ quantityMax

float quantityMax

Definition at line 209 of file cfgplayerspawndatajson.c.

◆ quantityMin

float quantityMin

Definition at line 208 of file cfgplayerspawndatajson.c.

◆ slotName

◆ spawnWeight