Esempio n. 1
0
 public static void Initialize()
 {
     UDKConstructorDelegate = UDKPackage.Initialize();
     ME1ConstructorDelegate = ME1Package.Initialize();
     ME2ConstructorDelegate = ME2Package.Initialize();
     ME3ConstructorDelegate = ME3Package.Initialize();
 }
Esempio n. 2
0
        public UDKExportEntry(UDKPackage udkFile, Stream stream) : base(udkFile)
        {
            headerOffset = (uint)stream.Position;
            stream.Seek(44, SeekOrigin.Current);
            int count = stream.ReadValueS32();

            stream.Seek(-48, SeekOrigin.Current);

            int expInfoSize = 68 + (count * 4);

            Header           = stream.ReadBytes(expInfoSize);
            OriginalDataSize = DataSize;
            long headerEnd = stream.Position;

            stream.Seek(DataOffset, SeekOrigin.Begin);
            _data = stream.ReadBytes(DataSize);
            stream.Seek(headerEnd, SeekOrigin.Begin);
            if ((ObjectFlags & (ulong)UnrealFlags.EObjectFlags.HasStack) != 0)
            {
                ReadsFromConfig = (Data[25] & 64) != 0;
            }
            else
            {
                ReadsFromConfig = false;
            }
        }
Esempio n. 3
0
 public UDKExportEntry(UDKPackage pccFile) : base(pccFile)
 {
 }
 public static void Initialize()
 {
     UDKConstructorDelegate = UDKPackage.Initialize();
     MEConstructorDelegate  = MEPackage.Initialize();
 }