This commit is contained in:
CortexCore
2024-11-23 17:20:13 +08:00
commit bb257507bc
133 changed files with 2574 additions and 0 deletions

30
Src/Quest/IQuestData.cs Normal file
View File

@@ -0,0 +1,30 @@
using System.Collections;
using System.Collections.Generic;
namespace Net.Project.B.Quest
{
public enum QuestState
{
Inactive,
Active,
Completed,
Canceled,
Failed
}
public interface IQuestData
{
public int Identity { get; }
public string Name { get; }
public string Description { get; }
public bool IsCompleted { get; }
public QuestState CurrentState { get; }
}
public struct QuestData : IQuestData
{
public int Identity { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public bool IsCompleted { get; set; }
public QuestState CurrentState { get; set; }
}
}