Skip to main content

EmberComposer.HeatPointCollectionHandler

A private class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Heats one pickup's HeatPointCollection for an EmberComposer skill input.

Constructors​

MemberWhat it is
HeatPointCollectionHandler(EmberComposer composer, ISkillInputMethod input)Creates an EmberComposer.HeatPointCollectionHandler from composer and input.

Fields​

6 private and internal fields
MemberWhat it is
private HeatPoint closestHeatPointHeat point being heated.
private HeatPointCollection collectionThe pickup's heat point collection.
private float energyPerSecondCopied from the skill.
private float targetTemperatureCopied from the skill.
private IUnityUpdateMethod updateHandle of the per-frame energy update.
private static UpdateModule updateModuleShared "Ember Composer" update module.

Properties​

MemberWhat it is
IEnumerable<HeatPoint> HeatPoints { get; }The pickup's heat points.
ISkillInputMethod Input { get; }The skill input this handler belongs to.

Methods​

MemberWhat it is
void Activate()Finds the nearest heat point, starts adding energy each frame and makes all points ignore ambient temperature.
void Deactivate()Stops adding energy and lets the points follow ambient temperature again.
void Deregister()Unhooks from the pickup's interaction start.
3 private and internal methods
MemberWhat it is
private void AddEnergy()Adds energy to the nearest heat point, capped by the target, and resets the input once every point is hot enough.
private void AssessClosestHeatPoint()Picks the heat point nearest the first holding hand's grip.
private void Reassess(Interactable arg1, Interactor arg2)Re-picks the nearest heat point when the pickup is grabbed.

Used in​

Members of other types that take, return or hold a HeatPointCollectionHandler: