ParseLoadoutSlots() private method

private ParseLoadoutSlots ( BinaryReader reader ) : void
reader System.IO.BinaryReader
return void
Esempio n. 1
0
 public static ArmorLoadout Deserialize(AbstractData abstractData)
 {
     MemoryStream dataStream = new MemoryStream(abstractData.Data);
     BinaryReader reader = new BinaryReader(dataStream);
     ArmorLoadout armorLoadout = new ArmorLoadout();
     armorLoadout.ParseColors(reader);
     armorLoadout.ParseLoadoutSlots(reader);
     return armorLoadout;
 }
        public static ArmorLoadout Deserialize(AbstractData abstractData)
        {
            MemoryStream dataStream   = new MemoryStream(abstractData.Data);
            BinaryReader reader       = new BinaryReader(dataStream);
            ArmorLoadout armorLoadout = new ArmorLoadout();

            armorLoadout.ParseColors(reader);
            armorLoadout.ParseLoadoutSlots(reader);
            return(armorLoadout);
        }