This commit is contained in:
huangjun
2026-08-30 22:25:23 +08:00
parent 92bf3e9097
commit 93a10a89c5
180 changed files with 15257 additions and 11604 deletions
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 4dccdfac7eea44c07b87a556527040b6
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,34 @@
using GameFramework;
using GameFramework.Event;
namespace SepCore.Base
{
public class WarehouseSlotItemClickEventArgs : GameEventArgs
{
public static int EventId => typeof(WarehouseSlotItemClickEventArgs).GetHashCode();
public override int Id => EventId;
/// <summary>
/// 被点击格子在整个固定网格中的索引,唯一对应一个格子。
/// </summary>
public int SlotId { get; private set; }
public WarehouseSlotItemClickEventArgs()
{
SlotId = 0;
}
public static WarehouseSlotItemClickEventArgs Create(int slotId)
{
var args = ReferencePool.Acquire<WarehouseSlotItemClickEventArgs>();
args.SlotId = slotId;
return args;
}
public override void Clear()
{
SlotId = 0;
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 196c6541cd4d447d6b951f3e8f06c083
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: