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

Inherits TaleWorlds.Library.ViewModel.

Public Member Functions

 MPLobbyFriendsVM ()
 
override void RefreshValues ()
 Used for updating localized texts.
 
override void OnFinalize ()
 
void OnStateActivate ()
 
void OnTick (float dt)
 
void OnPlayerInvitedToParty (PlayerId playerId)
 
void OnPlayerAddedToParty (PlayerId playerId)
 
void OnPlayerRemovedFromParty (PlayerId playerId)
 
void UpdateCanInviteOtherPlayersToParty ()
 
void UpdatePartyLeader ()
 
void OnFriendRequestNotificationsReceived (List< LobbyNotification > notifications)
 
void ProcessNotification (LobbyNotification notification, PlayerId notificationPlayerID, bool allowed)
 
MBBindingList< MPLobbyPlayerBaseVMGetAllFriends ()
 
void OnSupportedFeaturesRefreshed (SupportedFeatures supportedFeatures)
 
void OnFriendListUpdated (bool forceUpdate=false)
 
void SetToggleFriendListKey (HotKey hotkey)
 
- 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)
 

Properties

bool IsEnabled [get, set]
 
bool IsListEnabled [get, set]
 
bool IsPlayerActionsActive [get, set]
 
bool IsPartyAvailable [get, set]
 
bool IsPartyFull [get, set]
 
bool IsInParty [get, set]
 
MPLobbyPartyPlayerVM Player [get, set]
 
MBBindingList< MPLobbyPartyPlayerVMPartyFriends [get, set]
 
MBBindingList< StringPairItemWithActionVMPlayerActions [get, set]
 
string TitleText [get, set]
 
string InGameText [get, set]
 
string OnlineText [get, set]
 
string OfflineText [get, set]
 
HintViewModel FriendListHint [get, set]
 
MBBindingList< MPLobbyFriendServiceVMFriendServices [get, set]
 
MPLobbyFriendServiceVM ActiveService [get, set]
 
int TotalOnlineFriendCount [get, set]
 
int NotificationCount [get, set]
 
bool HasNotification [get, set]
 
InputKeyItemVM ToggleInputKey [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

- Static Public Member Functions inherited from TaleWorlds.Library.ViewModel
static void CollectPropertiesAndMethods ()
 
- Static Public Attributes inherited from TaleWorlds.Library.ViewModel
static bool UIDebugMode
 
- Protected Member Functions inherited from TaleWorlds.Library.ViewModel
 ViewModel ()
 
bool SetField< T > (ref T field, T value, string propertyName)
 
- 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

◆ MPLobbyFriendsVM()

TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.MPLobbyFriendsVM ( )

Member Function Documentation

◆ RefreshValues()

override void TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.RefreshValues ( )
virtual

Reimplemented from TaleWorlds.Library.ViewModel.

◆ OnFinalize()

override void TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.OnFinalize ( )
virtual

Reimplemented from TaleWorlds.Library.ViewModel.

◆ OnStateActivate()

void TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.OnStateActivate ( )

◆ OnTick()

void TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.OnTick ( float  dt)

◆ OnPlayerInvitedToParty()

void TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.OnPlayerInvitedToParty ( PlayerId  playerId)

◆ OnPlayerAddedToParty()

void TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.OnPlayerAddedToParty ( PlayerId  playerId)

◆ OnPlayerRemovedFromParty()

void TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.OnPlayerRemovedFromParty ( PlayerId  playerId)

◆ UpdateCanInviteOtherPlayersToParty()

void TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.UpdateCanInviteOtherPlayersToParty ( )

◆ UpdatePartyLeader()

void TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.UpdatePartyLeader ( )

◆ OnFriendRequestNotificationsReceived()

void TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.OnFriendRequestNotificationsReceived ( List< LobbyNotification >  notifications)

◆ ProcessNotification()

void TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.ProcessNotification ( LobbyNotification  notification,
PlayerId  notificationPlayerID,
bool  allowed 
)

◆ GetAllFriends()

MBBindingList< MPLobbyPlayerBaseVM > TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.GetAllFriends ( )

◆ OnSupportedFeaturesRefreshed()

void TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.OnSupportedFeaturesRefreshed ( SupportedFeatures  supportedFeatures)

◆ OnFriendListUpdated()

void TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.OnFriendListUpdated ( bool  forceUpdate = false)

◆ SetToggleFriendListKey()

void TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.SetToggleFriendListKey ( HotKey  hotkey)

Property Documentation

◆ IsEnabled

bool TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.IsEnabled
getset

◆ IsListEnabled

bool TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.IsListEnabled
getset

◆ IsPlayerActionsActive

bool TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.IsPlayerActionsActive
getset

◆ IsPartyAvailable

bool TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.IsPartyAvailable
getset

◆ IsPartyFull

bool TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.IsPartyFull
getset

◆ IsInParty

bool TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.IsInParty
getset

◆ Player

MPLobbyPartyPlayerVM TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.Player
getset

◆ PartyFriends

MBBindingList<MPLobbyPartyPlayerVM> TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.PartyFriends
getset

◆ PlayerActions

MBBindingList<StringPairItemWithActionVM> TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.PlayerActions
getset

◆ TitleText

string TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.TitleText
getset

◆ InGameText

string TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.InGameText
getset

◆ OnlineText

string TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.OnlineText
getset

◆ OfflineText

string TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.OfflineText
getset

◆ FriendListHint

HintViewModel TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.FriendListHint
getset

◆ FriendServices

MBBindingList<MPLobbyFriendServiceVM> TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.FriendServices
getset

◆ ActiveService

MPLobbyFriendServiceVM TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.ActiveService
getset

◆ TotalOnlineFriendCount

int TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.TotalOnlineFriendCount
getset

◆ NotificationCount

int TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.NotificationCount
getset

◆ HasNotification

bool TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.HasNotification
getset

◆ ToggleInputKey

InputKeyItemVM TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.Friends.MPLobbyFriendsVM.ToggleInputKey
getset