Beispiel #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();
 }
 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();
 }
Beispiel #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();
 }
Beispiel #4
0
 public static void Write(this IUnrealStream stream, UName name)
 {
     name.Serialize(stream);
 }
 public static void Write( this IUnrealStream stream, UName name )
 {
     name.Serialize( stream );
 }