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

37 lines
808 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.
namespace BaseGames.Core.Events
{
/// <summary>
/// 任务状态枚举22_QuestChallengeModule §QuestSO
/// </summary>
public enum QuestState
{
Unavailable = 0,
Available = 1,
Active = 2,
Completed = 3,
Failed = 4
}
/// <summary>
/// 任务状态变更事件负载。
/// </summary>
[System.Serializable]
public struct QuestStateChangedEvent
{
public string QuestId;
public QuestState State;
}
/// <summary>
/// 任务目标进度事件负载。
/// </summary>
[System.Serializable]
public struct QuestObjectiveEvent
{
public string QuestId;
public string ObjectiveId;
public int Progress;
public int Required;
}
}