Table of Contents

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 INavigationHandler
fastMoveCameraToPosition Action<Vec2>

Properties

FocusedNotificationItem

[DataSourceProperty]
public MapNotificationItemBaseVM FocusedNotificationItem { get; set; }

Property Value

MapNotificationItemBaseVM

NotificationItems

[DataSourceProperty]
public MBBindingList<MapNotificationItemBaseVM> NotificationItems { get; set; }

Property Value

MBBindingList<MapNotificationItemBaseVM>

RemoveInputKey

[DataSourceProperty]
public InputKeyItemVM RemoveInputKey { get; set; }

Property Value

InputKeyItemVM

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

data Type
item Type

RemoveAllNotifications()

public void RemoveAllNotifications()

SetRemoveInputKey(HotKey)

public void SetRemoveInputKey(HotKey hotKey)

Parameters

hotKey HotKey

Events

ReceiveNewNotification

public event Action<MapNotificationItemBaseVM> ReceiveNewNotification

Event Type

Action<MapNotificationItemBaseVM>

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).