Table of Contents

Class MultiplayerMissionAgentVisualSpawnComponent

Namespace
TaleWorlds.MountAndBlade
Assembly
TaleWorlds.MountAndBlade.dll
public class MultiplayerMissionAgentVisualSpawnComponent : MissionNetwork, IMissionBehavior, IUdpNetworkHandler
Inheritance
MultiplayerMissionAgentVisualSpawnComponent
Implements
Inherited Members

Constructors

MultiplayerMissionAgentVisualSpawnComponent()

public MultiplayerMissionAgentVisualSpawnComponent()

Methods

OnMyAgentSpawned()

public void OnMyAgentSpawned()

OnPreMissionTick(float)

public override void OnPreMissionTick(float dt)

Parameters

dt float

RemoveAgentVisuals(MissionPeer, bool)

public void RemoveAgentVisuals(MissionPeer missionPeer, bool sync = false)

Parameters

missionPeer MissionPeer
sync bool

SpawnAgentVisualsForPeer(MissionPeer, AgentBuildData, int, bool, int)

public void SpawnAgentVisualsForPeer(MissionPeer missionPeer, AgentBuildData buildData, int selectedEquipmentSetIndex = -1, bool isBot = false, int totalTroopCount = 0)

Parameters

missionPeer MissionPeer
buildData AgentBuildData
selectedEquipmentSetIndex int
isBot bool
totalTroopCount int

Events

OnMyAgentSpawnedFromVisual

public event Action OnMyAgentSpawnedFromVisual

Event Type

Action

OnMyAgentVisualRemoved

public event Action OnMyAgentVisualRemoved

Event Type

Action

OnMyAgentVisualSpawned

public event Action OnMyAgentVisualSpawned

Event Type

Action

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