M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Profile.MPLobbyRecentGamePlayerItemVM Class Reference

Inherits TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyPlayerBaseVM.

Public Member Functions

 MPLobbyRecentGamePlayerItemVM (PlayerId playerId, MatchInfo matchOfThePlayer, Action< MPLobbyRecentGamePlayerItemVM > onActivatePlayerActions)
 
override void RefreshValues ()
 Used for updating localized texts.
 
- Public Member Functions inherited from TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyPlayerBaseVM
 MPLobbyPlayerBaseVM (PlayerId id, string forcedName="", Action< PlayerId > onInviteToClan=null, Action< PlayerId > onFriendRequestAnswered=null)
 
override void RefreshValues ()
 Used for updating localized texts.
 
void RefreshSelectableGameTypes (bool isRankedOnly, Action< string > onRefreshed, string initialGameTypeID="")
 
void UpdatePlayerState (AnotherPlayerData playerData)
 
virtual void UpdateWith (PlayerData playerData)
 
void UpdateNameAndAvatar (bool forceUpdate=false)
 
void OnStatusChanged (OnlineStatus status, bool isInGameStatusActive)
 
void SetOnInvite (Action< PlayerId > onInvite)
 
async void UpdateStats (Action onDone)
 
void UpdateExperienceData ()
 
async void UpdateRating (Action onDone)
 
void UpdateDisplayedRankInfo (string gameType)
 
async void UpdateClanInfo ()
 
void FilterStatsForGameMode (string gameModeCode)
 
void RefreshCharacterVisual ()
 
void ExecuteSelectPlayer ()
 
void ExecuteInviteToParty ()
 
void ExecuteInviteToClan ()
 
void ExecuteKickFromParty ()
 
void ExecuteAcceptFriendRequest ()
 
void ExecuteDeclineFriendRequest ()
 
void ExecuteCancelPendingFriendRequest ()
 
void ExecuteRemoveFriend ()
 
void ExecuteCopyBannerlordID ()
 
void ExecuteShowProfile ()
 
- Public Member Functions inherited from TaleWorlds.Library.ViewModel
void OnPropertyChanged ([CallerMemberName] string propertyName=null)
 Method for notifying binded views about the changes in a property. Uses reflection to get the value of the property. If reflection is not needed or updated value of the property is already known, use OnPropertyChangedWithValue() instead.
 
void OnPropertyChangedWithValue< T > (T value, [CallerMemberName]string propertyName=null)
 Faster method for notifying binded views about the changes in a property. To avoid reflection, caller can pass changed value to this method. If caller does not have access rights to the value, use OnPropertyChanged() instead.
 
void OnPropertyChangedWithValue (bool value, [CallerMemberName] string propertyName=null)
 
void OnPropertyChangedWithValue (int value, [CallerMemberName] string propertyName=null)
 
void OnPropertyChangedWithValue (float value, [CallerMemberName] string propertyName=null)
 
void OnPropertyChangedWithValue (uint value, [CallerMemberName] string propertyName=null)
 
void OnPropertyChangedWithValue (Color value, [CallerMemberName] string propertyName=null)
 
void OnPropertyChangedWithValue (double value, [CallerMemberName] string propertyName=null)
 
void OnPropertyChangedWithValue (Vec2 value, [CallerMemberName] string propertyName=null)
 
object GetViewModelAtPath (BindingPath path, bool isList)
 
object GetViewModelAtPath (BindingPath path)
 
object GetPropertyValue (string name, PropertyTypeFeeder propertyTypeFeeder)
 
object GetPropertyValue (string name)
 
Type GetPropertyType (string name)
 
void SetPropertyValue (string name, object value)
 
virtual void OnFinalize ()
 
void ExecuteCommand (string commandName, object[] parameters)
 
virtual void RefreshValues ()
 Used for updating localized texts.
 
object GetViewModelAtPath (BindingPath path)
 
object GetViewModelAtPath (BindingPath path, bool isList)
 
object GetPropertyValue (string name)
 
object GetPropertyValue (string name, PropertyTypeFeeder propertyTypeFeeder)
 
