This commit is contained in:
2026-04-30 19:33:16 +08:00
commit fb2252f688
556 changed files with 69721 additions and 0 deletions
@@ -0,0 +1,21 @@
using GameFramework;
using GameFramework.Event;
namespace GeometryTD.CustomEvent
{
public sealed class ShopExitRequestedEventArgs : GameEventArgs
{
public static int EventId => typeof(ShopExitRequestedEventArgs).GetHashCode();
public override int Id => EventId;
public static ShopExitRequestedEventArgs Create()
{
return ReferencePool.Acquire<ShopExitRequestedEventArgs>();
}
public override void Clear()
{
}
}
}
@@ -0,0 +1,21 @@
using GameFramework;
using GameFramework.Event;
namespace GeometryTD.CustomEvent
{
public sealed class ShopInventoryRequestedEventArgs : GameEventArgs
{
public static int EventId => typeof(ShopInventoryRequestedEventArgs).GetHashCode();
public override int Id => EventId;
public static ShopInventoryRequestedEventArgs Create()
{
return ReferencePool.Acquire<ShopInventoryRequestedEventArgs>();
}
public override void Clear()
{
}
}
}
@@ -0,0 +1,26 @@
using GameFramework;
using GameFramework.Event;
namespace GeometryTD.CustomEvent
{
public sealed class ShopPurchaseRequestedEventArgs : GameEventArgs
{
public static int EventId => typeof(ShopPurchaseRequestedEventArgs).GetHashCode();
public override int Id => EventId;
public int GoodsIndex { get; private set; }
public static ShopPurchaseRequestedEventArgs Create(int goodsIndex)
{
ShopPurchaseRequestedEventArgs args = ReferencePool.Acquire<ShopPurchaseRequestedEventArgs>();
args.GoodsIndex = goodsIndex;
return args;
}
public override void Clear()
{
GoodsIndex = -1;
}
}
}