1
This commit is contained in:
30
Src/Quest/IQuestData.cs
Normal file
30
Src/Quest/IQuestData.cs
Normal 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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user