Table of Contents

Class CustomBattleAgentOrigin

Namespace
TaleWorlds.MountAndBlade
Assembly
TaleWorlds.MountAndBlade.dll
public class CustomBattleAgentOrigin : IAgentOriginBase
Inheritance
CustomBattleAgentOrigin
Implements
Inherited Members

Constructors

CustomBattleAgentOrigin(CustomBattleCombatant, BasicCharacterObject, CustomBattleTroopSupplier, bool, int, UniqueTroopDescriptor)

public CustomBattleAgentOrigin(CustomBattleCombatant customBattleCombatant, BasicCharacterObject characterObject, CustomBattleTroopSupplier troopSupplier, bool isPlayerSide, int rank = -1, UniqueTroopDescriptor uniqueNo = default)

Parameters

customBattleCombatant CustomBattleCombatant
characterObject BasicCharacterObject
troopSupplier CustomBattleTroopSupplier
isPlayerSide bool
rank int
uniqueNo UniqueTroopDescriptor

Properties

Banner

public Banner Banner { get; }

Property Value

Banner

CustomBattleCombatant

public CustomBattleCombatant CustomBattleCombatant { get; }

Property Value

CustomBattleCombatant

FactionColor

public uint FactionColor { get; }

Property Value

uint

FactionColor2

public uint FactionColor2 { get; }

Property Value

uint

IsUnderPlayersCommand

public bool IsUnderPlayersCommand { get; }

Property Value

bool

Rank

public int Rank { get; }

Property Value

int

Seed

public int Seed { get; }

Property Value

int

Troop

public BasicCharacterObject Troop { get; }

Property Value

BasicCharacterObject

UniqueSeed

public int UniqueSeed { get; }

Property Value

int

Methods

OnAgentRemoved(float)

public void OnAgentRemoved(float agentHealth)

Parameters

agentHealth float

SetBanner(Banner)

public void SetBanner(Banner banner)

Parameters

banner Banner

SetKilled()

public void SetKilled()

SetRouted()

public void SetRouted()

SetWounded()

public void SetWounded()

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