Table of Contents

Class MPLobbyPlayerBaseVM

Namespace
TaleWorlds.MountAndBlade.Multiplayer.ViewModelCollection.Lobby.Friends
Assembly
TaleWorlds.MountAndBlade.Multiplayer.ViewModelCollection.dll
public class MPLobbyPlayerBaseVM : ViewModel
Inheritance
MPLobbyPlayerBaseVM
Derived

Constructors

MPLobbyPlayerBaseVM(PlayerId, string, Action<PlayerId>, Action<PlayerId>)

public MPLobbyPlayerBaseVM(PlayerId id, string forcedName = "", Action<PlayerId> onInviteToClan = null, Action<PlayerId> onFriendRequestAnswered = null)

Parameters

id PlayerId
forcedName string
onInviteToClan Action<PlayerId>
onFriendRequestAnswered Action<PlayerId>

Fields

OnAddFriendWithBannerlordIDRequested

public static Action<PlayerId> OnAddFriendWithBannerlordIDRequested

Field Value

Action<PlayerId>

OnBadgeChangeRequested

public static Action<PlayerId> OnBadgeChangeRequested

Field Value

Action<PlayerId>

OnBannerlordIDChangeRequested

public static Action<PlayerId> OnBannerlordIDChangeRequested

Field Value

Action<PlayerId>

OnClanLeaderboardRequested

public static Action OnClanLeaderboardRequested

Field Value

Action

OnClanPageRequested

public static Action OnClanPageRequested

Field Value

Action

OnPlayerProfileRequested

public static Action<PlayerId> OnPlayerProfileRequested

Field Value

Action<PlayerId>

OnPlayerStatsReceived

public Action OnPlayerStatsReceived

Field Value

Action

OnRankInfoChanged

public Action<string> OnRankInfoChanged

Field Value

Action<string>

OnRankLeaderboardRequested

public static Action<string> OnRankLeaderboardRequested

Field Value

Action<string>

OnRankProgressionRequested

public static Action<MPLobbyPlayerBaseVM> OnRankProgressionRequested

Field Value

Action<MPLobbyPlayerBaseVM>

OnSigilChangeRequested

public static Action<PlayerId> OnSigilChangeRequested

Field Value

Action<PlayerId>

_hasReceivedPlayerStats

protected bool _hasReceivedPlayerStats

Field Value

bool

_isReceivingPlayerStats

protected bool _isReceivingPlayerStats

Field Value

bool

Properties

AcceptFriendRequestHint

public HintViewModel AcceptFriendRequestHint { get; set; }

Property Value

HintViewModel

AddFriendWithBannerlordIDHint

public HintViewModel AddFriendWithBannerlordIDHint { get; set; }

Property Value

HintViewModel

Avatar

public ImageIdentifierVM Avatar { get; set; }

Property Value

ImageIdentifierVM

AvatarInfoTitleText

public string AvatarInfoTitleText { get; set; }

Property Value

string

BadgeInfoTitleText

public string BadgeInfoTitleText { get; set; }

Property Value

string

BannerlordID

public string BannerlordID { get; set; }

Property Value

string

CanBeInvited

public bool CanBeInvited { get; set; }

Property Value

bool

CanCopyID

public bool CanCopyID { get; set; }

Property Value

bool

CanInviteToClan

public bool CanInviteToClan { get; set; }

Property Value

bool

CanInviteToParty

public bool CanInviteToParty { get; set; }

Property Value

bool

CanRemove

public bool CanRemove { get; set; }

Property Value

bool

CancelFriendRequestHint

public HintViewModel CancelFriendRequestHint { get; set; }

Property Value

HintViewModel

CaptainRatingHint

public HintViewModel CaptainRatingHint { get; set; }

Property Value

HintViewModel

ChangeBannerlordIDHint

public HintViewModel ChangeBannerlordIDHint { get; set; }

Property Value

HintViewModel

ChangeText

public string ChangeText { get; set; }

Property Value

string

CharacterVisual

