19 lines
564 B
C#
19 lines
564 B
C#
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;
|
||
}
|
||
|
||
}
|