public TerminalData(HackingDifficulty HackingDifficulty, TerminalFlags Flags, TerminalServerType ServerType, Byte[] Unused) { this.HackingDifficulty = HackingDifficulty; this.Flags = Flags; this.ServerType = ServerType; this.Unused = Unused; }
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)); }