Table of Contents

Class PlayerData

Namespace
TaleWorlds.MountAndBlade.Diamond
Assembly
TaleWorlds.MountAndBlade.Diamond.dll
public class PlayerData
Inheritance
PlayerData
Inherited Members
Extension Methods

Constructors

PlayerData()

public PlayerData()

Fields

DefaultSigil

public const string DefaultSigil = "11.8.1.4345.4345.770.774.1.0.0.158.7.5.512.512.770.769.1.0.0"

Field Value

string

Properties

AssistCount

public int AssistCount { get; }

Property Value

int

BodyProperties

public BodyProperties BodyProperties { get; set; }

Property Value

BodyProperties

DeathCount

public int DeathCount { get; }

Property Value

int

Experience

public int Experience { get; set; }

Property Value

int

ExperienceInCurrentLevel

public int ExperienceInCurrentLevel { get; }

Property Value

int

ExperienceToNextLevel

public int ExperienceToNextLevel { get; }

Property Value

int

Gold

public int Gold { get; set; }

Property Value

int

IsFemale

public bool IsFemale { get; set; }

Property Value

bool

IsMuted

public bool IsMuted { get; set; }

Property Value

bool

IsUsingClanSigil

public bool IsUsingClanSigil { get; set; }

Property Value

bool

KillCount

public int KillCount { get; }

Property Value

int

LastGameTypes

public string[] LastGameTypes { get; set; }

Property Value

string[]

LastLogin

public DateTime? LastLogin { get; set; }

Property Value

DateTime?

LastPlayerName

public string LastPlayerName { get; set; }

Property Value

string

LastRegion

public string LastRegion { get; set; }

Property Value

string

Level

public int Level { get; }

Property Value

int

LoseCount

public int LoseCount { get; }

Property Value

int

OwnerPlayerId

public PlayerId OwnerPlayerId { get; set; }

Property Value

PlayerId

PlayerId

public PlayerId PlayerId { get; set; }

Property Value

PlayerId

Playtime

public int Playtime { get; set; }

Property Value

int

Race

public int Race { get; set; }

Property Value

int

ShownBadgeId

public string ShownBadgeId { get; set; }

Property Value

string

ShownBadgeIndex

public int ShownBadgeIndex { get; }

Property Value

int

Sigil

public string Sigil { get; set; }

Property Value

string

Stats

public PlayerStatsBase[] Stats { get; set; }

Property Value

PlayerStatsBase[]

UserId

public int UserId { get; set; }

Property Value

int

Username

public string Username { get; set; }

Property Value

string

WinCount

public int WinCount { get; }

Property Value

int

Methods

FillWith(PlayerId, PlayerId, BodyProperties, bool, string, int, string, string, int, string, string[], DateTime?, int, string, int, PlayerStatsBase[], bool, bool)

public void FillWith(PlayerId playerId, PlayerId ownerPlayerId, BodyProperties bodyProperties, bool isFemale, string sigil, int experience, string lastPlayerName, string username, int userId, string lastRegion, string[] lastGameTypes, DateTime? lastLogin, int playtime, string shownBadgeId, int gold, PlayerStatsBase[] stats, bool shouldLog, bool isUsingClanSigil)

Parameters

playerId PlayerId
ownerPlayerId PlayerId
bodyProperties BodyProperties
isFemale bool
sigil string
experience int
lastPlayerName string
username string
userId int
lastRegion string
lastGameTypes string[]
lastLogin DateTime?
playtime int
shownBadgeId string
gold int
stats PlayerStatsBase[]
shouldLog bool
isUsingClanSigil bool

FillWithNewPlayer(PlayerId, PlayerId, string[])

public void FillWithNewPlayer(PlayerId playerId, PlayerId ownerPlayerId, string[] gameTypes)

Parameters

playerId PlayerId
ownerPlayerId PlayerId
gameTypes string[]

GetGameStats(string)

public PlayerStatsBase GetGameStats(string gameType)

Parameters

gameType string

Returns

PlayerStatsBase

HasGameStats(string)

public bool HasGameStats(string gameType)

Parameters

gameType string

Returns

bool

UpdateGameStats(PlayerStatsBase)

public void UpdateGameStats(PlayerStatsBase playerGameTypeStats)

Parameters

playerGameTypeStats PlayerStatsBase

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