Table of Contents

Class DuelMissionRepresentative

Namespace
TaleWorlds.MountAndBlade.MissionRepresentatives
Assembly
TaleWorlds.MountAndBlade.dll
public class DuelMissionRepresentative : MissionRepresentativeBase, IEntityComponent
Inheritance
DuelMissionRepresentative
Implements
Inherited Members
Extension Methods

Constructors

DuelMissionRepresentative()

public DuelMissionRepresentative()

Fields

DuelPrepTime

public const int DuelPrepTime = 3

Field Value

int

OnAgentSpawnedWithoutDuelEvent

public Action OnAgentSpawnedWithoutDuelEvent

Field Value

Action

OnDuelEndedEvent

public Action<MissionPeer> OnDuelEndedEvent

Field Value

Action<MissionPeer>

OnDuelPrepStartedEvent

public Action<MissionPeer, int> OnDuelPrepStartedEvent

Field Value

Action<MissionPeer, int>

OnDuelPreparationStartedForTheFirstTimeEvent

public Action<MissionPeer, MissionPeer, int> OnDuelPreparationStartedForTheFirstTimeEvent

Field Value

Action<MissionPeer, MissionPeer, int>

OnDuelRequestSentEvent

public Action<MissionPeer> OnDuelRequestSentEvent

Field Value

Action<MissionPeer>

OnDuelRequestedEvent

public Action<MissionPeer, TroopType> OnDuelRequestedEvent

Field Value

Action<MissionPeer, TroopType>

OnDuelRoundEndedEvent

public Action<MissionPeer> OnDuelRoundEndedEvent

Field Value

Action<MissionPeer>

OnMyPreferredZoneChanged

public Action<TroopType> OnMyPreferredZoneChanged

Field Value

Action<TroopType>

Properties

Bounty

public int Bounty { get; }

Property Value

int

NumberOfWins

public int NumberOfWins { get; }

Property Value

int

Score

public int Score { get; }

Property Value

int

Methods

AddRemoveMessageHandlers(RegisterMode)

public void AddRemoveMessageHandlers(GameNetwork.NetworkMessageHandlerRegisterer.RegisterMode mode)

Parameters

mode GameNetwork.NetworkMessageHandlerRegisterer.RegisterMode

CheckHasRequestFromAndRemoveRequestIfNeeded(MissionPeer)

public bool CheckHasRequestFromAndRemoveRequestIfNeeded(MissionPeer requestOwner)

Parameters

requestOwner MissionPeer

Returns

bool

DuelRequested(Agent, TroopType)

public void DuelRequested(Agent requesterAgent, TroopType selectedAreaTroopType)

Parameters

requesterAgent Agent
selectedAreaTroopType TroopType

Initialize()

public override void Initialize()

OnAgentSpawned()

public override void OnAgentSpawned()

OnDuelPreparation(MissionPeer, MissionPeer)

public void OnDuelPreparation(MissionPeer requesterPeer, MissionPeer requesteePeer)

Parameters

requesterPeer MissionPeer
requesteePeer MissionPeer

OnDuelWon(float)

public void OnDuelWon(float gainedScore)

Parameters

gainedScore float

OnInteraction()

public void OnInteraction()

OnObjectFocusLost()

public void OnObjectFocusLost()

OnObjectFocused(IFocusable)

public void OnObjectFocused(IFocusable focusedObject)

Parameters

focusedObject IFocusable

ResetBountyAndNumberOfWins()

public void ResetBountyAndNumberOfWins()

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