using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Milimoe.FunGame.Core.Entity.Event { public class GeneralEventArgs : EventArgs { public string EventMsg { get; set; } = ""; public object[]? Parameters { get; set; } = null; public GeneralEventArgs(string EventMsg, object[]? Parameters = null) { this.EventMsg = EventMsg; this.Parameters = Parameters; } } public class GeneralEvent { public T Instance { get; set; } public GeneralEvent() { Instance = System.Activator.CreateInstance(); } } }