Example #1
0
 public TerminalData(HackingDifficulty HackingDifficulty, TerminalFlags Flags, TerminalServerType ServerType, Byte[] Unused)
 {
     this.HackingDifficulty = HackingDifficulty;
     this.Flags             = Flags;
     this.ServerType        = ServerType;
     this.Unused            = Unused;
 }
Example #2
0
 public TerminalData(string Tag = null)
     : base(Tag)
 {
     HackingDifficulty = new HackingDifficulty();
     Flags             = new TerminalFlags();
     ServerType        = new TerminalServerType();
     Unused            = new byte[1];
 }
Example #3
0
        protected override void WriteDataXML(XElement ele, ElderScrollsPlugin master)
        {
            XElement subEle;

            ele.TryPathTo("HackingDifficulty", true, out subEle);
            subEle.Value = HackingDifficulty.ToString();

            ele.TryPathTo("Flags", true, out subEle);
            subEle.Value = Flags.ToString();

            ele.TryPathTo("ServerType", true, out subEle);
            subEle.Value = ServerType.ToString();

            WriteUnusedXML(ele, master);
        }
Example #4
0
 public override int GetHashCode()
 {
     return(HackingDifficulty.GetHashCode());
 }