Example #1
0
        private static object Read(UnsafeReader reader)
        {
            var count  = reader.ReadInt32();
            var result = new AssetUsagesDataElement();

            for (int i = 0; i < count; i++)
            {
                result.AssetUsages.Add(AssetUsage.ReadFrom(reader));
            }

            return(result);
        }
Example #2
0
 public AssetUsagesDataElement(AssetUsage assetUsage)
 {
     AssetUsages.Add(assetUsage);
 }
Example #3
0
 protected bool Equals(AssetUsage other)
 {
     return(Location.Equals(other.Location));
 }