mirror of
https://github.com/hawkeye-stan/msfs-popout-panel-manager.git
synced 2024-11-25 15:20:10 +00:00
36 lines
839 B
C#
36 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; }
|
|||
|
}
|
|||
|
}
|