예제 #1
0
        private List <GuidData> ParseGuidData(UnrealBinaryReader reader)
        {
            int length = reader.ReadInt32();

            List <GuidData> data = new List <GuidData>(length);

            for (int i = 0; i < length; i++)
            {
                data.Add(new GuidData
                {
                    Guid  = reader.ReadGuid(),
                    Value = reader.ReadInt32()
                });
            }

            return(data);
        }
예제 #2
0
        private SettingsHeader ParseSettingsHeader(UnrealBinaryReader reader)
        {
            SettingsHeader header = new SettingsHeader
            {
                Unknown1 = reader.ReadBytes(18),
                Branch   = reader.ReadFString(),
                Unknown2 = reader.ReadInt32(),
                Unknown3 = reader.ReadByte(),
                Unknown4 = reader.ReadByte()
            };

            return(header);
        }