Table of Contents

Class MainBaseBuildables

Namespace
Uncreated.Warfare.Buildables
Assembly
Uncreated.Warfare.dll
[Priority(10)]
public class MainBaseBuildables : ILayoutHostedService
Inheritance
MainBaseBuildables
Implements
Inherited Members

Constructors

MainBaseBuildables(BuildableAttributesDataStore, ZoneStore, ILogger<MainBaseBuildables>)

public MainBaseBuildables(BuildableAttributesDataStore attributes, ZoneStore zoneStore, ILogger<MainBaseBuildables> logger)

Parameters

attributes BuildableAttributesDataStore
zoneStore ZoneStore
logger ILogger<MainBaseBuildables>

Fields

PermanentAttribute

Indicates that a barricade outside of main and the war room won't be wiped.

public const string PermanentAttribute = "permanent"

Field Value

string

TransientAttribute

Indicates that a barricade in main or the war room will still be wiped.

public const string TransientAttribute = "transient"

Field Value

string

Methods

ClearOtherBuildables()

public void ClearOtherBuildables()

StartAsync(CancellationToken)

Executes at the beginning of every game.

public UniTask StartAsync(CancellationToken token)

Parameters

token CancellationToken

Returns

UniTask

StopAsync(CancellationToken)

Executes at the end of every game.

public UniTask StopAsync(CancellationToken token)

Parameters

token CancellationToken

Returns

UniTask