mirror of
https://github.com/hawkeye-stan/msfs-popout-panel-manager.git
synced 2024-11-22 05:40:11 +00:00
35 lines
839 B
C#
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; }
|
|
}
|
|
}
|