PlayerEffectManager.EffectPointStatus
A private class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
The effect state of one body point: which temperature level it is at and the smoke, burn and stat effects it can show.
- Listed in Global namespace: P
- Nested in
PlayerEffectManager - Attributes
DefaultMember
Constructors
| Member | What it is |
|---|---|
EffectPointStatus(PlayerEffectManager.EffectPosition effectPosition, PlayerEffectManager manager, PlayerEffectManager.OverrideSettings settings) | Creates a PlayerEffectManager.EffectPointStatus from effectPosition, manager and settings. |
Fields
8 private and internal fields
| Member | What it is |
|---|---|
private PlayerEffectManager.EffectApplication burnActiveEffectDefinition | The burn effect at this point. |
private PlayerEffectManager.EffectPosition effectPosition | Where on the body this point is. |
private PlayerEffectManager.EffectApplication smokeActiveEffectDefinition | The smoke effect at this point. |
private Dictionary<StatDefinition, PlayerEffectManager.EffectApplication[]> statEffectsDefinition | The buff and debuff effects for each stat at this point. |
private AnimationCurve temperatureCurve | The manager's temperature to size curve. |
private Action TemperatureLevelChanged | Called when the level changes; set to the manager's UpdateLightEffects. |
private int temperatureLevelCount | How many temperature thresholds there are. |
private float[] temperatureLevels | The manager's smoke and burn thresholds. |
Properties
| Member | What it is |
|---|---|
int CurrentLevel { get; private set; } | -1 when cool, 0 when smoking, 1 when burning. |
bool HaveStatEffectsValid { get; } | True if this point shows stat effects for this player (local or remote). |
PlayerEffectManager.EffectApplication[] this[StatDefinition statDefinition] { get; } | The buff and debuff effects for a stat at this point, buff first. |
Methods
1 private and internal method
| Member | What it is |
|---|---|
private void UpdateTemperature(HeatPoint point) | Moves the point between cool, smoke and burn as its heat point's temperature changes, and resizes the burn effect. |
Used in
Members of other types that take, return or hold a EffectPointStatus: