Class BattleResult
- Namespace
- TaleWorlds.MountAndBlade.Diamond
- Assembly
- TaleWorlds.MountAndBlade.Diamond.dll
public class BattleResult
- Inheritance
-
BattleResult
- Inherited Members
Constructors
BattleResult()
public BattleResult()
Properties
IsCancelled
public bool IsCancelled { get; }
Property Value
IsPremadeGame
public bool IsPremadeGame { get; }
Property Value
PlayerEntries
public Dictionary<string, BattlePlayerEntry> PlayerEntries { get; }
Property Value
PremadeGameType
public PremadeGameType PremadeGameType { get; }
Property Value
WinnerTeamNo
public int WinnerTeamNo { get; }
Property Value
Methods
AddOrUpdatePlayerEntry(PlayerId, int, string, Guid, int)
public void AddOrUpdatePlayerEntry(PlayerId playerId, int teamNo, string gameMode, Guid party, int overriddenInitialPlayTime = -1)
Parameters
DebugPrint()
public void DebugPrint()
HandlePlayerDisconnect(PlayerId)
public void HandlePlayerDisconnect(PlayerId playerId)
Parameters
playerIdPlayerId
SetBattleCancelled()
public void SetBattleCancelled()
SetBattleFinished(int, bool, PremadeGameType)
public void SetBattleFinished(int winnerTeamNo, bool isPremadeGame, PremadeGameType premadeGameType)
Parameters
winnerTeamNointisPremadeGameboolpremadeGameTypePremadeGameType
TryGetPlayerEntry(PlayerId, out BattlePlayerEntry)
public bool TryGetPlayerEntry(PlayerId playerId, out BattlePlayerEntry battlePlayerEntry)
Parameters
playerIdPlayerIdbattlePlayerEntryBattlePlayerEntry
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).