Class MPLobbyBadgeItemVM
- Assembly
- TaleWorlds.MountAndBlade.Multiplayer.ViewModelCollection.dll
public class MPLobbyBadgeItemVM : ViewModel
- Inheritance
-
MPLobbyBadgeItemVM
Constructors
MPLobbyBadgeItemVM(Badge, Action, Func<Badge, bool>, Action<MPLobbyBadgeItemVM>)
public MPLobbyBadgeItemVM(Badge badge, Action onSelectedBadgeChange, Func<Badge, bool> hasPlayerEarnedBadge, Action<MPLobbyBadgeItemVM> onInspected)
Parameters
badge
BadgeonSelectedBadgeChange
ActionhasPlayerEarnedBadge
Func<Badge, bool>onInspected
Action<MPLobbyBadgeItemVM>
Properties
Badge
public Badge Badge { get; }
Property Value
BadgeConditionsText
public string BadgeConditionsText { get; set; }
Property Value
BadgeId
public string BadgeId { get; set; }
Property Value
Conditions
public MBBindingList<StringPairItemVM> Conditions { get; set; }
Property Value
Description
public string Description { get; set; }
Property Value
HasNotification
public bool HasNotification { get; set; }
Property Value
InspectProgressKey
public InputKeyItemVM InspectProgressKey { get; set; }
Property Value
IsBeingChanged
public bool IsBeingChanged { get; set; }
Property Value
IsEarned
public bool IsEarned { get; set; }
Property Value
IsFocused
public bool IsFocused { get; set; }
Property Value
IsSelected
public bool IsSelected { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
Methods
OnFinalize()
public override void OnFinalize()
RefreshKeyBindings(HotKey)
public void RefreshKeyBindings(HotKey inspectProgressKey)
Parameters
inspectProgressKey
HotKey
RefreshValues()
public override void RefreshValues()
SetGroup(MPLobbyAchievementBadgeGroupVM, Action<MPLobbyAchievementBadgeGroupVM>)
public void SetGroup(MPLobbyAchievementBadgeGroupVM group, Action<MPLobbyAchievementBadgeGroupVM> onBadgeProgressInfoRequested)
Parameters
group
MPLobbyAchievementBadgeGroupVMonBadgeProgressInfoRequested
Action<MPLobbyAchievementBadgeGroupVM>
UpdateIsSelected()
public void UpdateIsSelected()
UpdateWith(Badge)
public void UpdateWith(Badge badge)
Parameters
badge
Badge
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).