Esempio n. 1
0
        public static FileIdentifier Read(DataReader reader, bool includeAssetPath)
        {
            FileIdentifier fi = new FileIdentifier();

            if (includeAssetPath) {
                fi.AssetPath = reader.ReadString();
            }

            fi.GUID = reader.ReadBytes(16);
            fi.Type = reader.ReadInt32();
            fi.FilePath = reader.ReadString();

            return fi;
        }