Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
cfgplayerspawndatajson.c File Reference

Go to the source code of this file.

Data Structures

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

Functions

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

Variables

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

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.

References discreteItemSets, Debug::Log(), slotName, and spawnWeight.

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

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

Variable Documentation

◆ discreteItemSets

Definition at line 63 of file cfgplayerspawndatajson.c.

Referenced by IsValid().

◆ healthMax

float healthMax

Definition at line 207 of file cfgplayerspawndatajson.c.

◆ healthMin

◆ name

one set for cargo

Referenced by BenchmarkLocation::BenchmarkLocation(), ConstructionPart::ConstructionPart(), DebugAgentData::DebugAgentData(), DebugModifierData::DebugModifierData(), InventoryItemSoundBase::InventoryItemSoundBase(), ModifierDebugObj::ModifierDebugObj(), PhysicsGeomDef::PhysicsGeomDef(), PluginDayzPlayerDebugUserData::PluginDayzPlayerDebugUserData(), StatDebugObject::StatDebugObject(), SyncedValue::SyncedValue(), SyncedValueModifier::SyncedValueModifier(), WorkbenchPluginAttribute::WorkbenchPluginAttribute(), Add(), JsonObject::AddBool(), PluginConfigHandler::AddCameraPreset(), JsonObject::AddFloat(), Physics::AddGeom(), JsonObject::AddInt(), AddModifier(), ScriptedWidgetEventHandler::AddPlayer(), AddQuickLocation(), JsonObject::AddString(), ScriptedWidgetEventHandler::AddTab(), AddVariable(), JsonObject::AddVector2(), NotificationUI::AddVoiceNotification(), PluginConfigHandler::AddWeatherPreset(), UIScriptedMenu::Apply(), ChangePPEMaterial(), Icon::Combine(), CGame::CommandlineGetParam(), CGame::ConfigGetChildName(), UIScriptedMenu::ConnectLastSession(), PluginBase::ContainsFirstClass(), WorldEditorAPI::CreateClonedEntity(), WorldEditorAPI::CreateEntity(), EntityLightSource::CreateLight(), EntityLightSource::CreateLightAtObjMemoryPoint(), CfgParam::CreateParam(), CGame::CreatePlayer(), PluginConfigHandler::CustomLocationsAdd(), PluginConfigHandler::CustomLocationsRemove(), dBodyGetGeom(), DeleteFile(), BleedingSourcesManagerBase::DisplayDebug(), AttachmentCategoriesRow::DoubleClick(), ClosableContainer::DoubleClick(), HandsContainer::DoubleClick(), Icon::DoubleClick(), PlayerContainer::DoubleClick(), VicinitySlotsContainer::DoubleClick(), ZombieContainer::DoubleClick(), Icon::DraggingOver(), DraggingOverCenterPanel(), Icon::DraggingOverCombine(), AttachmentCategoriesRow::DraggingOverGrid(), ClosableContainer::DraggingOverGrid(), ClosableContainer::DraggingOverGrid(), HandsContainer::DraggingOverGrid(), HandsArea::DraggingOverHandsPanel(), AttachmentCategoriesContainer::DraggingOverHeader(), AttachmentCategoriesRow::DraggingOverHeader(), HandsContainer::DraggingOverHeader(), VicinityContainer::DraggingOverHeader(), ZombieContainer::DraggingOverHeader(), VicinityContainer::DraggingOverIcon(), Icon::DraggingOverSwap(), Icon::DropReceivedFromMain(), FileExist(), FindEntityByName(), WorldEditorAPI::FindEntityByName(), GestureMenuItem(), Input::GetActionGroupName(), FishingRod_Base_New::GetActionWidgetOverride(), InventoryItem::GetActionWidgetOverride(), ItemMap::GetActionWidgetOverride(), BleedingSourcesManagerBase::GetBitFromSelectionName(), SurfaceInfo::GetByFile(), SurfaceInfo::GetByName(), MenuData::GetCharacterName(), WBModuleDef::GetCmdLine(), PluginBase::GetConfigRecursive(), ScriptConsoleGeneralTab::GetCurrentLocationName(), Car::GetDebugActions(), ManBase::GetDebugActions(), Input::GetDeviceName(), ModInfo::GetDLCImage(), Physics::GetGeom(), PluginBase::GetID(), GetIDFromClassname(), AttachmentCategoriesRow::GetItemPreviewItem(), ClosableContainer::GetItemPreviewItem(), HandsContainer::GetItemPreviewItem(), ClosableContainer::GetItemPreviewWidget(), PlayerContainer::GetItemPreviewWidget(), ClosableContainer::GetItemPreviewWidgetDragOrDrop(), JsonObject::GetJson(), Managed::GetLastPlayedServer(), Managed::GetLastPlayedServerEx(), Land_WarheadStorage_PowerStation::GetLeverIndexByComponentName(), IEntity::GetLODByName(), GetName(), GetObject(), PluginFileHandler::GetParamByName(), PluginFileHandler::GetParameterArray(), PluginFileHandler::GetParameterBool(), PluginFileHandler::GetParameterFloat(), PluginFileHandler::GetParameterInt(), PluginFileHandler::GetParameterString(), ParticleList::GetParticleIDByName(), CGame::GetPlayerName(), CGame::GetPlayerNameShort(), Input::GetProfileName(), CGame::GetProfileString(), CGame::GetProfileStringList(), GetProfileValueBool(), DayZIntroScene::GetSelectedUserName(), IEntity::GetSelectionBasePositionLS(), LOD::GetSelectionByName(), IEntity::GetSelectionPositionLS(), IEntity::GetSelectionPositionMS(), IEntity::GetSelectionPositionOld(), IEntity::GetSelectionPositionWS(), SoundSetMap::GetSoundSetID(), GetValidDepenentPartsArray(), CfgParam::GetValueByName(), DayZPlayer::HandleView(), ScriptConsoleItemsTab::Init(), Attachments::InitAttachmentGrid(), AttachmentCategoriesContainer::InitGhostSlots(), ItemBase::InitializeSlots(), BleedingSourcesManagerBase::IsBleedingSourceActive(), IsCLIParam(), ScriptConsoleGeneralTab::IsLocationNameAvailable(), CfgParam::IsParamExist(), PlayerContainer::ItemAttached(), ZombieContainer::ItemAttached(), KillThread(), Load(), Widget::Load(), ScriptedWidgetEventHandler::LoadData(), Widget::LoadImageFile(), World::LoadUserLightingCfg(), Widget::LoadVideo(), MakeDirectory(), MakeScreenshot(), DiagMenu::MenuExists(), VicinitySlotsContainer::MouseButtonDown(), VicinitySlotsContainer::MouseClick(), HandsContainer::MouseClick2(), InventoryItem::NameToID(), CGame::ObjectGetDisplayName(), CGame::ObjectGetSelectionPosition(), CGame::ObjectGetSelectionPositionLS(), CGame::ObjectGetSelectionPositionMS(), CGame::ObjectGetSelectionPositionWS(), JsonApiStruct::OnBoolean(), 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(), JsonApiStruct::OnFloat(), HandsArea::OnHandsPanelDropReceived(), JsonApiStruct::OnInteger(), InventoryGridController::OnItemDraggingOver(), InventoryGridController::OnItemDropReceived(), JsonApiStruct::OnItemObject(), UIScriptedMenu::OnMouseEnter(), JsonApiStruct::OnObject(), OnRightPanelDropReceived(), PluginBase::OnSpawnErrorReport(), JsonApiStruct::OnStartArray(), JsonApiStruct::OnString(), JsonApiStruct::OnVector(), OpenFile(), PluginFileHandler::ParamExist(), AIBehaviourHLData::ParseAlertLevel(), AIBehaviourHLData::ParseBehaviourSlot(), ScriptedWidgetEventHandler::PlayerListEntryScriptedWidget(), ScriptedWidgetEventHandler::PrepareOwnedSlotsTooltip(), VicinitySlotsContainer::PrepareOwnedTooltipAfterItemTransferClick(), ItemManager::PrepareSlotsTooltip(), CGame::ProfilerStart(), CGame::ProfilerStop(), ScriptedWidgetEventHandler::Rebuild(), UIScriptedMenu::Refresh(), ScriptConsoleGeneralTab::RefreshLocations(), RegisterAnimation(), BleedingSourcesManagerBase::RegisterBleedingZone(), BleedingSourcesManagerBase::RegisterBleedingZoneEx(), DiagMenu::RegisterBool(), DiagMenu::RegisterItem(), KeysToUIElements::RegisterKeyToUIElement(), DiagMenu::RegisterMenu(), DiagMenu::RegisterRange(), PluginBase::RegisterVariable(), JsonApiStruct::RegV(), ScriptedWidgetEventHandler::Reload(), PluginConfigHandler::RemoveCameraPreset(), PluginFileHandler::RemoveParamByName(), PluginFileHandler::RemoveParameter(), PluginFileHandler::RemoveParameterArray(), PluginConfigHandler::RemoveWeatherPreset(), CfgParam::RenameParam(), PluginFileHandler::RenameParam(), UIScriptedMenu::Save(), DayZIntroSceneXbox::SaveCharName(), Managed::SaveCharName(), ManBase::SaySoundSet(), PluginBase::SendRPCMods(), CGame::ServerConfigGetInt(), SetAttachSoundEvent(), MenuDefaultCharacterData::SetCharacterName(), ColorManager::SetColor(), SetCSVName(), SetDetachSoundEvent(), ClosableContainer::SetEntity(), ClosableHeader::SetName(), Header::SetName(), IEntity::SetName(), ScriptedWidgetEventHandler::SetName(), SetName(), GetServersInput::SetNameFilter(), SceneData::SetNameMission(), SceneData::SetNameScene(), PluginFileHandler::SetParameterArray(), PluginFileHandler::SetParameterBool(), PluginFileHandler::SetParameterFloat(), PluginFileHandler::SetParameterInt(), PluginFileHandler::SetParameterString(), CGame::SetPlayerGameName(), CGame::SetPlayerName(), CGame::SetProfileString(), CGame::SetProfileStringList(), SetProfileValueBool(), UIScriptedMenu::SetServerInfo(), ItemManager::SetTemperature(), Managed::SetupPlayerName(), HudDebugWinBase::SetupValues(), SetVariable(), ActionTargetsCursor::SetXboxIcon(), ScriptedWidgetEventHandler::SetXboxIcon(), JsonApiStruct::StartArray(), JsonApiStruct::StartObject(), EntityAI::StatGet(), EntityAI::StatGetAsTime(), EntityAI::StatGetCounter(), EntityAI::StatRegister(), EntityAI::StatUpdate(), EntityAI::StatUpdateByGivenPos(), EntityAI::StatUpdateByPosition(), EntityAI::StatUpdateByTime(), JsonApiStruct::StoreBoolean(), JsonApiStruct::StoreFloat(), JsonApiStruct::StoreInteger(), JsonApiStruct::StoreObject(), JsonApiStruct::StoreString(), JsonApiStruct::StoreVector(), Icon::Swap(), SyncedValueAgent(), SyncedValueLevel(), Test(), ThreadFunction(), PlayerContainer::ToggleWidget(), string::ToString(), array< string >::Update(), ScriptedWidgetEventHandler::Update(), UIScriptedMenu::UpdateCategoryName(), UpdateConstructionParts(), Container::UpdateHeaderText(), UpdateNumericalVarsWidget(), DayZIntroSceneXbox::UpdateSelectedUserName(), UIScriptedMenu::UpdateSlotInfo(), HudDebugWinBase::UpdateValues(), and HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::ValidateAndRepairHelper().

◆ presets

◆ quantityMax

◆ quantityMin

float quantityMin

Definition at line 208 of file cfgplayerspawndatajson.c.

Referenced by ScriptedWidgetEventHandler::BuildCursor().

◆ slotName

◆ spawnWeight

Referenced by IsValid().