aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/MissionAttribute.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-06-24 19:52:57 -0400
committerMichael <[email protected]>2017-06-24 19:52:57 -0400
commitad7328882b60470ba546219cb73c14adb078a7a4 (patch)
treeb99303043c092edb0a8029abcaa7fc2865bce3cd /ShiftOS_TheReturn/MissionAttribute.cs
parent9c1a409f24da92f1e6d95ee4cdd777b52d53488f (diff)
downloadshiftos_thereturn-ad7328882b60470ba546219cb73c14adb078a7a4.tar.gz
shiftos_thereturn-ad7328882b60470ba546219cb73c14adb078a7a4.tar.bz2
shiftos_thereturn-ad7328882b60470ba546219cb73c14adb078a7a4.zip
Mission backend.
Diffstat (limited to 'ShiftOS_TheReturn/MissionAttribute.cs')
-rw-r--r--ShiftOS_TheReturn/MissionAttribute.cs24
1 files changed, 24 insertions, 0 deletions
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; }
+ }
+}