public CharacterViewModel CharacterVisual { get; set; }

Property Value

CharacterViewModel

ClanBanner

public ImageIdentifierVM ClanBanner { get; set; }

Property Value

ImageIdentifierVM

ClanInfoTitleText

public string ClanInfoTitleText { get; set; }

Property Value

string

ClanLeaderboardHint

public HintViewModel ClanLeaderboardHint { get; set; }

Property Value

HintViewModel

ClanName

public string ClanName { get; set; }

Property Value

string

ClanTag

public string ClanTag { get; set; }

Property Value

string

CopyBannerlordIDHint

public HintViewModel CopyBannerlordIDHint { get; set; }

Property Value

HintViewModel

CurrentOnlineStatus

public MPLobbyPlayerBaseVM.OnlineStatus CurrentOnlineStatus { get; }

Property Value

MPLobbyPlayerBaseVM.OnlineStatus

DeclineFriendRequestHint

public HintViewModel DeclineFriendRequestHint { get; set; }

Property Value

HintViewModel

DisplayedStats

public MBBindingList<MPLobbyPlayerStatItemVM> DisplayedStats { get; set; }

Property Value

MBBindingList<MPLobbyPlayerStatItemVM>

ExperienceHint

public HintViewModel ExperienceHint { get; set; }

Property Value

HintViewModel

ExperienceRatio

public int ExperienceRatio { get; set; }

Property Value

int

ExperienceText

public string ExperienceText { get; set; }

Property Value

string

GameTypes

public MBBindingList<MPLobbyGameTypeVM> GameTypes { get; set; }

Property Value

MBBindingList<MPLobbyGameTypeVM>

HasNotification

public bool HasNotification { get; set; }

Property Value

bool

InviteToClanHint

public HintViewModel InviteToClanHint { get; set; }

Property Value

HintViewModel

InviteToPartyHint

public HintViewModel InviteToPartyHint { get; set; }

Property Value

HintViewModel

IsBannerlordIDSupported

public bool IsBannerlordIDSupported { get; set; }

Property Value

bool

IsClanInfoSupported

public bool IsClanInfoSupported { get; set; }

Property Value

bool

IsFriendRequest

public bool IsFriendRequest { get; set; }

Property Value

bool

IsPendingRequest

public bool IsPendingRequest { get; set; }

Property Value

bool

IsRankInfoCasual

public bool IsRankInfoCasual { get; set; }

Property Value

bool

IsRankInfoLoading

public bool IsRankInfoLoading { get; set; }

Property Value

bool

IsSelected

public bool IsSelected { get; set; }

Property Value

bool

IsSigilChangeInformationEnabled

public bool IsSigilChangeInformationEnabled { get; set; }

Property Value

bool

Level

public int Level { get; set; }

Property Value

int

LevelText

public string LevelText { get; set; }

Property Value

string

LevelTitleText

public string LevelTitleText { get; set; }

Property Value

string

Loot

public int Loot { get; set; }

Property Value

int

LootHint

public HintViewModel LootHint { get; set; }

Property Value

HintViewModel

Name

public string Name { get; set; }

Property Value

string

NameHint

public HintViewModel NameHint { get; set; }

Property Value

HintViewModel

PlayerData

public PlayerData PlayerData { get; }

Property Value

PlayerData

PlayerStats

public PlayerStatsBase[] PlayerStats { get; }

Property Value

PlayerStatsBase[]

ProvidedID

public PlayerId ProvidedID { get; protected set; }

Property Value

PlayerId

RankInfo

public GameTypeRankInfo[] RankInfo { get; }

Property Value

GameTypeRankInfo[]

RankInfoGameTypeID

public string RankInfoGameTypeID { get; }

Property Value

string

RankText

public string RankText { get; set; }

Property Value

string

Rating

public int Rating { get; set; }

Property Value

int

RatingHint

public HintViewModel RatingHint { get; set; }

Property Value

HintViewModel

RatingID

public string RatingID { get; set; }

Property Value

string

