PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
CfgPlayerSpawnDataJson.c File Reference

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.
 
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.

References InventorySlots::GetSlotIdFromString(), InventorySlots::IsSlotIdValid(), Debug::Log(), and slotName.

Variable Documentation

◆ discreteItemSets

Referenced by IsValid().

◆ healthMax

float healthMax

◆ healthMin

◆ name

one set for cargo

Referenced by Add(), JsonObject::AddBool(), PluginConfigHandler::AddCameraPreset(), JsonObject::AddFloat(), JsonObject::AddInt(), AddModifier(), ScriptedWidgetEventHandler::AddPlayer(), AddQuickLocation(), JsonObject::AddString(), ScriptedWidgetEventHandler::AddTab(), JsonObject::AddVector2(), NotificationUI::AddVoiceNotification(), PluginConfigHandler::AddWeatherPreset(), UIScriptedMenu::Apply(), BenchmarkLocation::BenchmarkLocation(), ChangePPEMaterial(), Icon::Combine(), UIScriptedMenu::ConnectLastSession(), ConstructionPart::ConstructionPart(), PluginBase::ContainsFirstClass(), EntityLightSource::CreateLight(), EntityLightSource::CreateLightAtObjMemoryPoint(), CfgParam::CreateParam(), PluginConfigHandler::CustomLocationsAdd(), PluginConfigHandler::CustomLocationsRemove(), DebugAgentData::DebugAgentData(), DebugModifierData::DebugModifierData(), BleedingSourcesManagerBase::DisplayDebug(), Icon::DoubleClick(), HandsContainer::DoubleClick(), AttachmentCategoriesRow::DoubleClick(), ClosableContainer::DoubleClick(), PlayerContainer::DoubleClick(), VicinitySlotsContainer::DoubleClick(), ZombieContainer::DoubleClick(), Icon::DraggingOver(), DraggingOverCenterPanel(), Icon::DraggingOverCombine(), ClosableContainer::DraggingOverGrid(), HandsContainer::DraggingOverGrid(), AttachmentCategoriesRow::DraggingOverGrid(), ClosableContainer::DraggingOverGrid(), HandsArea::DraggingOverHandsPanel(), HandsContainer::DraggingOverHeader(), AttachmentCategoriesContainer::DraggingOverHeader(), AttachmentCategoriesRow::DraggingOverHeader(), VicinityContainer::DraggingOverHeader(), ZombieContainer::DraggingOverHeader(), VicinityContainer::DraggingOverIcon(), Icon::DraggingOverSwap(), Icon::DropReceivedFromMain(), GestureMenuItem(), ItemMap::GetActionWidgetOverride(), FishingRod_Base_New::GetActionWidgetOverride(), BleedingSourcesManagerBase::GetBitFromSelectionName(), PluginBase::GetConfigRecursive(), ScriptConsoleGeneralTab::GetCurrentLocationName(), ManBase::GetDebugActions(), PluginBase::GetID(), GetIDFromClassname(), HandsContainer::GetItemPreviewItem(), AttachmentCategoriesRow::GetItemPreviewItem(), ClosableContainer::GetItemPreviewItem(), ClosableContainer::GetItemPreviewWidget(), PlayerContainer::GetItemPreviewWidget(), ClosableContainer::GetItemPreviewWidgetDragOrDrop(), JsonObject::GetJson(), Managed::GetLastPlayedServer(), Managed::GetLastPlayedServerEx(), Land_WarheadStorage_PowerStation::GetLeverIndexByComponentName(), IEntity::GetLODByName(), GetName(), PluginFileHandler::GetParamByName(), PluginFileHandler::GetParameterArray(), PluginFileHandler::GetParameterBool(), PluginFileHandler::GetParameterFloat(), PluginFileHandler::GetParameterInt(), PluginFileHandler::GetParameterString(), ParticleList::GetParticleIDByName(), GetProfileValueBool(), DayZIntroScene::GetSelectedUserName(), LOD::GetSelectionByName(), SoundSetMap::GetSoundSetID(), GetValidDepenentPartsArray(), CfgParam::GetValueByName(), DayZPlayer::HandleView(), ScriptConsoleItemsTab::Init(), Attachments::InitAttachmentGrid(), AttachmentCategoriesContainer::InitGhostSlots(), ItemBase::InitializeSlots(), BleedingSourcesManagerBase::IsBleedingSourceActive(), ScriptConsoleGeneralTab::IsLocationNameAvailable(), CfgParam::IsParamExist(), PlayerContainer::ItemAttached(), ZombieContainer::ItemAttached(), ScriptedWidgetEventHandler::LoadData(), Widget::LoadVideo(), ModifierDebugObj::ModifierDebugObj(), VicinitySlotsContainer::MouseButtonDown(), VicinitySlotsContainer::MouseClick(), HandsContainer::MouseClick2(), InventoryItem::NameToID(), OnCenterPanelDropReceived(), UIScriptedMenu::OnChange(), OnClick(), ScriptedWidgetEventHandler::OnClick(), UIScriptedMenu::OnClick(), ZombieContainer::OnDropReceivedFromGhostArea(), AttachmentCategoriesContainer::OnDropReceivedFromHeader(), VicinityContainer::OnDropReceivedFromHeader(), VicinitySlotsContainer::OnDropReceivedFromHeader(), ZombieContainer::OnDropReceivedFromHeader(), VicinityContainer::OnDropReceivedFromIcon(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::OnFailThresholdBreached(), HandsArea::OnHandsPanelDropReceived(), InventoryGridController::OnItemDraggingOver(), InventoryGridController::OnItemDropReceived(), JsonApiStruct::OnItemObject(), UIScriptedMenu::OnMouseEnter(), JsonApiStruct::OnObject(), OnRightPanelDropReceived(), PluginBase::OnSpawnErrorReport(), JsonApiStruct::OnStartArray(), PluginFileHandler::ParamExist(), PhysicsGeomDef::PhysicsGeomDef(), ScriptedWidgetEventHandler::PlayerListEntryScriptedWidget(), PluginDayzPlayerDebugUserData::PluginDayzPlayerDebugUserData(), ScriptedWidgetEventHandler::PrepareOwnedSlotsTooltip(), VicinitySlotsContainer::PrepareOwnedTooltipAfterItemTransferClick(), ItemManager::PrepareSlotsTooltip(), UIScriptedMenu::Refresh(), ScriptConsoleGeneralTab::RefreshLocations(), RegisterAnimation(), BleedingSourcesManagerBase::RegisterBleedingZone(), BleedingSourcesManagerBase::RegisterBleedingZoneEx(), KeysToUIElements::RegisterKeyToUIElement(), PluginBase::RegisterVariable(), ScriptedWidgetEventHandler::Reload(), PluginConfigHandler::RemoveCameraPreset(), PluginFileHandler::RemoveParamByName(), PluginFileHandler::RemoveParameter(), PluginFileHandler::RemoveParameterArray(), PluginConfigHandler::RemoveWeatherPreset(), CfgParam::RenameParam(), PluginFileHandler::RenameParam(), UIScriptedMenu::Save(), Managed::SaveCharName(), DayZIntroSceneXbox::SaveCharName(), ManBase::SaySoundSet(), PluginBase::SendRPCMods(), MenuDefaultCharacterData::SetCharacterName(), ColorManager::SetColor(), SetCSVName(), ClosableContainer::SetEntity(), ClosableHeader::SetName(), Header::SetName(), ScriptedWidgetEventHandler::SetName(), GetServersInput::SetNameFilter(), SceneData::SetNameMission(), SceneData::SetNameScene(), PluginFileHandler::SetParameterArray(), PluginFileHandler::SetParameterBool(), PluginFileHandler::SetParameterFloat(), PluginFileHandler::SetParameterInt(), PluginFileHandler::SetParameterString(), CGame::SetPlayerGameName(), SetProfileValueBool(), UIScriptedMenu::SetServerInfo(), ItemManager::SetTemperature(), Managed::SetupPlayerName(), HudDebugWinBase::SetupValues(), SetVariable(), StatDebugObject::StatDebugObject(), Icon::Swap(), SyncedValue::SyncedValue(), SyncedValueAgent(), SyncedValueLevel(), SyncedValueModifier::SyncedValueModifier(), PlayerContainer::ToggleWidget(), ScriptedWidgetEventHandler::TutorialKeybinds(), array::Update(), ScriptedWidgetEventHandler::Update(), UIScriptedMenu::UpdateCategoryName(), UpdateConstructionParts(), Container::UpdateHeaderText(), UpdateNumericalVarsWidget(), DayZIntroSceneXbox::UpdateSelectedUserName(), UIScriptedMenu::UpdateSlotInfo(), HudDebugWinBase::UpdateValues(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::ValidateAndRepairHelper(), and WorkbenchPluginAttribute::WorkbenchPluginAttribute().

◆ presets

◆ quantityMax

◆ quantityMin

◆ slotName

◆ spawnWeight

Referenced by IsValid().