From e9ea621b93fbb58d9edfca8375918791637bbd52 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 30 Dec 2020 20:59:04 +0800 Subject: +init --- Client/Assembly-CSharp/ImportantTextTask.cs | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Client/Assembly-CSharp/ImportantTextTask.cs (limited to 'Client/Assembly-CSharp/ImportantTextTask.cs') diff --git a/Client/Assembly-CSharp/ImportantTextTask.cs b/Client/Assembly-CSharp/ImportantTextTask.cs new file mode 100644 index 0000000..7eb28b7 --- /dev/null +++ b/Client/Assembly-CSharp/ImportantTextTask.cs @@ -0,0 +1,41 @@ +using System; +using System.Text; + +public class ImportantTextTask : PlayerTask +{ + public override int TaskStep + { + get + { + return 0; + } + } + + public override bool IsComplete + { + get + { + return false; + } + } + + public string Text; + + public override void Initialize() + { + } + + public override bool ValidConsole(global::Console console) + { + return false; + } + + public override void Complete() + { + } + + public override void AppendTaskText(StringBuilder sb) + { + sb.AppendLine("[FF0000FF]" + this.Text + "[]"); + } +} -- cgit v1.1-26-g67d0