DIFF

class PlayerSpawnHandlerSource

Members 2

private static bool m_Initialized
Referenced by IsInitialized(), and LoadData()
static ref PlayerSpawnJsonData m_Data = new PlayerSpawnJsonData()

Methods 17

static bool IsInitialized()
References m_Initialized
static PlayerSpawnPreset GetCharacterPresetByName(string presetName)
static bool ProcessEquipmentData(PlayerBase player, PlayerSpawnPreset data)

equips character with the chosen preset

private static void ProcessSlotsEquipment(PlayerBase player, PlayerSpawnPreset data)

iterates over each object and spawns alternatives

private static void ProcessCargoEquipment(PlayerBase player, PlayerSpawnPreset data)

chooses one object from the array

private static bool SpawnDiscreteCargoItemSet(PlayerBase player, PlayerSpawnPresetDiscreteCargoSetData csd)
private static bool SpawnComplexChildrenItems(EntityAI parent, notnull PlayerSpawnPresetItemSetBase data)

could spawn other items recursively. Parent item is guaranteed here.

private static bool IsWeaponAndMagazineType(EntityAI parent, string type)

Used for exceptions in the system