コード例 #1
0
 private static void AddTestingData(CyberspaceEnvironment _instance)
 {
     _instance.Subroutines.Add(new SubroutineInfo()
     {
         FunctionName = "Honeypot",
         Hotkey = 3,
         MovementName = "Station",
         ID = "a3",
         LoadedIntoRAM = true
     });
     _instance.Subroutines.Add(new SubroutineInfo()
     {
         FunctionName = "Sandbox",
         Hotkey = 4,
         MovementName = "Station",
         ID = "a4",
         LoadedIntoRAM = true
     });
     _instance.Subroutines.Add(new SubroutineInfo()
     {
         FunctionName = "Freeze",
         Hotkey = 5,
         MovementName = "Station",
         ID = "a5",
         LoadedIntoRAM = true
     });
     _instance.Subroutines.Add(new SubroutineInfo()
     {
         FunctionName = "Lag",
         Hotkey = 6,
         MovementName = "Station",
         ID = "a6",
         LoadedIntoRAM = true
     });
     _instance.Subroutines.Add(new SubroutineInfo()
     {
         FunctionName = "Corrupt",
         Hotkey = 7,
         MovementName = "Tracer",
         ID = "a7",
         LoadedIntoRAM = true
     });
     _instance.MaximumRAM +=6;
 }
コード例 #2
0
 internal static void SetInstance(CyberspaceEnvironment env)
 {
     _instance = env;
 }