Class GameNotificationVM
- Namespace
- TaleWorlds.Core.ViewModelCollection.Information
- Assembly
- TaleWorlds.Core.ViewModelCollection.dll
public class GameNotificationVM : ViewModel, IViewModel, INotifyPropertyChanged
- Inheritance
-
GameNotificationVM
- Implements
- Inherited Members
Constructors
GameNotificationVM()
public GameNotificationVM()
Properties
CurrentNotification
public GameNotificationItemVM CurrentNotification { get; set; }
Property Value
GotNotification
[DataSourceProperty]
public bool GotNotification { get; set; }
Property Value
NotificationId
[DataSourceProperty]
public int NotificationId { get; set; }
Property Value
TotalTime
[DataSourceProperty]
public float TotalTime { get; set; }
Property Value
Methods
AddGameNotification(string, int, BasicCharacterObject, string)
public void AddGameNotification(string notificationText, int extraTimeInMs, BasicCharacterObject announcerCharacter, string soundId)
Parameters
notificationText
stringextraTimeInMs
intannouncerCharacter
BasicCharacterObjectsoundId
string
ClearNotifications()
public void ClearNotifications()
Tick(float)
public void Tick(float dt)
Parameters
dt
float
Events
ReceiveNewNotification
public event Action<GameNotificationItemVM> ReceiveNewNotification
Event Type
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).