Ejemplo n.º 1
0
 public TerminalData(HackingDifficulty HackingDifficulty, TerminalFlags Flags, TerminalServerType ServerType, Byte[] Unused)
 {
     this.HackingDifficulty = HackingDifficulty;
     this.Flags             = Flags;
     this.ServerType        = ServerType;
     this.Unused            = Unused;
 }
Ejemplo n.º 2
0
 public TerminalData(string Tag = null)
     : base(Tag)
 {
     HackingDifficulty = new HackingDifficulty();
     Flags             = new TerminalFlags();
     ServerType        = new TerminalServerType();
     Unused            = new byte[1];
 }
 public bool IsFlagSet(SymbolId symbol, TerminalFlags flag)
 {
     return(this.terminalFlags.TryGetValue(symbol, out var flags) && ((flags & flag) != TerminalFlags.None));
 }