diff options
| author | Trey <32907415+TheEdgeNK@users.noreply.github.com> | 2018-09-02 11:56:23 -0400 |
|---|---|---|
| committer | Trey <32907415+TheEdgeNK@users.noreply.github.com> | 2018-09-02 11:56:23 -0400 |
| commit | cf72b65769809ac77331414aee299112b9bf4b37 (patch) | |
| tree | 9fb9fdfe01967db9c95b87cb96b7294b43ff455d /PortEngine/StorylineAPI.cs | |
| parent | 52376ce623346e257c2b7845d0d2414e7653a6dd (diff) | |
| download | Project-Silicon-cf72b65769809ac77331414aee299112b9bf4b37.tar.gz Project-Silicon-cf72b65769809ac77331414aee299112b9bf4b37.tar.bz2 Project-Silicon-cf72b65769809ac77331414aee299112b9bf4b37.zip | |
WE FIXED THE STORYLINE!!!
Diffstat (limited to 'PortEngine/StorylineAPI.cs')
| -rw-r--r-- | PortEngine/StorylineAPI.cs | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/PortEngine/StorylineAPI.cs b/PortEngine/StorylineAPI.cs index db03baf..a109c8b 100644 --- a/PortEngine/StorylineAPI.cs +++ b/PortEngine/StorylineAPI.cs @@ -30,20 +30,10 @@ namespace PortEngine { public class StorylineAPI { - public static bool StorylineStatus = Properties.Settings.Default.storylineStatus; - public static bool IsHijack1Completed = Properties.Settings.Default.hijack1EventCompleted; - public static bool IsChatter1Completed = Properties.Settings.Default.chatter1EventCompleted; - public static string PlayerDisplayName = Properties.Settings.Default.userDisplayName; - static BackgroundWorker WorkerBee = new BackgroundWorker(); - - public static void StorylineState(bool IsStorylineEnabled) - { - StorylineStatus = IsStorylineEnabled; - } public static void StartHijackEvent1(TextBox txtHijack1) { - if (IsHijack1Completed == false) + if (GeneralAPI.HijackStorylineState == 1) { Thread.Sleep(2000); txtHijack1.AppendText("PortOS is now booting..." + Environment.NewLine); @@ -121,7 +111,7 @@ namespace PortEngine public static void StartChatterEvent1(TextBox txtSentMessageDump) { - if (IsChatter1Completed == false) + if (GeneralAPI.ChatterStorylineState == 1) { txtSentMessageDump.AppendText("Adam has entered the channel..." + Environment.NewLine); Thread.Sleep(2000); @@ -133,7 +123,7 @@ namespace PortEngine Thread.Sleep(10000); txtSentMessageDump.AppendText("<Adam> Great!" + Environment.NewLine); Thread.Sleep(2000); - txtSentMessageDump.AppendText("<Adam> Hello, " + PlayerDisplayName + Environment.NewLine); + txtSentMessageDump.AppendText("<Adam> Hello, " + GeneralAPI.PlayerName + Environment.NewLine); Thread.Sleep(2000); txtSentMessageDump.AppendText("<Adam> If you open your app launcher, there is an application called the 'QuantumNet Browser'" + Environment.NewLine); Thread.Sleep(2000); @@ -161,10 +151,6 @@ namespace PortEngine Thread.Sleep(2000); txtSentMessageDump.AppendText("Adam has disconnected from the channel. " + Environment.NewLine); } - else - { - txtSentMessageDump.AppendText(PlayerDisplayName + " has entered the channel!"); - } } |
