M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.MountAndBlade.MissionRepresentatives.TeamDeathmatchMissionRepresentative 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 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.TeamDeathmatchMissionRepresentative.OnAgentSpawned ( )
virtual

◆ GetGoldGainsFromKillDataAndUpdateFlags()

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

◆ GetGoldGainsFromAllyDeathReward()

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