Arma Reforger Script API
Loading...
Searching...
No Matches
DestructionHeatmapRegion Interface Reference
Inheritance diagram for DestructionHeatmapRegion:
SCR_DestructionHeatmapRegion

Public Member Functions

bool MergeHeatmapEntries (notnull DestructionHeatmapEntry mainEntry, notnull DestructionHeatmapEntry newEntry)
 Attempts to merge entries A and B.
 
bool ShouldUpdateHeatmap ()
 
void OnDiag ()
 

Member Function Documentation

◆ MergeHeatmapEntries()

bool DestructionHeatmapRegion.MergeHeatmapEntries ( notnull DestructionHeatmapEntry mainEntry,
notnull DestructionHeatmapEntry newEntry )

Attempts to merge entries A and B.

If it returns true, B is discarded and A will be kept as the result of A+B We always merge the new entry into the main entry, as the main entry is more likely to already exist in the world. When false is returned, no changes are done.

Parameters
DestructionHeatmapEntrymainEntry: First heatmap entry
DestructionHeatmapEntrynewEntry: Second heatmap entry
Returns
Returns true if a merge was done, false otherwise

Implemented in SCR_DestructionHeatmapRegion.

◆ OnDiag()

void DestructionHeatmapRegion.OnDiag ( )

◆ ShouldUpdateHeatmap()

bool DestructionHeatmapRegion.ShouldUpdateHeatmap ( )

The documentation for this interface was generated from the following file: