1
0
Fork 0
mirror of https://github.com/hawkeye-stan/msfs-popout-panel-manager.git synced 2024-11-21 21:30:12 +00:00
msfs-popout-panel-manager/Shared/StatusMessageEventArgs.cs
2023-07-12 18:47:24 -04:00

35 lines
839 B
C#

using System;
using System.Collections.Generic;
namespace MSFSPopoutPanelManager.Shared
{
public class StatusMessageEventArg : EventArgs
{
public StatusMessageEventArg(List<StatusMessage> messages)
{
Messages = messages;
Duration = -1;
}
public StatusMessageEventArg(List<StatusMessage> messages, int duration)
{
Messages = messages;
Duration = duration;
}
public List<StatusMessage> Messages { get; set; }
public StatusMessageType StatusMessageType { get; set; }
public int Duration { get; set; }
}
public class StatusMessage
{
public StatusMessageType StatusMessageType { get; set; }
public string Message { get; set; }
public bool NewLine { get; set; }
}
}