Class MPLobbyPlayerBaseVM
- 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
PlayerIdforcedName
stringonInviteToClan
Action<PlayerId>onFriendRequestAnswered
Action<PlayerId>
Fields
OnAddFriendWithBannerlordIDRequested
public static Action<PlayerId> OnAddFriendWithBannerlordIDRequested
Field Value
OnBadgeChangeRequested
public static Action<PlayerId> OnBadgeChangeRequested
Field Value
OnBannerlordIDChangeRequested
public static Action<PlayerId> OnBannerlordIDChangeRequested
Field Value
OnClanLeaderboardRequested
public static Action OnClanLeaderboardRequested
Field Value
OnClanPageRequested
public static Action OnClanPageRequested
Field Value
OnPlayerProfileRequested
public static Action<PlayerId> OnPlayerProfileRequested
Field Value
OnPlayerStatsReceived
public Action OnPlayerStatsReceived
Field Value
OnRankInfoChanged
public Action<string> OnRankInfoChanged
Field Value
OnRankLeaderboardRequested
public static Action<string> OnRankLeaderboardRequested
Field Value
OnRankProgressionRequested
public static Action<MPLobbyPlayerBaseVM> OnRankProgressionRequested
Field Value
OnSigilChangeRequested
public static Action<PlayerId> OnSigilChangeRequested
Field Value
_hasReceivedPlayerStats
protected bool _hasReceivedPlayerStats
Field Value
_isReceivingPlayerStats
protected bool _isReceivingPlayerStats
Field Value
Properties
AcceptFriendRequestHint
public HintViewModel AcceptFriendRequestHint { get; set; }
Property Value
AddFriendWithBannerlordIDHint
public HintViewModel AddFriendWithBannerlordIDHint { get; set; }
Property Value
Avatar
public ImageIdentifierVM Avatar { get; set; }
Property Value
AvatarInfoTitleText
public string AvatarInfoTitleText { get; set; }
Property Value
BadgeInfoTitleText
public string BadgeInfoTitleText { get; set; }
Property Value
BannerlordID
public string BannerlordID { get; set; }
Property Value
CanBeInvited
public bool CanBeInvited { get; set; }
Property Value
CanCopyID
public bool CanCopyID { get; set; }
Property Value
CanInviteToClan
public bool CanInviteToClan { get; set; }
Property Value
CanInviteToParty
public bool CanInviteToParty { get; set; }
Property Value
CanRemove
public bool CanRemove { get; set; }
Property Value
CancelFriendRequestHint
public HintViewModel CancelFriendRequestHint { get; set; }
Property Value
CaptainRatingHint
public HintViewModel CaptainRatingHint { get; set; }
Property Value
ChangeBannerlordIDHint
public HintViewModel ChangeBannerlordIDHint { get; set; }
Property Value
ChangeText
public string ChangeText { get; set; }
Property Value
CharacterVisual
public CharacterViewModel CharacterVisual { get; set; }
Property Value
ClanBanner
public ImageIdentifierVM ClanBanner { get; set; }
Property Value
ClanInfoTitleText
public string ClanInfoTitleText { get; set; }
Property Value
ClanLeaderboardHint
public HintViewModel ClanLeaderboardHint { get; set; }
Property Value
ClanName
public string ClanName { get; set; }
Property Value
ClanTag
public string ClanTag { get; set; }
Property Value
CopyBannerlordIDHint
public HintViewModel CopyBannerlordIDHint { get; set; }
Property Value
CurrentOnlineStatus
public MPLobbyPlayerBaseVM.OnlineStatus CurrentOnlineStatus { get; }
Property Value
DeclineFriendRequestHint
public HintViewModel DeclineFriendRequestHint { get; set; }
Property Value
DisplayedStats
public MBBindingList<MPLobbyPlayerStatItemVM> DisplayedStats { get; set; }
Property Value
ExperienceHint
public HintViewModel ExperienceHint { get; set; }
Property Value
ExperienceRatio
public int ExperienceRatio { get; set; }
Property Value
ExperienceText
public string ExperienceText { get; set; }
Property Value
GameTypes
public MBBindingList<MPLobbyGameTypeVM> GameTypes { get; set; }
Property Value
HasNotification
public bool HasNotification { get; set; }
Property Value
InviteToClanHint
public HintViewModel InviteToClanHint { get; set; }
Property Value
InviteToPartyHint
public HintViewModel InviteToPartyHint { get; set; }
Property Value
IsBannerlordIDSupported
public bool IsBannerlordIDSupported { get; set; }
Property Value
IsClanInfoSupported
public bool IsClanInfoSupported { get; set; }
Property Value
IsFriendRequest
public bool IsFriendRequest { get; set; }
Property Value
IsPendingRequest
public bool IsPendingRequest { get; set; }
Property Value
IsRankInfoCasual
public bool IsRankInfoCasual { get; set; }
Property Value
IsRankInfoLoading
public bool IsRankInfoLoading { get; set; }
Property Value
IsSelected
public bool IsSelected { get; set; }
Property Value
IsSigilChangeInformationEnabled
public bool IsSigilChangeInformationEnabled { get; set; }
Property Value
Level
public int Level { get; set; }
Property Value
LevelText
public string LevelText { get; set; }
Property Value
LevelTitleText
public string LevelTitleText { get; set; }
Property Value
Loot
public int Loot { get; set; }
Property Value
LootHint
public HintViewModel LootHint { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
NameHint
public HintViewModel NameHint { get; set; }
Property Value
PlayerData
public PlayerData PlayerData { get; }
Property Value
PlayerStats
public PlayerStatsBase[] PlayerStats { get; }
Property Value
ProvidedID
public PlayerId ProvidedID { get; protected set; }
Property Value
RankInfo
public GameTypeRankInfo[] RankInfo { get; }
Property Value
RankInfoGameTypeID
public string RankInfoGameTypeID { get; }
Property Value
RankText
public string RankText { get; set; }
Property Value
Rating
public int Rating { get; set; }
Property Value
RatingHint
public HintViewModel RatingHint { get; set; }
Property Value
RatingID
public string RatingID { get; set; }
Property Value
RatingRatio
public int RatingRatio { get; set; }
Property Value
RatingText
public string RatingText { get; set; }
Property Value
RemoveFriendHint
public HintViewModel RemoveFriendHint { get; set; }
Property Value
SelectedBadgeID
public string SelectedBadgeID { get; set; }
Property Value
ShowLevel
public bool ShowLevel { get; set; }
Property Value
ShownBadge
public MPLobbyBadgeItemVM ShownBadge { get; set; }
Property Value
Sigil
public MPLobbySigilItemVM Sigil { get; set; }
Property Value
SkirmishRatingHint
public HintViewModel SkirmishRatingHint { get; set; }
Property Value
State
public AnotherPlayerState State { get; protected set; }
Property Value
StateText
public string StateText { get; set; }
Property Value
TimeSinceLastStateUpdate
public float TimeSinceLastStateUpdate { get; protected set; }
Property Value
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.OnlineStatusisInGameStatusActive
bool
RefreshCharacterVisual()
public void RefreshCharacterVisual()
RefreshSelectableGameTypes(bool, Action<string>, string)
public void RefreshSelectableGameTypes(bool isRankedOnly, Action<string> onRefreshed, string initialGameTypeID = "")
Parameters
RefreshValues()
public override void RefreshValues()
SetOnInvite(Action<PlayerId>)
public void SetOnInvite(Action<PlayerId> onInvite)
Parameters
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).