Table of Contents

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

GameNotificationItemVM

GotNotification

[DataSourceProperty]
public bool GotNotification { get; set; }

Property Value

bool

NotificationId

[DataSourceProperty]
public int NotificationId { get; set; }

Property Value

int

TotalTime

[DataSourceProperty]
public float TotalTime { get; set; }

Property Value

float

Methods

AddGameNotification(string, int, BasicCharacterObject, string)

public void AddGameNotification(string notificationText, int extraTimeInMs, BasicCharacterObject announcerCharacter, string soundId)

Parameters

notificationText string
extraTimeInMs int
announcerCharacter BasicCharacterObject
soundId string

ClearNotifications()

public void ClearNotifications()

Tick(float)

public void Tick(float dt)

Parameters

dt float

Events

ReceiveNewNotification

public event Action<GameNotificationItemVM> ReceiveNewNotification

Event Type

Action<GameNotificationItemVM>

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