void SetPropertyValue (string name, object value)
 
void ExecuteCommand (string commandName, object[] parameters)
 

Public Attributes

readonly MatchInfo MatchOfThePlayer
 
- Public Attributes inherited from TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyPlayerBaseVM
Action OnPlayerStatsReceived
 
Action< string > OnRankInfoChanged
 

Properties

int KillCount [get, set]
 
int DeathCount [get, set]
 
int AssistCount [get, set]
 
- Properties inherited from TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyPlayerBaseVM
OnlineStatus CurrentOnlineStatus = OnlineStatus.None [get]
 
PlayerId ProvidedID [get, protected set]
 
PlayerData PlayerData [get]
 
AnotherPlayerState State [get, protected set]
 
float TimeSinceLastStateUpdate [get, protected set]
 
PlayerStatsBase[] PlayerStats [get]
 
GameTypeRankInfo[] RankInfo [get]
 
string RankInfoGameTypeID [get]
 
bool CanCopyID [get, set]
 
bool ShowLevel [get, set]
 
bool IsSelected [get, set]
 
bool HasNotification [get, set]
 
bool IsFriendRequest [get, set]
 
bool IsPendingRequest [get, set]
 
bool CanRemove [get, set]
 
bool CanBeInvited [get, set]
 
bool CanInviteToParty [get, set]
 
bool CanInviteToClan [get, set]
 
bool IsSigilChangeInformationEnabled [get, set]
 
bool IsRankInfoLoading [get, set]
 
bool IsRankInfoCasual [get, set]
 
bool IsClanInfoSupported [get, set]
 
bool IsBannerlordIDSupported [get, set]
 
int Level [get, set]
 
int Rating [get, set]
 
int Loot [get, set]
 
int ExperienceRatio [get, set]
 
int RatingRatio [get, set]
 
string Name [get, set]
 
string StateText [get, set]
 
string LevelText [get, set]
 
string LevelTitleText [get, set]
 
string RatingText [get, set]
 
string RatingID [get, set]
 
string ClanName [get, set]
 
string ClanTag [get, set]
 
string ChangeText [get, set]
 
string ClanInfoTitleText [get, set]
 
string BadgeInfoTitleText [get, set]
 
string AvatarInfoTitleText [get, set]
 
string ExperienceText [get, set]
 
string RankText [get, set]
 
string BannerlordID [get, set]
 
string SelectedBadgeID [get, set]
 
HintViewModel NameHint [get, set]
 
HintViewModel InviteToPartyHint [get, set]
 
HintViewModel RemoveFriendHint [get, set]
 
HintViewModel AcceptFriendRequestHint [get, set]
 
HintViewModel DeclineFriendRequestHint [get, set]
 
HintViewModel CancelFriendRequestHint [get, set]
 
HintViewModel InviteToClanHint [get, set]
 
HintViewModel ChangeBannerlordIDHint [get, set]
 
HintViewModel CopyBannerlordIDHint [get, set]
 
HintViewModel AddFriendWithBannerlordIDHint [get, set]
 
HintViewModel ExperienceHint [get, set]
 
HintViewModel RatingHint [get, set]
 
HintViewModel LootHint [get, set]
 
HintViewModel SkirmishRatingHint [get, set]
 
HintViewModel CaptainRatingHint [get, set]
 
HintViewModel ClanLeaderboardHint [get, set]
 
ImageIdentifierVM Avatar [get, set]
 
ImageIdentifierVM ClanBanner [get, set]
 
MPLobbySigilItemVM Sigil [get, set]
 
MPLobbyBadgeItemVM ShownBadge [get, set]
 
CharacterViewModel CharacterVisual [get, set]
 
MBBindingList< MPLobbyPlayerStatItemVMDisplayedStats [get, set]
 
MBBindingList< MPLobbyGameTypeVMGameTypes [get, set]
 
- Properties inherited from TaleWorlds.Library.ViewModel
PropertyChangedEventHandler PropertyChanged
 
PropertyChangedWithValueEventHandler PropertyChangedWithValue
 
