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
Properties
AssistCount
public int AssistCount { get; }
Property Value
BodyProperties
public BodyProperties BodyProperties { get; set; }
Property Value
DeathCount
public int DeathCount { get; }
Property Value
Experience
public int Experience { get; set; }
Property Value
ExperienceInCurrentLevel
public int ExperienceInCurrentLevel { get; }
Property Value
ExperienceToNextLevel
public int ExperienceToNextLevel { get; }
Property Value
Gold
public int Gold { get; set; }
Property Value
IsFemale
public bool IsFemale { get; set; }
Property Value
IsMuted
public bool IsMuted { get; set; }
Property Value
IsUsingClanSigil
public bool IsUsingClanSigil { get; set; }
Property Value
KillCount
public int KillCount { get; }
Property Value
LastGameTypes
public string[] LastGameTypes { get; set; }
Property Value
- string[]
LastLogin
public DateTime? LastLogin { get; set; }
Property Value
LastPlayerName
public string LastPlayerName { get; set; }
Property Value
LastRegion
public string LastRegion { get; set; }
Property Value
Level
public int Level { get; }
Property Value
LoseCount
public int LoseCount { get; }
Property Value
OwnerPlayerId
public PlayerId OwnerPlayerId { get; set; }
Property Value
PlayerId
public PlayerId PlayerId { get; set; }
Property Value
Playtime
public int Playtime { get; set; }
Property Value
Race
public int Race { get; set; }
Property Value
ShownBadgeId
public string ShownBadgeId { get; set; }
Property Value
ShownBadgeIndex
public int ShownBadgeIndex { get; }
Property Value
Sigil
public string Sigil { get; set; }
Property Value
Stats
public PlayerStatsBase[] Stats { get; set; }
Property Value
UserId
public int UserId { get; set; }
Property Value
Username
public string Username { get; set; }
Property Value
WinCount
public int WinCount { get; }
Property Value
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
PlayerIdownerPlayerId
PlayerIdbodyProperties
BodyPropertiesisFemale
boolsigil
stringexperience
intlastPlayerName
stringusername
stringuserId
intlastRegion
stringlastGameTypes
string[]lastLogin
DateTime?playtime
intshownBadgeId
stringgold
intstats
PlayerStatsBase[]shouldLog
boolisUsingClanSigil
bool
FillWithNewPlayer(PlayerId, PlayerId, string[])
public void FillWithNewPlayer(PlayerId playerId, PlayerId ownerPlayerId, string[] gameTypes)
Parameters
GetGameStats(string)
public PlayerStatsBase GetGameStats(string gameType)
Parameters
gameType
string
Returns
HasGameStats(string)
public bool HasGameStats(string gameType)
Parameters
gameType
string
Returns
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).