M&B: Bannerlord 1.0.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.MountAndBlade.MissionRepresentativeBase Class Reference

Inherits TaleWorlds.Core.PeerComponent.

Inherited by TaleWorlds.MountAndBlade.MissionRepresentatives.DuelMissionRepresentative, TaleWorlds.MountAndBlade.MissionRepresentatives.FFAMissionRepresentative, TaleWorlds.MountAndBlade.MissionRepresentatives.FlagDominationMissionRepresentative, TaleWorlds.MountAndBlade.MissionRepresentatives.SiegeMissionRepresentative, and TaleWorlds.MountAndBlade.MissionRepresentatives.TeamDeathmatchMissionRepresentative.

Public Member Functions

void SetAgent (Agent agent)
 
virtual void OnAgentSpawned ()
 
virtual void Tick (float dt)
 
void UpdateGold (int gold)
 
- Public Member Functions inherited from TaleWorlds.Core.PeerComponent
virtual void Initialize ()
 
GetComponent< T > ()
 
virtual void OnInitialize ()
 
virtual void OnFinalize ()
 
void OnInitialize ()
 
void OnFinalize ()
 

Public Attributes

Action OnGoldUpdated
 

Protected Types

enum  PlayerTypes
 

Protected Member Functions

 MissionRepresentativeBase ()
 

Properties

PlayerTypes PlayerType [get]
 
Agent ControlledAgent [get]
 
int Gold [get]
 
MissionPeer MissionPeer [get]
 
- Properties inherited from TaleWorlds.Core.PeerComponent
VirtualPlayer Peer [get, set]
 
string Name [get]
 Platform provided (GDK, Steam, etc.) name of the peer. Used in logging. MissionPeer.DisplayedName is used to display the name in game. More...
 
bool IsMine [get]
 
uint TypeId [get, set]
 

Member Enumeration Documentation

◆ PlayerTypes

Constructor & Destructor Documentation

◆ MissionRepresentativeBase()

TaleWorlds.MountAndBlade.MissionRepresentativeBase.MissionRepresentativeBase ( )
protected

Member Function Documentation

◆ SetAgent()

void TaleWorlds.MountAndBlade.MissionRepresentativeBase.SetAgent ( Agent  agent)

◆ OnAgentSpawned()

◆ Tick()

virtual void TaleWorlds.MountAndBlade.MissionRepresentativeBase.Tick ( float  dt)
virtual

◆ UpdateGold()

void TaleWorlds.MountAndBlade.MissionRepresentativeBase.UpdateGold ( int  gold)

Member Data Documentation

◆ OnGoldUpdated

Action TaleWorlds.MountAndBlade.MissionRepresentativeBase.OnGoldUpdated

Property Documentation

◆ PlayerType

PlayerTypes TaleWorlds.MountAndBlade.MissionRepresentativeBase.PlayerType
getprotected

◆ ControlledAgent

Agent TaleWorlds.MountAndBlade.MissionRepresentativeBase.ControlledAgent
get

◆ Gold

int TaleWorlds.MountAndBlade.MissionRepresentativeBase.Gold
get

◆ MissionPeer

MissionPeer TaleWorlds.MountAndBlade.MissionRepresentativeBase.MissionPeer
get