Table of Contents

Class MPLobbyFriendServiceVM

Namespace
TaleWorlds.MountAndBlade.Multiplayer.ViewModelCollection.Lobby.Friends
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 IFriendListService
onFriendRequestAnswered Action<PlayerId>
activatePlayerActions Action<MPLobbyPlayerBaseVM>

Fields

FriendListService

public readonly IFriendListService FriendListService

Field Value

IFriendListService

Properties

AllFriends

public IEnumerable<MPLobbyPlayerBaseVM> AllFriends { get; }

Property Value

IEnumerable<MPLobbyPlayerBaseVM>

FriendRequests

public MPLobbyFriendGroupVM FriendRequests { get; set; }

Property Value

MPLobbyFriendGroupVM

GotAnyFriendRequests

public bool GotAnyFriendRequests { get; set; }

Property Value

bool

GotAnyPendingRequests

public bool GotAnyPendingRequests { get; set; }

Property Value

bool

InGameFriends

public MPLobbyFriendGroupVM InGameFriends { get; set; }

Property Value

MPLobbyFriendGroupVM

InGameText

public string InGameText { get; set; }

Property Value

string

IsInGameStatusActive

public bool IsInGameStatusActive { get; set; }

Property Value

bool

OfflineFriends

public MPLobbyFriendGroupVM OfflineFriends { get; set; }

Property Value

MPLobbyFriendGroupVM

OfflineText

public string OfflineText { get; set; }

Property Value

string

OnlineFriends

public MPLobbyFriendGroupVM OnlineFriends { get; set; }

Property Value

MPLobbyFriendGroupVM

OnlineText

public string OnlineText { get; set; }

Property Value

string

PendingRequests

public MPLobbyFriendGroupVM PendingRequests { get; set; }

Property Value

MPLobbyFriendGroupVM

ServiceName

public string ServiceName { get; set; }

Property Value

string

ServiceNameHint

public HintViewModel ServiceNameHint { get; set; }

Property Value

HintViewModel

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).