diff --git a/Assets/Scripts/InteractionEngine/CommunicationEvents.cs b/Assets/Scripts/InteractionEngine/CommunicationEvents.cs index f9b0f0f3fed5882dc398f2fdd52b7eb6b95bfa9c..bb0fd6493024cc3a32f45db5fb7869bdad4caf93 100644 --- a/Assets/Scripts/InteractionEngine/CommunicationEvents.cs +++ b/Assets/Scripts/InteractionEngine/CommunicationEvents.cs @@ -43,6 +43,44 @@ public static class CommunicationEvents public static int ToolID_new; public static int ToolID_selected;//Script + /* + * Put all of the data about a Server into one class + */ + class KnownServer + { + public string IP; + public ServerStatus currentStatus = ServerStatus.offline; + public bool statusKnown = false; + + public enum ServerStatus + { + offline, + online, + checking, + NoNetworkAddress + } + + public void UpdateStatus() + { + + } + } + + //List of Known Servers + public enum KnownServers + { + last, + newIP, + slot1, + slot2, + slot3, + slot4, + slot5, + selecIP + } + + //Enum.GetNames(typeof(KnownServers)).Length; //Number of known Server slots, to be able to add more later + /* * will be loaded from other config file */ @@ -53,7 +91,7 @@ public static class CommunicationEvents public static string IPslot3 = "- not loaded"; public static string IPslot4 = "- GO TO -> 'Options'"; public static string IPslot5 = "- -> 'Reset Options'"; - public static string selecIP = "- -> PRESS: 'Reset Configurations'";//"GO TO -> 'Options'\n-> 'Reset Options'\nPRESS: \n'Reset Configurations'"; + public static string selecIP = "- -> PRESS: 'Reset Configurations'"; //------