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