Table of Contents

Class DeploymentService

Namespace
Uncreated.Warfare.FOBs.Deployment
Assembly
Uncreated.Warfare.dll
public class DeploymentService : ILayoutHostedService, IEventListener<PlayerDied>
Inheritance
DeploymentService
Implements
Inherited Members

Constructors

DeploymentService(IPlayerService)

public DeploymentService(IPlayerService playerService)

Parameters

playerService IPlayerService

Fields

DefaultNearbyEnemyRange

public const float DefaultNearbyEnemyRange = 35

Field Value

float

Methods

CancelDeploymentsTo(IDeployable, bool)

Cancel all deployments to a given location.

public void CancelDeploymentsTo(IDeployable location, bool chat)

Parameters

location IDeployable
chat bool

TryStartDeployment(WarfarePlayer, IDeployable, in DeploySettings)

Begin deployment to a location.

public bool TryStartDeployment(WarfarePlayer player, IDeployable location, in DeploySettings settings)

Parameters

player WarfarePlayer
location IDeployable
settings DeploySettings

Returns

bool

Whether or not the initial check was successful. Future tick checks may still fail.