Dayz Explorer 1.29.162510
Loading...
Searching...
No Matches
cfgplayerspawndatajson.c File Reference

Go to the source code of this file.

Classes

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.
override bool IsValid ()
 slot name validity checked separately

Variables

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

Function Documentation

◆ 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