コード例 #1
0
        public override void Deserialize(IDataReader reader)
        {
            uint num = (uint)reader.ReadUShort();

            for (int index = 0; (long)index < (long)num; ++index)
            {
                ExtendedBreachBranch extendedBreachBranch = new ExtendedBreachBranch();
                extendedBreachBranch.Deserialize(reader);
                this.branches.Add(extendedBreachBranch);
            }
        }
コード例 #2
0
        public override void Deserialize(IDataReader reader)
        {
            var BranchesCount = reader.ReadShort();

            Branches = new List <ExtendedBreachBranch>();
            for (var i = 0; i < BranchesCount; i++)
            {
                var objectToAdd = new ExtendedBreachBranch();
                objectToAdd.Deserialize(reader);
                Branches.Add(objectToAdd);
            }
        }
コード例 #3
0
        public override void Deserialize(ICustomDataInput reader)
        {
            var countBranches = reader.ReadShort();

            Branches = new List <ExtendedBreachBranch>();
            for (short i = 0; i < countBranches; i++)
            {
                ExtendedBreachBranch type = new ExtendedBreachBranch();
                type.Deserialize(reader);
                Branches.Add(type);
            }
        }