RatingRatio

public int RatingRatio { get; set; }

Property Value

int

RatingText

public string RatingText { get; set; }

Property Value

string

RemoveFriendHint

public HintViewModel RemoveFriendHint { get; set; }

Property Value

HintViewModel

SelectedBadgeID

public string SelectedBadgeID { get; set; }

Property Value

string

ShowLevel

public bool ShowLevel { get; set; }

Property Value

bool

ShownBadge

public MPLobbyBadgeItemVM ShownBadge { get; set; }

Property Value

MPLobbyBadgeItemVM

Sigil

public MPLobbySigilItemVM Sigil { get; set; }

Property Value

MPLobbySigilItemVM

SkirmishRatingHint

public HintViewModel SkirmishRatingHint { get; set; }

Property Value

HintViewModel

State

public AnotherPlayerState State { get; protected set; }

Property Value

AnotherPlayerState

StateText

public string StateText { get; set; }

Property Value

string

TimeSinceLastStateUpdate

public float TimeSinceLastStateUpdate { get; protected set; }

Property Value

float

Methods

ExecuteAcceptFriendRequest()

public void ExecuteAcceptFriendRequest()

ExecuteCancelPendingFriendRequest()

public void ExecuteCancelPendingFriendRequest()

ExecuteCopyBannerlordID()

public void ExecuteCopyBannerlordID()

ExecuteDeclineFriendRequest()

public void ExecuteDeclineFriendRequest()

ExecuteInviteToClan()

public void ExecuteInviteToClan()

ExecuteInviteToParty()

public void ExecuteInviteToParty()

ExecuteKickFromParty()

public void ExecuteKickFromParty()

ExecuteRemoveFriend()

public void ExecuteRemoveFriend()

ExecuteSelectPlayer()

public void ExecuteSelectPlayer()

ExecuteShowProfile()

public void ExecuteShowProfile()

FilterStatsForGameMode(string)

public void FilterStatsForGameMode(string gameModeCode)

Parameters

gameModeCode string

OnStatusChanged(OnlineStatus, bool)

public void OnStatusChanged(MPLobbyPlayerBaseVM.OnlineStatus status, bool isInGameStatusActive)

Parameters

status MPLobbyPlayerBaseVM.OnlineStatus
isInGameStatusActive bool

RefreshCharacterVisual()

public void RefreshCharacterVisual()

RefreshSelectableGameTypes(bool, Action<string>, string)

public void RefreshSelectableGameTypes(bool isRankedOnly, Action<string> onRefreshed, string initialGameTypeID = "")

Parameters

isRankedOnly bool
onRefreshed Action<string>
initialGameTypeID string

RefreshValues()

public override void RefreshValues()

SetOnInvite(Action<PlayerId>)

public void SetOnInvite(Action<PlayerId> onInvite)

Parameters

onInvite Action<PlayerId>

UpdateAvatar(bool)

protected void UpdateAvatar(bool isKnownPlayer)

Parameters

isKnownPlayer bool

UpdateClanInfo()

public void UpdateClanInfo()

UpdateDisplayedRankInfo(string)

public void UpdateDisplayedRankInfo(string gameType)

Parameters

gameType string

UpdateExperienceData()

public void UpdateExperienceData()

UpdateName(bool)

protected void UpdateName(bool isKnownPlayer)

Parameters

isKnownPlayer bool

UpdateNameAndAvatar(bool)

public void UpdateNameAndAvatar(bool forceUpdate = false)

Parameters

forceUpdate bool

UpdatePlayerState(AnotherPlayerData)

public void UpdatePlayerState(AnotherPlayerData playerData)

Parameters

playerData AnotherPlayerData

UpdateRating(Action)

public void UpdateRating(Action onDone)

Parameters

onDone Action

UpdateStats(Action)

public void UpdateStats(Action onDone)

Parameters

onDone Action

UpdateWith(PlayerData)

public virtual void UpdateWith(PlayerData playerData)

Parameters

playerData PlayerData

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