2025-11-14 11:38:28 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Runtime.CompilerServices;
|
|
|
|
|
|
using Unity.IL2CPP.CompilerServices;
|
|
|
|
|
|
|
|
|
|
|
|
namespace AlicizaX
|
|
|
|
|
|
{
|
2026-04-20 14:08:04 +08:00
|
|
|
|
public delegate void InEventHandler<T>(in T evt) where T : struct, IEventArgs;
|
|
|
|
|
|
|
2025-11-14 11:38:28 +08:00
|
|
|
|
public interface IEventArgs { }
|
|
|
|
|
|
|
|
|
|
|
|
public static class EventInitialSize<T> where T : struct, IEventArgs
|
|
|
|
|
|
{
|
|
|
|
|
|
public static int Size = 4; // default
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-04-20 14:08:04 +08:00
|
|
|
|
}
|