From ad7328882b60470ba546219cb73c14adb078a7a4 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 24 Jun 2017 19:52:57 -0400 Subject: Mission backend. --- ShiftOS_TheReturn/MissionAttribute.cs | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 ShiftOS_TheReturn/MissionAttribute.cs (limited to 'ShiftOS_TheReturn/MissionAttribute.cs') diff --git a/ShiftOS_TheReturn/MissionAttribute.cs b/ShiftOS_TheReturn/MissionAttribute.cs new file mode 100644 index 0000000..4a0750c --- /dev/null +++ b/ShiftOS_TheReturn/MissionAttribute.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ShiftOS.Engine +{ + [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)] + public class MissionAttribute : StoryAttribute + { + public MissionAttribute(string id, string friendlyName, string friendlyDesc, ulong codepointAward, string assigner) : base(id) + { + Name = friendlyName; + Description = friendlyDesc; + CodepointAward = codepointAward; + Assigner = assigner; + } + + public string Name { get; private set; } + public string Description { get; private set; } + public string Assigner { get; set; } + } +} -- cgit v1.2.3