|
Arma Reforger Script API
|
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 () |
| 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.
| DestructionHeatmapEntry | mainEntry: First heatmap entry |
| DestructionHeatmapEntry | newEntry: Second heatmap entry |
Implements DestructionHeatmapRegion.