|
float | GetPlayerHeat () |
| Returns heat player generated based on player's movement speed (for now)
|
|
bool | IsUnderRoof () |
|
bool | IsWaterContact () |
|
bool | IsInsideBuilding () |
|
bool | IsInsideVehicle () |
|
bool | IsRaining () |
|
bool | IsSnowing () |
|
bool | DetermineHeatcomfortBehavior () |
|
void | CheckUnderRoof () |
| Checks whether Player is sheltered.
|
|
void | CheckWaterContact (out float pWaterLevel) |
|
float | GetWindModifierPerSurface () |
|
float | GetTemperature () |
|
float | GetTargetHeatComfort () |
|
float | GetEnvironmentTemperature () |
|
float | GetWetDelta () |
|
void | CollectAndSetPlayerData () |
|
void | CollectAndSetEnvironmentData () |
|
void | SetEnvironmentTemperature () |
|
void | SetAreaGenericColdness () |
| Determines whether player is in cold area which restricts use of some actions (digging)
|
|
void | ProcessWetnessByWaterLevel (float pWaterLevel) |
| process attachments by water depth
|
|
void | ProcessItemsWetness (array< int > pSlotIds) |
|
void | ProcessItemsDryness () |
|
void | ApplyWetnessToItem (ItemBase pItem) |
|
void | ApplyDrynessToItem (ItemBase pItem) |
|
void | ApplyDrynessToItemEx (ItemBase pItem, EnvironmentDrynessData pDrynessData) |
|
void | ProcessHeatComfort () |
| Calculates and process player's heatcomfort related to body parts.
|
|
void | SetTargetHeatComfort (float value) |
|
void | SetHeatcomfortDirectly () |
|
void | ProcessHeatBuffer (EnvironmentSnapshotData data) |
|
float | GetApplicableHeatbuffer () |
|
void | ProcessItemsTemperature (array< int > pBodyPartIds) |
| go through all items in player's possession cool/warm them to neutral temperature
|
|
void | ProcessItemsInHandsTemperature () |
|
void | ProcessItemHierarchyRecursive (ItemBase item, float heatPermeabilityCoef=1.0) |
|
void | SetProcessedItemTemperature (ItemBase item, float heatPermeabilityCoef=1.0) |
|
float | EnvTempToCoef (float pTemp) |
|
void | BodyPartHeatProperties (int pBodyPartId, float pCoef, out float pHeatComfort, out float pHeat) |
| returns enhanced heat comfort for given body part
|
|
float | NakedBodyPartHeatComfortPenalty (int pBodyPartSlotId, float pCoef) |
|
void | GatherTemperatureSources () |
|
void | SetItemHeatingCoef (float val) |
|
void | ProcessTemperatureSources () |
|
void | OnTemperatureSourcesEnter () |
|
void | OnTemperatureSourcesLeft () |
|
float | GetUniversalSourcesTemperageAverage () |
|
float | CalcTemperatureFromTemperatureSource (notnull UTemperatureSource uts) |
|
string | GetDebugMessage () |
| debug
|
|
int | GetNextRoofCheck () |
|
float | GetWaterLevel () |
|
void | Init (PlayerBase pPlayer) |
| used for calculations before the data modification
|
|
bool | OverridenHeatComfort (out float value) |
|
void | AddToEnvironmentTemperature (float pTemperature) |
|
void | ProcessItemsHeat () |
|
void | ProcessWetnessByRain () |
|
float | GetTemperatureHeightCorrection () |
|
void | BodyPartHeatProperties (array< int > pBodyPartIds, float pCoef, out float pHeatComfort, out float pHeat) |
| returns weighted avg heat comfort for bodypart
|
|
void | SetEnvironmentSnapshotData () |
|
void | ProcessHeatBuffer (float heatComfortCloths) |
| backward compatibility [<1.27]
|
|
float | WindEffectTemperatureValue (float temperatureInput) |
| backward compatibility [<1.28]
|
|
float | GetDayOrNight () |
|
См. определение в файле Environment.c строка 13