Class MPLobbyFriendServiceVM
- Assembly
- TaleWorlds.MountAndBlade.Multiplayer.ViewModelCollection.dll
public class MPLobbyFriendServiceVM : ViewModel
- Inheritance
-
MPLobbyFriendServiceVM
Constructors
MPLobbyFriendServiceVM(IFriendListService, Action<PlayerId>, Action<MPLobbyPlayerBaseVM>)
public MPLobbyFriendServiceVM(IFriendListService friendListService, Action<PlayerId> onFriendRequestAnswered, Action<MPLobbyPlayerBaseVM> activatePlayerActions)
Parameters
friendListService
IFriendListServiceonFriendRequestAnswered
Action<PlayerId>activatePlayerActions
Action<MPLobbyPlayerBaseVM>
Fields
FriendListService
public readonly IFriendListService FriendListService
Field Value
Properties
AllFriends
public IEnumerable<MPLobbyPlayerBaseVM> AllFriends { get; }
Property Value
FriendRequests
public MPLobbyFriendGroupVM FriendRequests { get; set; }
Property Value
GotAnyFriendRequests
public bool GotAnyFriendRequests { get; set; }
Property Value
GotAnyPendingRequests
public bool GotAnyPendingRequests { get; set; }
Property Value
InGameFriends
public MPLobbyFriendGroupVM InGameFriends { get; set; }
Property Value
InGameText
public string InGameText { get; set; }
Property Value
IsInGameStatusActive
public bool IsInGameStatusActive { get; set; }
Property Value
OfflineFriends
public MPLobbyFriendGroupVM OfflineFriends { get; set; }
Property Value
OfflineText
public string OfflineText { get; set; }
Property Value
OnlineFriends
public MPLobbyFriendGroupVM OnlineFriends { get; set; }
Property Value
OnlineText
public string OnlineText { get; set; }
Property Value
PendingRequests
public MPLobbyFriendGroupVM PendingRequests { get; set; }
Property Value
ServiceName
public string ServiceName { get; set; }
Property Value
ServiceNameHint
public HintViewModel ServiceNameHint { get; set; }
Property Value
Methods
ForceRefresh()
public void ForceRefresh()
OnFinalize()
public override void OnFinalize()
OnFriendListUpdated(bool)
public void OnFriendListUpdated(bool updateForced = false)
Parameters
updateForced
bool
OnStateActivate()
public void OnStateActivate()
OnTick(float)
public void OnTick(float dt)
Parameters
dt
float
RefreshValues()
public override void RefreshValues()
UpdateCanInviteOtherPlayersToParty()
public void UpdateCanInviteOtherPlayersToParty()
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).