Table of Contents

Class SpawningBehaviorBase

Namespace
TaleWorlds.MountAndBlade
Assembly
TaleWorlds.MountAndBlade.dll
public abstract class SpawningBehaviorBase
Inheritance
SpawningBehaviorBase
Derived
Inherited Members

Constructors

SpawningBehaviorBase()

protected SpawningBehaviorBase()

Fields

GameMode

protected MissionMultiplayerGameModeBase GameMode

Field Value

MissionMultiplayerGameModeBase

IsSpawningEnabled

protected bool IsSpawningEnabled

Field Value

bool

MissionLobbyComponent

protected MissionLobbyComponent MissionLobbyComponent

Field Value

MissionLobbyComponent

MissionLobbyEquipmentNetworkComponent

protected MissionLobbyEquipmentNetworkComponent MissionLobbyEquipmentNetworkComponent

Field Value

MissionLobbyEquipmentNetworkComponent

PoseActionCavalry

public static readonly ActionIndexCache PoseActionCavalry

Field Value

ActionIndexCache

PoseActionInfantry

public static readonly ActionIndexCache PoseActionInfantry

Field Value

ActionIndexCache

SpawnComponent

protected SpawnComponent SpawnComponent

Field Value

SpawnComponent

SpawningDelayTimer

protected float SpawningDelayTimer

Field Value

float

SpawningEndDelay

protected float SpawningEndDelay

Field Value

float

_spawnCheckTimer

protected Timer _spawnCheckTimer

Field Value

Timer

Properties

AgentVisualSpawnComponent

protected MultiplayerMissionAgentVisualSpawnComponent AgentVisualSpawnComponent { get; }

Property Value

MultiplayerMissionAgentVisualSpawnComponent

Mission

protected Mission Mission { get; }

Property Value

Mission

Methods

AllowEarlyAgentVisualsDespawning(MissionPeer)

public abstract bool AllowEarlyAgentVisualsDespawning(MissionPeer missionPeer)

Parameters

missionPeer MissionPeer

Returns

bool

AreAgentsSpawning()

public bool AreAgentsSpawning()

Returns

bool

CanUpdateSpawnEquipment(MissionPeer)

public virtual bool CanUpdateSpawnEquipment(MissionPeer missionPeer)

Parameters

missionPeer MissionPeer

Returns

bool

Clear()

public virtual void Clear()

GetBodyProperties(MissionPeer, BasicCultureObject)

protected BodyProperties GetBodyProperties(MissionPeer missionPeer, BasicCultureObject cultureLimit)

Parameters

missionPeer MissionPeer
cultureLimit BasicCultureObject

Returns

BodyProperties

GetMaximumReSpawnPeriodForPeer(MissionPeer)

public virtual int GetMaximumReSpawnPeriodForPeer(MissionPeer peer)

Parameters

peer MissionPeer

Returns

int

Initialize(SpawnComponent)

public virtual void Initialize(SpawnComponent spawnComponent)

Parameters

spawnComponent SpawnComponent

IsRoundInProgress()

protected abstract bool IsRoundInProgress()

Returns

bool

OnAgentRemoved(Agent, Agent, AgentState, KillingBlow)

public void OnAgentRemoved(Agent affectedAgent, Agent affectorAgent, AgentState agentState, KillingBlow blow)

Parameters

affectedAgent Agent
affectorAgent Agent
agentState AgentState
blow KillingBlow

OnClearScene()

public virtual void OnClearScene()

OnTick(float)

public virtual void OnTick(float dt)

Parameters

dt float

RequestStartSpawnSession()

public virtual void RequestStartSpawnSession()

RequestStopSpawnSession()

public void RequestStopSpawnSession()

ResetSpawnCounts()

protected void ResetSpawnCounts()

ResetSpawnTimers()

protected void ResetSpawnTimers()

SetRemainingAgentsInvulnerable()

public void SetRemainingAgentsInvulnerable()

SpawnAgents()

protected abstract void SpawnAgents()

SpawnBot(Team, BasicCultureObject)

protected void SpawnBot(Team agentTeam, BasicCultureObject cultureLimit)

Parameters

agentTeam Team
cultureLimit BasicCultureObject

ToggleUpdatingSpawnEquipment(bool)

public void ToggleUpdatingSpawnEquipment(bool canUpdate)

Parameters

canUpdate bool

Events

OnAllAgentsFromPeerSpawnedFromVisuals

protected event Action<MissionPeer> OnAllAgentsFromPeerSpawnedFromVisuals

Event Type

Action<MissionPeer>

OnPeerSpawnedFromVisuals

protected event Action<MissionPeer> OnPeerSpawnedFromVisuals

Event Type

Action<MissionPeer>

OnSpawningEnded

public event SpawningBehaviorBase.OnSpawningEndedEventDelegate OnSpawningEnded

Event Type

SpawningBehaviorBase.OnSpawningEndedEventDelegate

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).