DIFF

class CfgGameplayHandlerSource

Members 3

private static string m_Path = "$mission:cfggameplay.json"
Referenced by LoadData()
private static ref array<ref ITEM_DataBase> m_Items = new array<ref ITEM_DataBase>()
Referenced by InitData(), Output(), RegisterItem()
Show 1 more, ValidateItems()
static ref CfgGameplayJson m_Data = new CfgGameplayJson()

Methods 76

static void RegisterItem(ITEM_DataBase item)
References array.Insert(), and m_Items
private static void ValidateItems()
Referenced by LoadData()
private static void InitData()
Referenced by LoadData()
static void Output()DEVELOPER
References array.Count(), Print(), and m_Items
static void OnLoaded()

we are allowed to read the file, so we replace the default data with data from json

Referenced by LoadData()
static void SyncDataSend(notnull Man player)
static void SyncDataSendEx(notnull PlayerIdentity identity)
static void OnRPC(Man player, ParamsReadContext ctx)
References ErrorEx(), Serializer.Read(), m_Data
Show 1 more, Param1.param1
Referenced by DayZGame.OnRPC()
static bool GetDisablePersonalLight()

! ===================================================================================== !! the naming convention for static functions in this file is Get+MemberVariableName !! ! =====================================================================================

static int GetLightingConfig()
static TStringArray GetObjectSpawnersArr()
static array<float> GetEnvironmentMinTemps()
static array<float> GetEnvironmentMaxTemps()
static array<float> GetWetnessWeightModifiers()
static bool GetDisableBaseDamage()
static bool GetDisableContainerDamage()
static bool GetDisableRespawnInUnconsciousness()
static float GetSprintStaminaModifierErc()
static float GetSprintStaminaModifierCro()
static float GetSprintSwimmingStaminaModifier()
static float GetSprintLadderStaminaModifier()
static float GetStaminaWeightLimitThreshold()
static float GetStaminaKgToStaminaPercentPenalty()
static float GetMeleeStaminaModifier()
static float GetObstacleTraversalStaminaModifier()
static float GetHoldBreathStaminaModifier()
static float GetMovementTimeToStrafeJog()
static float GetMovementTimeToSprint()
static float GetMovementTimeToStrafeSprint()
static float GetMovementRotationSpeedJog()
static float GetMovementRotationSpeedSprint()
static EWeaponObstructionMode GetWeaponObstructionModeStatic()
static EWeaponObstructionMode GetWeaponObstructionModeDynamic()
static bool GetDisable2dMap()
static bool GetDisableIsCollidingPlayerCheck()
static bool GetDisableIsClippingRoofCheck()
static bool GetDisableIsBaseViableCheck()
static bool GetDisableIsInTerrainCheck()
static bool GetDisableIsUnderwaterCheck()
static bool GetDisableHeightPlacementCheck()
static bool GetDisableIsPlacementPermittedCheck()
static bool GetDisableIsCollidingAngleCheck()
static bool GetDisableIsCollidingGPlotCheck()
static bool GetDisableIsCollidingCheck()
static bool GetDisablePerformRoofCheck()
static bool GetDisableDistanceCheck()
static TStringSet GetDisallowedTypesInUnderground()
static bool GetHitIndicationOverrideEnabled()
static int GetHitIndicationMode()
static int GetHitIndicationTypeID()
static int GetHitIndicationIndicatorColor()
static float GetHitIndicationMaxDuration()
static float GetHitIndicationBreakPoint()
static float GetHitIndicationScatter()
static float GetShockRefillSpeedConscious()
static float GetShockRefillSpeedUnconscious()
static bool GetAllowRefillSpeedModifier()
Referenced by ShockMdfr.OnTick()
static bool GetMapIgnoreMapOwnership()
static bool GetMapIgnoreNavItemsOwnership()
Referenced by MapMenu.Init(), and MapMenu.Update()
static bool GetMapDisplayPlayerPosition()
Referenced by MapMenu.Init()
static bool GetMapDisplayNavigationInfo()
Referenced by MapMenu.Init()
static float GetStaminaDepletionSpeed()
static float GetHealthDepletionSpeed()
Referenced by DrowningMdfr.OnTick()
static float GetShockDepletionSpeed()
Referenced by DrowningMdfr.OnTick()
static bool GetAllowStaminaAffectInertia()
static TStringArray GetPlayerSpawnGearPresetFiles()
static TStringArray GetPlayerRestrictedAreaFiles()
static float GetBoatDecayMultiplier()