Class MapNotificationVM
- Namespace
- TaleWorlds.CampaignSystem.ViewModelCollection.Map
- Assembly
- TaleWorlds.CampaignSystem.ViewModelCollection.dll
public class MapNotificationVM : ViewModel, IViewModel, INotifyPropertyChanged
- Inheritance
-
MapNotificationVM
- Implements
- Inherited Members
Constructors
MapNotificationVM(INavigationHandler, Action<Vec2>)
public MapNotificationVM(INavigationHandler navigationHandler, Action<Vec2> fastMoveCameraToPosition)
Parameters
navigationHandler
INavigationHandlerfastMoveCameraToPosition
Action<Vec2>
Properties
FocusedNotificationItem
[DataSourceProperty]
public MapNotificationItemBaseVM FocusedNotificationItem { get; set; }
Property Value
NotificationItems
[DataSourceProperty]
public MBBindingList<MapNotificationItemBaseVM> NotificationItems { get; set; }
Property Value
RemoveInputKey
[DataSourceProperty]
public InputKeyItemVM RemoveInputKey { get; set; }
Property Value
Methods
AddMapNotification(InformationData)
public void AddMapNotification(InformationData data)
Parameters
data
InformationData
OnFinalize()
public override void OnFinalize()
OnFrameTick(float)
public void OnFrameTick(float dt)
Parameters
dt
float
OnMenuModeTick(float)
public void OnMenuModeTick(float dt)
Parameters
dt
float
RefreshValues()
public override void RefreshValues()
RegisterMapNotificationType(Type, Type)
public void RegisterMapNotificationType(Type data, Type item)
Parameters
RemoveAllNotifications()
public void RemoveAllNotifications()
SetRemoveInputKey(HotKey)
public void SetRemoveInputKey(HotKey hotKey)
Parameters
hotKey
HotKey
Events
ReceiveNewNotification
public event Action<MapNotificationItemBaseVM> ReceiveNewNotification
Event Type
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).