The absolute root of an Unreal object hierarchy.
Пример #1
0
 /// <summary>
 /// Use the <see cref="DataProcessor"/> of the given type to read properties into the object.
 /// </summary>
 /// <param name="readerType">The <see cref="Type"/> of the object to read.</param>
 /// <param name="target">The object to read into.</param>
 /// <param name="package">The <see cref="Alexandria.Engines.Unreal.Package"/> this <see cref="RootObject"/> should be placed in.</param>
 /// <param name="reader">The <see cref="BinaryReader"/> for reading the object.</param>
 /// <param name="end">An index just past the end of the <see cref="RootObject"/>'s data.</param>
 /// <returns><paramref name="target"/>.</returns>
 public static object CallReader(Type readerType, RootObject target, Package package, BinaryReader reader, long end)
 {
     return(GetReaderSingleton(readerType).Read(target, package, reader, end));
 }
Пример #2
0
 /// <summary>
 /// Use the <see cref="DataProcessor"/> of the given type to read properties into the object.
 /// </summary>
 /// <param name="readerType">The <see cref="Type"/> of the object to read.</param>
 /// <param name="target">The object to read into.</param>
 /// <param name="package">The <see cref="Alexandria.Engines.Unreal.Package"/> this <see cref="RootObject"/> should be placed in.</param>
 /// <param name="reader">The <see cref="BinaryReader"/> for reading the object.</param>
 /// <param name="end">An index just past the end of the <see cref="RootObject"/>'s data.</param>
 /// <returns><paramref name="target"/>.</returns>
 public static object CallReader(Type readerType, RootObject target, Package package, BinaryReader reader, long end)
 {
     return GetReaderSingleton(readerType).Read(target, package, reader, end);
 }