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

Public Member Functions

override bool MergeHeatmapEntries (notnull DestructionHeatmapEntry mainEntry, notnull DestructionHeatmapEntry newEntry)
 Attempts to merge entries A and B.
 
- Public Member Functions inherited from DestructionHeatmapRegion
bool ShouldUpdateHeatmap ()
 
void OnDiag ()
 

Member Function Documentation

◆ MergeHeatmapEntries()

override bool SCR_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

Implements DestructionHeatmapRegion.


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