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
CustomBattleCombatantcharacterObject
BasicCharacterObjecttroopSupplier
CustomBattleTroopSupplierisPlayerSide
boolrank
intuniqueNo
UniqueTroopDescriptor
Properties
Banner
public Banner Banner { get; }
Property Value
CustomBattleCombatant
public CustomBattleCombatant CustomBattleCombatant { get; }
Property Value
FactionColor
public uint FactionColor { get; }
Property Value
FactionColor2
public uint FactionColor2 { get; }
Property Value
IsUnderPlayersCommand
public bool IsUnderPlayersCommand { get; }
Property Value
Rank
public int Rank { get; }
Property Value
Seed
public int Seed { get; }
Property Value
Troop
public BasicCharacterObject Troop { get; }
Property Value
UniqueSeed
public int UniqueSeed { get; }
Property Value
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).