public static ClassNetCacheProperty Deserialize(BinaryReader br) { var prop = new ClassNetCacheProperty(); prop.Index = br.ReadInt32(); prop.Id = br.ReadInt32(); return prop; }
public static ClassNetCacheProperty Deserialize(BinaryReader br) { var prop = new ClassNetCacheProperty(); prop.Index = br.ReadInt32(); prop.Id = br.ReadInt32(); return(prop); }
public static ClassNetCache Deserialize(BinaryReader br) { var classNetCache = new ClassNetCache(); classNetCache.ObjectIndex = br.ReadInt32(); classNetCache.ParentId = br.ReadInt32(); classNetCache.Id = br.ReadInt32(); classNetCache.Children = new List <ClassNetCache>(); classNetCache.PropertiesLength = br.ReadInt32(); classNetCache.Properties = new ClassNetCacheProperty[classNetCache.PropertiesLength]; for (int i = 0; i < classNetCache.PropertiesLength; ++i) { classNetCache.Properties[i] = ClassNetCacheProperty.Deserialize(br); } return(classNetCache); }