Files
zeling_v2/Assets/Scripts/Core/Events/ToolEvents.cs
2026-05-08 11:04:00 +08:00

19 lines
564 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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;
}
}