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

Inherits TaleWorlds.MountAndBlade.MissionRepresentativeBase.

Public Member Functions

override void OnAgentSpawned ()
 
int GetGoldGainsFromKillDataAndUpdateFlags (MPPerkObject.MPPerkHandler killerPerkHandler, MPPerkObject.MPPerkHandler assistingHitterPerkHandler, MultiplayerClassDivisions.MPHeroClass victimClass, bool isAssist, bool isRanged, bool isFriendly)
 
int GetGoldGainsFromObjectiveAssist (GameEntity objectiveMostParentEntity, float contributionRatio, bool isCompleted)
 
int GetGoldGainsFromAllyDeathReward (int baseAmount)
 
- Public Member Functions inherited from TaleWorlds.MountAndBlade.MissionRepresentativeBase
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 ()
 

Additional Inherited Members

- Public Attributes inherited from TaleWorlds.MountAndBlade.MissionRepresentativeBase
Action OnGoldUpdated
 
- Protected Types inherited from TaleWorlds.MountAndBlade.MissionRepresentativeBase
enum  PlayerTypes {
  Bot ,
  Client ,
  Server
}
 
- Protected Member Functions inherited from TaleWorlds.MountAndBlade.MissionRepresentativeBase
 MissionRepresentativeBase ()
 
- Properties inherited from TaleWorlds.MountAndBlade.MissionRepresentativeBase
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.
 
bool IsMine [get]
 
uint TypeId [get, set]
 

Member Function Documentation

◆ OnAgentSpawned()

override void TaleWorlds.MountAndBlade.MissionRepresentatives.SiegeMissionRepresentative.OnAgentSpawned ( )
virtual

◆ GetGoldGainsFromKillDataAndUpdateFlags()

int TaleWorlds.MountAndBlade.MissionRepresentatives.SiegeMissionRepresentative.GetGoldGainsFromKillDataAndUpdateFlags ( MPPerkObject::MPPerkHandler  killerPerkHandler,
MPPerkObject::MPPerkHandler  assistingHitterPerkHandler,
MultiplayerClassDivisions::MPHeroClass  victimClass,
bool  isAssist,
bool  isRanged,
bool  isFriendly 
)

◆ GetGoldGainsFromObjectiveAssist()

int TaleWorlds.MountAndBlade.MissionRepresentatives.SiegeMissionRepresentative.GetGoldGainsFromObjectiveAssist ( GameEntity  objectiveMostParentEntity,
float  contributionRatio,
bool  isCompleted 
)

◆ GetGoldGainsFromAllyDeathReward()

int TaleWorlds.MountAndBlade.MissionRepresentatives.SiegeMissionRepresentative.GetGoldGainsFromAllyDeathReward ( int  baseAmount)