PropertyChangedWithBoolValueEventHandler PropertyChangedWithBoolValue
 
PropertyChangedWithIntValueEventHandler PropertyChangedWithIntValue
 
PropertyChangedWithFloatValueEventHandler PropertyChangedWithFloatValue
 
PropertyChangedWithUIntValueEventHandler PropertyChangedWithUIntValue
 
PropertyChangedWithColorValueEventHandler PropertyChangedWithColorValue
 
PropertyChangedWithDoubleValueEventHandler PropertyChangedWithDoubleValue
 
PropertyChangedWithVec2ValueEventHandler PropertyChangedWithVec2Value
 

Additional Inherited Members

- Public Types inherited from TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyPlayerBaseVM
enum  OnlineStatus {
  None ,
  InGame ,
  Online ,
  Offline
}
 
- Static Public Member Functions inherited from TaleWorlds.Library.ViewModel
static void CollectPropertiesAndMethods ()
 
- Static Public Attributes inherited from TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyPlayerBaseVM
static Action< PlayerId > OnPlayerProfileRequested
 
static Action< PlayerId > OnBannerlordIDChangeRequested
 
static Action< PlayerId > OnAddFriendWithBannerlordIDRequested
 
static Action< PlayerId > OnSigilChangeRequested
 
static Action< PlayerId > OnBadgeChangeRequested
 
static Action< MPLobbyPlayerBaseVMOnRankProgressionRequested
 
static Action< string > OnRankLeaderboardRequested
 
static Action OnClanPageRequested
 
static Action OnClanLeaderboardRequested
 
- Static Public Attributes inherited from TaleWorlds.Library.ViewModel
static bool UIDebugMode
 
- Protected Member Functions inherited from TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyPlayerBaseVM
async void UpdateName (bool isKnownPlayer)
 
void UpdateAvatar (bool isKnownPlayer)
 
- Protected Member Functions inherited from TaleWorlds.Library.ViewModel
 ViewModel ()
 
bool SetField< T > (ref T field, T value, string propertyName)
 
- Protected Attributes inherited from TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyPlayerBaseVM
bool _hasReceivedPlayerStats = false
 
bool _isReceivingPlayerStats = false
 
- Events inherited from TaleWorlds.Library.IViewModel
PropertyChangedWithValueEventHandler PropertyChangedWithValue
 
PropertyChangedWithBoolValueEventHandler PropertyChangedWithBoolValue
 
PropertyChangedWithIntValueEventHandler PropertyChangedWithIntValue
 
PropertyChangedWithFloatValueEventHandler PropertyChangedWithFloatValue
 
PropertyChangedWithUIntValueEventHandler PropertyChangedWithUIntValue
 
PropertyChangedWithColorValueEventHandler PropertyChangedWithColorValue
 
PropertyChangedWithDoubleValueEventHandler PropertyChangedWithDoubleValue
 
PropertyChangedWithVec2ValueEventHandler PropertyChangedWithVec2Value
 

Constructor & Destructor Documentation

◆ MPLobbyRecentGamePlayerItemVM()

TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Profile.MPLobbyRecentGamePlayerItemVM.MPLobbyRecentGamePlayerItemVM ( PlayerId  playerId,
MatchInfo  matchOfThePlayer,
Action< MPLobbyRecentGamePlayerItemVM onActivatePlayerActions 
)

Member Function Documentation

◆ RefreshValues()

override void TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Profile.MPLobbyRecentGamePlayerItemVM.RefreshValues ( )
virtual

Member Data Documentation

◆ MatchOfThePlayer

readonly MatchInfo TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Profile.MPLobbyRecentGamePlayerItemVM.MatchOfThePlayer

Property Documentation

◆ KillCount

int TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Profile.MPLobbyRecentGamePlayerItemVM.KillCount
getset

◆ DeathCount

int TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Profile.MPLobbyRecentGamePlayerItemVM.DeathCount
getset

◆ AssistCount

int TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Profile.MPLobbyRecentGamePlayerItemVM.AssistCount
getset