chore: initial commit
This commit is contained in:
18
Assets/Scripts/Core/Events/ToolEvents.cs
Normal file
18
Assets/Scripts/Core/Events/ToolEvents.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace BaseGames.Core.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// 工具使用事件负载(架构 09_ProgressionModule §7.5)。
|
||||
/// Tool 用地址键字符串标识,避免 Core.Events 依赖高层程序集。
|
||||
/// </summary>
|
||||
[System.Serializable]
|
||||
public struct ToolUsedPayload
|
||||
{
|
||||
/// <summary>工具槽索引(0 = 主槽,1 = 副槽)。</summary>
|
||||
public int SlotIndex;
|
||||
/// <summary>工具的 Addressable 地址键(对应 AddressKeys 常量)。</summary>
|
||||
public string ToolId;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user