Esempio n. 1
0
 public void Deserialize(IUnrealStream stream)
 {
     Log.Debug($"Reading import {Index} at {stream.Position}");
     PackageName = stream.ReadNameReference();
     _ClassName  = stream.ReadNameReference();
     ClassIndex  = (int)_ClassName;
     OuterIndex  = stream.ReadInt32();         // ObjectIndex, though always written as 32bits regardless of build.
     ObjectName  = stream.ReadNameReference();
 }
Esempio n. 2
0
 public void Deserialize( IUnrealStream stream )
 {
     Console.WriteLine( "Reading import " + Index + " at " + stream.Position );
     PackageName         = stream.ReadNameReference();
     _ClassName          = stream.ReadNameReference();
     ClassIndex         = (int)_ClassName;
     OuterIndex          = stream.ReadInt32(); // ObjectIndex, though always written as 32bits regardless of build.
     ObjectName          = stream.ReadNameReference();
 }
Esempio n. 3
0
 public void Deserialize(IUnrealStream stream)
 {
     Console.WriteLine("Reading import " + Index + " at " + stream.Position);
     PackageName = stream.ReadNameReference();
     _ClassName  = stream.ReadNameReference();
     ClassIndex  = (int)_ClassName;
     OuterIndex  = stream.ReadInt32();         // ObjectIndex, though always written as 32bits regardless of build.
     ObjectName  = stream.ReadNameReference();
 }
Esempio n. 4
0
 public static void Write(this IUnrealStream stream, UName name)
 {
     name.Serialize(stream);
 }
Esempio n. 5
0
 public static void Write( this IUnrealStream stream, UName name )
 {
     name.Serialize( stream );
 }