24 lines
471 B
C#
24 lines
471 B
C#
|
|
using System;
|
||
|
|
using UnityEngine.TestTools;
|
||
|
|
|
||
|
|
namespace BracerLib.Events
|
||
|
|
{
|
||
|
|
[ExcludeFromCoverage]
|
||
|
|
public class GameEventArgs : EventArgs
|
||
|
|
{
|
||
|
|
public new static GameEventArgs Empty => new GameEventArgs();
|
||
|
|
|
||
|
|
public object[] Args { get; }
|
||
|
|
|
||
|
|
public GameEventArgs(object eventArg)
|
||
|
|
{
|
||
|
|
Args = new[] { eventArg };
|
||
|
|
}
|
||
|
|
|
||
|
|
public GameEventArgs(params object[] args)
|
||
|
|
{
|
||
|
|
Args = args;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|