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

Закрытые статические члены

static bool LoadData ()
 
static bool IsInitialized ()
 
static PlayerSpawnPreset GetRandomCharacterPreset ()
 
static bool ProcessEquipmentData (PlayerBase player, PlayerSpawnPreset data)
 equips character with the chosen preset
 
static void ProcessSlotsEquipment (PlayerBase player, PlayerSpawnPreset data)
 iterates over each object and spawns alternatives
 
static bool SelectAndSpawnSlotEquipment (PlayerBase player, PlayerSpawnPresetSlotData slotData)
 selects weighted slot equipment variant
 
static void ProcessCargoEquipment (PlayerBase player, PlayerSpawnPreset data)
 chooses one object from the array
 
static bool SelectAndSpawnCargoSet (PlayerBase player, PlayerSpawnPreset data)
 
static bool SpawnDiscreteCargoItemSet (PlayerBase player, PlayerSpawnPresetDiscreteCargoSetData csd)
 
static bool SpawnDiscreteSlotItemSet (PlayerBase player, PlayerSpawnPresetDiscreteItemSetSlotData dis, int slotID)
 
static bool SpawnComplexChildrenItems (EntityAI parent, notnull PlayerSpawnPresetItemSetBase data)
 could spawn other items recursively. Parent item is guaranteed here.
 
static bool SpawnSimpleChildrenItems (EntityAI parent, PlayerSpawnPresetItemSetBase data)
 
static void HandleNewItem (notnull ItemBase item, PlayerSpawnPresetItemSetBase data)
 
static EntityAI CreateChildItem (EntityAI parent, string type)
 
static void ApplyAttributes (ItemBase item, PlayerSpawnAttributesData attributes)
 
static bool IsWeaponAndMagazineType (EntityAI parent, string type)
 Used for exceptions in the system.
 

Закрытые статические данные

static bool m_Initialized
 
static ref PlayerSpawnJsonData m_Data = new PlayerSpawnJsonData()
 

Подробное описание

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