46bdc2ac33
finally fixed threading issue (which actually had to do with IW4x log outputs being out of sync (not an issue with my code). What a lot of headache over something that wasn't my fault.
24 lines
609 B
C#
24 lines
609 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace SharedLibraryCore.Events
|
|
{
|
|
/// <summary>
|
|
/// represents the state of a game event for event processing
|
|
/// </summary>
|
|
public class GameEventArgs : System.ComponentModel.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; }
|
|
}
|
|
}
|