Table of Contents

Class MapStructureCountTracker

Namespace
Root
Assembly
SPZGameAssembly.dll
public class MapStructureCountTracker : IMapStructureCountTracker, IReadOnlyMapStructureCounter
Inheritance
object
MapStructureCountTracker
Implements
Extension Methods

Constructors

MapStructureCountTracker(IMapModel, IEventSender, ILogger)

public MapStructureCountTracker(IMapModel map, IEventSender passiveEventBus, ILogger logger)

Parameters

map IMapModel
passiveEventBus IEventSender
logger ILogger

Properties

OnChanged

public IEvent OnChanged { get; }

Property Value

IEvent

Methods

Dispose()

public void Dispose()

GetCount(BuildingDefinitionId)

public int GetCount(BuildingDefinitionId id)

Parameters

id BuildingDefinitionId

Returns

int

GetCount(IslandDefinitionId)

public int GetCount(IslandDefinitionId id)

Parameters

id IslandDefinitionId

Returns

int