Dayz 1.25
Dayz Code Explorer by KGB
|
Закрытые члены | |
bool | IsUnderRoofBuilding () |
void | LogDryWetProcess (string message, bool indented=false) |
Закрытые данные | |
const float | RAIN_LIMIT_LOW = 0.05 |
const float | WATER_LEVEL_HIGH = 1.5 |
const float | WATER_LEVEL_MID = 1.2 |
const float | WATER_LEVEL_LOW = 0.5 |
const float | WATER_LEVEL_NONE = 0.15 |
bool | m_IsUnderRoofBuilding |
|
inlineprotected |
Перекрестные ссылки ApplyDrynessToItemEx().
|
inlineprotected |
adds wetness to item inside parent item containing liquid
adds wetness to item inside wet parent item
Перекрестные ссылки ApplyDrynessToItemEx(), Class::CastTo(), GameConstants::ENVIRO_TICK_RATE, LogDryWetProcess(), m_ItemsWetnessMax, m_Player, GameConstants::STATE_DAMP, GameConstants::STATE_SOAKING_WET и GameConstants::TEMPERATURE_RATE_COOLING_PLAYER.
Используется в ApplyDrynessToItem(), ApplyDrynessToItemEx() и ProcessItemsDryness().
Перекрестные ссылки ApplyWetnessToItem(), Class::CastTo(), GameConstants::ENVIRO_TICK_RATE, GetWetDelta(), LogDryWetProcess(), m_ItemsWetnessMax, m_Player, GameConstants::STATE_SOAKING_WET и GameConstants::TEMPERATURE_RATE_COOLING_PLAYER.
Используется в ApplyWetnessToItem() и ProcessItemsWetness().
|
inlineprotected |
returns weighted avg heat comfort for bodypart
go through all body parts we've defined for that zone (ex.: head, body, feet)
Перекрестные ссылки Class::CastTo(), GameConstants::ENVIRO_HEATISOLATION_BACK_WEIGHT, GameConstants::ENVIRO_HEATISOLATION_VEST_WEIGHT и m_Player.
Используется в ProcessItemsHeat().
|
inlineprotected |
heat transfer through air to player (env temperature)
dist factor minimum should be at 0
Перекрестные ссылки vector::Distance(), m_Player и Math::Max().
Используется в ProcessTemperatureSources().
|
inlineprotected |
Checks whether Player is sheltered.
Перекрестные ссылки IsInsideVehicle(), m_IsUnderRoof, m_IsUnderRoofBuilding, m_Player и DayZPhysics::RayCastBullet().
Используется в Update().
no valid surface under character
sync info about water contact to player
update active surface
Перекрестные ссылки g_Game, IsUnderRoofBuilding(), LIQUID_RIVERWATER, LIQUID_WATER, m_IsInWater, m_Player, m_SurfaceType, WATER_LEVEL_HIGH и WATER_LEVEL_MID.
Используется в Update().
|
inlineprotected |
Перекрестные ссылки g_Game, m_Clouds, m_DayOrNight, m_Fog, m_Rain, m_Wind, m_WindAverageBuffer и SetEnvironmentTemperature().
Используется в Update().
|
inlineprotected |
Перекрестные ссылки GetPlayerHeat(), m_Player, m_PlayerHeat, m_PlayerHeightPos и m_PlayerSpeed.
Используется в Update().
Перекрестные ссылки GameConstants::ENVIRO_HIGH_TEMP_LIMIT, GameConstants::ENVIRO_LOW_TEMP_LIMIT, GameConstants::ENVIRO_PLAYER_COMFORT_TEMP и GameConstants::ENVIRO_TEMP_EFFECT_ON_PLAYER.
Используется в ProcessItemsHeat().
|
inlineprotected |
next temp source is too far
Перекрестные ссылки vector::DistanceSq(), GameConstants::ENVIRO_TEMP_SOURCES_LOOKUP_RADIUS, GetGame(), m_Player, m_UTemperatureSources и Math::SqrFloat().
Используется в Update().
|
inlineprotected |
Перекрестные ссылки m_DayOrNight.
|
inlineprotected |
debug
Перекрестные ссылки g_Game, GetNextRoofCheck(), GetTemperatureHeightCorrection(), GetWetDelta(), GetWindModifierPerSurface(), IsInsideBuilding(), IsWaterContact(), m_Clouds, m_DayOrNight, m_EnvironmentTemperature, m_Fog, m_HeatComfort, m_IsUnderRoof, m_Player, m_Rain, m_WaterLevel, m_Wind, bool::ToString(), float::ToString() и WATER_LEVEL_NONE.
|
inlineprotected |
Перекрестные ссылки Math::AbsFloat(), GameConstants::ENVIRO_CLOUDS_TEMP_EFFECT, GameConstants::ENVIRO_FOG_TEMP_EFFECT, GameConstants::ENVIRO_TEMPERATURE_INSIDE_COEF, GameConstants::ENVIRO_TEMPERATURE_INSIDE_VEHICLE_COEF, GameConstants::ENVIRO_TEMPERATURE_UNDERROOF_COEF, GameConstants::ENVIRO_TEMPERATURE_WIND_COEF, GameConstants::ENVIRO_WATER_TEMPERATURE_COEF, g_Game, GetTemperatureHeightCorrection(), GetWindModifierPerSurface(), IsInsideBuilding(), IsInsideVehicle(), IsUnderRoof(), IsWaterContact(), m_Clouds, m_Fog, m_IsUnderRoofBuilding, m_UTSAverageTemperature и m_Wind.
Используется в GetWetDelta() и SetEnvironmentTemperature().
|
inlineprotected |
Перекрестные ссылки GameConstants::ENVIRO_TICK_ROOF_RC_CHECK и m_RoofCheckTimer.
Используется в GetDebugMessage().
|
inlineprotected |
Returns heat player generated based on player's movement speed (for now)
Перекрестные ссылки GameConstants::ENVIRO_DEFAULT_ENTITY_HEAT, m_PlayerSpeed и Math::Max().
Используется в CollectAndSetPlayerData() и ProcessItemsHeat().
|
inlineprotected |
Перекрестные ссылки m_EnvironmentTemperature.
|
inlineprotected |
Перекрестные ссылки GameConstants::ENVIRO_TEMPERATURE_HEIGHT_REDUCTION, m_PlayerHeightPos и Math::Max().
Используется в GetDebugMessage() и GetEnvironmentTemperature().
|
inlineprotected |
Перекрестные ссылки m_UTSAverageTemperature.
|
inlineprotected |
Перекрестные ссылки IsWaterContact(), m_WaterLevel и WATER_LEVEL_NONE.
|
inlineprotected |
player is getting wet by movement/swimming in water (+differentiate wetDelta by water level)
player is getting wet from rain
player is drying
Перекрестные ссылки GameConstants::ENVIRO_CLOUD_DRY_EFFECT, GameConstants::ENVIRO_DRY_INCREMENT, GameConstants::ENVIRO_FOG_DRY_EFFECT, GameConstants::ENVIRO_TICKS_TO_WETNESS_CALCULATION, GameConstants::ENVIRO_WET_INCREMENT, GameConstants::ENVIRO_WIND_EFFECT, GetEnvironmentTemperature(), IsInsideBuilding(), IsInsideVehicle(), IsRaining(), IsUnderRoof(), IsWaterContact(), m_Clouds, m_Fog, m_PlayerHeat, m_Rain, m_WaterLevel, m_Wind, Math::Max(), WATER_LEVEL_HIGH, WATER_LEVEL_LOW, WATER_LEVEL_MID и WATER_LEVEL_NONE.
Используется в ApplyWetnessToItem() и GetDebugMessage().
|
inlineprotected |
Перекрестные ссылки g_Game, IsUnderRoofBuilding() и m_SurfaceType.
Используется в GetDebugMessage() и GetEnvironmentTemperature().
|
inlineprotected |
whole body slots
upper body part slots
bottom body part slots
lower body part slots
heat comfort related slots
Перекрестные ссылки m_BodyParts, m_FeetParts, m_HeadParts, m_HeatBufferTimer, m_HeatComfort, m_IsInWater, m_IsUnderRoof, m_Player, m_PlayerSpeed, m_RoofCheckTimer, m_SlotIdsBottom, m_SlotIdsComplete, m_SlotIdsLower, m_SlotIdsUpper, m_SurfaceType, m_UTemperatureSources, m_UTSAverageTemperature, m_UTSAverageTemperatureBuffer, m_WaterLevel, m_WetDryTick и m_WindAverageBuffer.
|
inlineprotected |
Перекрестные ссылки m_Player.
Используется в GetDebugMessage(), GetEnvironmentTemperature(), GetWetDelta() и Update().
|
inlineprotected |
Перекрестные ссылки m_Player.
Используется в CheckUnderRoof(), GetEnvironmentTemperature(), GetWetDelta() и Update().
|
inlineprotected |
|
inlineprotected |
Перекрестные ссылки m_IsTempSet.
|
inlineprotected |
Перекрестные ссылки m_IsUnderRoof.
Используется в GetEnvironmentTemperature(), GetWetDelta() и Update().
|
inlineprivate |
Перекрестные ссылки m_IsUnderRoofBuilding.
Используется в CheckWaterContact() и GetWindModifierPerSurface().
|
inlineprotected |
Перекрестные ссылки m_IsInWater.
Используется в GetDebugMessage(), GetEnvironmentTemperature(), GetWaterLevel(), GetWetDelta() и Update().
Перекрестные ссылки Debug::Log().
Используется в ApplyDrynessToItemEx(), ApplyWetnessToItem(), ProcessItemsDryness() и ProcessItemsWetness().
|
inlineprotected |
Перекрестные ссылки ApplyDrynessToItemEx(), vector::Distance(), GameConstants::ENVIRO_TICK_RATE, GetPosition, LogDryWetProcess(), m_HasTemperatureSources, m_Player, m_UTemperatureSources и Math::Max().
Используется в Update().
|
inlineprotected |
Calculates and process temperature of items.
Heat Comfort
Heat (from items);
Перекрестные ссылки BodyPartHeatProperties(), Math::Clamp(), GameConstants::ENVIRO_HEATCOMFORT_BODYPARTS_WEIGHT, GameConstants::ENVIRO_HEATCOMFORT_FEETPARTS_WEIGHT, GameConstants::ENVIRO_HEATCOMFORT_HEADPARTS_WEIGHT, GameConstants::ENVIRO_ITEM_HEAT_TRANSFER_COEF, GameConstants::ENVIRO_PLAYER_HEATBUFFER_DECREASE, GameConstants::ENVIRO_PLAYER_HEATBUFFER_INCREASE, GameConstants::ENVIRO_PLAYER_HEATBUFFER_TICK, EnvTempToCoef(), GetPlayerHeat(), m_BodyParts, m_EnvironmentTemperature, m_FeetParts, m_HeadParts, m_HeatBufferTimer, m_HeatComfort, m_Player, m_UTSAverageTemperature, Math::Min(), PlayerConstants::THRESHOLD_HEAT_COMFORT_MINUS_WARNING и PlayerConstants::THRESHOLD_HEAT_COMFORT_PLUS_WARNING.
Используется в Update().
Перекрестные ссылки ApplyWetnessToItem(), GameConstants::ENVIRO_TICK_RATE, LogDryWetProcess() и m_Player.
Используется в ProcessWetnessByRain() и ProcessWetnessByWaterLevel().
|
inlineprotected |
adds average of 2 most significat sources to buffer
Перекрестные ссылки CalcTemperatureFromTemperatureSource(), m_HasTemperatureSources, m_UTemperatureSources, m_UTSAverageTemperature и m_UTSAverageTemperatureBuffer.
Используется в Update().
|
inlineprotected |
Перекрестные ссылки m_SlotIdsComplete и ProcessItemsWetness().
Используется в Update().
complete
upper part
bottom part
feet
Перекрестные ссылки m_SlotIdsBottom, m_SlotIdsComplete, m_SlotIdsLower, m_SlotIdsUpper, ProcessItemsWetness(), WATER_LEVEL_HIGH, WATER_LEVEL_LOW, WATER_LEVEL_MID и WATER_LEVEL_NONE.
Используется в Update().
|
inlineprotected |
Перекрестные ссылки GetEnvironmentTemperature(), m_EnvironmentTemperature и m_IsTempSet.
Используется в CollectAndSetEnvironmentData().
check if player is under roof (only if the Building check is false)
Updates data
Process temperature
Process item wetness/dryness
setting of wetness/dryiness of player
reset item wetness counter;
Перекрестные ссылки CheckUnderRoof(), CheckWaterContact(), CollectAndSetEnvironmentData(), CollectAndSetPlayerData(), GameConstants::ENVIRO_TICK_RATE, GameConstants::ENVIRO_TICK_ROOF_RC_CHECK, GameConstants::ENVIRO_TICKS_TO_WETNESS_CALCULATION, GatherTemperatureSources(), IsInsideBuilding(), IsInsideVehicle(), IsRaining(), IsUnderRoof(), IsWaterContact(), m_ItemsWetnessMax, m_Player, m_RoofCheckTimer, m_Time, m_WaterLevel, m_WetDryTick, ProcessItemsDryness(), ProcessItemsHeat(), ProcessTemperatureSources(), ProcessWetnessByRain(), ProcessWetnessByWaterLevel() и GameConstants::STATE_WET.
Используется в Init() и ProcessItemsHeat().
|
protected |
Используется в CollectAndSetEnvironmentData(), GetDebugMessage(), GetEnvironmentTemperature() и GetWetDelta().
|
protected |
Используется в CollectAndSetEnvironmentData(), GetDayOrNight() и GetDebugMessage().
|
protected |
Используется в GetDebugMessage(), GetTemperature(), ProcessItemsHeat() и SetEnvironmentTemperature().
Используется в Init() и ProcessItemsHeat().
|
protected |
Используется в CollectAndSetEnvironmentData(), GetDebugMessage(), GetEnvironmentTemperature() и GetWetDelta().
|
protected |
Используется в ProcessItemsDryness() и ProcessTemperatureSources().
Используется в Init() и ProcessItemsHeat().
|
protected |
DEPRECATED.
Используется в Init() и ProcessItemsHeat().
|
protected |
Используется в GetDebugMessage(), Init() и ProcessItemsHeat().
|
protected |
|
protected |
Используется в CheckWaterContact(), Init() и IsWaterContact().
|
protected |
Используется в IsTemperatureSet() и SetEnvironmentTemperature().
|
protected |
Используется в CheckUnderRoof(), GetDebugMessage(), Init() и IsUnderRoof().
|
private |
Используется в CheckUnderRoof(), GetEnvironmentTemperature() и IsUnderRoofBuilding().
|
protected |
Используется в ApplyDrynessToItemEx(), ApplyWetnessToItem() и Update().
|
protected |
Используется в ApplyDrynessToItemEx(), ApplyWetnessToItem(), BodyPartHeatProperties(), CalcTemperatureFromTemperatureSource(), CheckUnderRoof(), CheckWaterContact(), CollectAndSetPlayerData(), GatherTemperatureSources(), GetDebugMessage(), Init(), IsInsideBuilding(), IsInsideVehicle(), ProcessItemsDryness(), ProcessItemsHeat(), ProcessItemsWetness() и Update().
|
protected |
Используется в CollectAndSetPlayerData() и GetWetDelta().
|
protected |
Используется в CollectAndSetPlayerData() и GetTemperatureHeightCorrection().
|
protected |
Используется в CollectAndSetPlayerData(), GetPlayerHeat() и Init().
|
protected |
|
protected |
Используется в CollectAndSetEnvironmentData(), GetDebugMessage(), GetWetDelta() и IsRaining().
|
protected |
keeps wetness of most wet item in player's possesion
Используется в GetNextRoofCheck(), Init() и Update().
Используется в Init() и ProcessWetnessByWaterLevel().
Используется в Init(), ProcessWetnessByRain() и ProcessWetnessByWaterLevel().
Используется в Init() и ProcessWetnessByWaterLevel().
Используется в Init() и ProcessWetnessByWaterLevel().
|
protected |
Используется в CheckWaterContact(), GetWindModifierPerSurface() и Init().
|
protected |
Используется в GatherTemperatureSources(), Init(), ProcessItemsDryness() и ProcessTemperatureSources().
|
protected |
Используется в Init() и ProcessTemperatureSources().
|
protected |
Используется в GetDebugMessage(), GetWaterLevel(), GetWetDelta(), Init() и Update().
|
protected |
Используется в CollectAndSetEnvironmentData(), GetDebugMessage(), GetEnvironmentTemperature() и GetWetDelta().
Используется в CollectAndSetEnvironmentData() и Init().
Используется в IsRaining().
Используется в CheckWaterContact(), GetWetDelta() и ProcessWetnessByWaterLevel().
Используется в GetWetDelta() и ProcessWetnessByWaterLevel().
Используется в CheckWaterContact(), GetWetDelta() и ProcessWetnessByWaterLevel().
Используется в GetDebugMessage(), GetWaterLevel(), GetWetDelta() и ProcessWetnessByWaterLevel().