Пример #1
0
 public Data_Support(Data_Support data)
 {
     Key      = data.Key;
     Id1      = data.Id1;
     Id2      = data.Id2;
     Supports = new List <Support_Entry>(data.Supports);
 }
Пример #2
0
        public static Data_Support read(BinaryReader reader)
        {
            Data_Support data = new Data_Support();

            data.Key = reader.ReadString();
            data.Id1 = reader.ReadInt32();
            data.Id2 = reader.ReadInt32();
            data.Supports.read(reader);
            return(data);
        }