IW4M-Admin/SharedLibraryCore/Events/GameEventArgs.cs
2022-01-26 15:26:25 -06:00

21 lines
569 B
C#

using System;
using System.ComponentModel;
namespace SharedLibraryCore.Events
{
/// <summary>
/// represents the state of a game event for event processing
/// </summary>
public class GameEventArgs : AsyncCompletedEventArgs
{
public GameEventArgs(Exception error, bool cancelled, GameEvent userState) : base(error, cancelled, userState)
{
Event = userState;
}
/// <summary>
/// Game event that occured on a server
/// </summary>
public GameEvent Event { get; }
}
}