RePakInterop
Namespace: UAssetAPI
public static class RePakInterop
Inheritance Object → RePakInterop
Fields
NativeLib
public static string NativeLib;
Methods
pak_setup_allocator()
public static IntPtr pak_setup_allocator()
Returns
pak_teardown_allocator()
public static IntPtr pak_teardown_allocator()
Returns
pak_builder_new()
public static IntPtr pak_builder_new()
Returns
pak_builder_drop(IntPtr)
public static void pak_builder_drop(IntPtr builder)
Parameters
builder
IntPtr
pak_reader_drop(IntPtr)
public static void pak_reader_drop(IntPtr reader)
Parameters
reader
IntPtr
pak_writer_drop(IntPtr)
public static void pak_writer_drop(IntPtr writer)
Parameters
writer
IntPtr
pak_buffer_drop(IntPtr, UInt64)
public static void pak_buffer_drop(IntPtr buffer, ulong length)
Parameters
buffer
IntPtr
length
UInt64
pak_cstring_drop(IntPtr)
public static void pak_cstring_drop(IntPtr cstrign)
Parameters
cstrign
IntPtr
pak_builder_key(IntPtr, Byte[])
public static IntPtr pak_builder_key(IntPtr builder, Byte[] key)
Parameters
builder
IntPtr
key
Byte[]
Returns
pak_builder_compression(IntPtr, Byte[], Int32)
public static IntPtr pak_builder_compression(IntPtr builder, Byte[] compressions, int length)
Parameters
builder
IntPtr
compressions
Byte[]
length
Int32
Returns
pak_builder_reader(IntPtr, StreamCallbacks)
public static IntPtr pak_builder_reader(IntPtr builder, StreamCallbacks ctx)
Parameters
builder
IntPtr
ctx
StreamCallbacks
Returns
pak_builder_writer(IntPtr, StreamCallbacks, PakVersion, String, UInt64)
public static IntPtr pak_builder_writer(IntPtr builder, StreamCallbacks ctx, PakVersion version, string mount_point, ulong path_hash_seed)
Parameters
builder
IntPtr
ctx
StreamCallbacks
version
PakVersion
mount_point
String
path_hash_seed
UInt64
Returns
pak_reader_version(IntPtr)
public static PakVersion pak_reader_version(IntPtr reader)
Parameters
reader
IntPtr
Returns
pak_reader_mount_point(IntPtr)
public static IntPtr pak_reader_mount_point(IntPtr reader)
Parameters
reader
IntPtr
Returns
pak_reader_get(IntPtr, String, StreamCallbacks, IntPtr&, UInt64&)
public static int pak_reader_get(IntPtr reader, string path, StreamCallbacks ctx, IntPtr& buffer, UInt64& length)
Parameters
reader
IntPtr
path
String
ctx
StreamCallbacks
buffer
IntPtr&
length
UInt64&
Returns
pak_reader_files(IntPtr, UInt64&)
public static IntPtr pak_reader_files(IntPtr reader, UInt64& length)
Parameters
reader
IntPtr
length
UInt64&
Returns
pak_drop_files(IntPtr, UInt64)
public static IntPtr pak_drop_files(IntPtr buffer, ulong length)
Parameters
buffer
IntPtr
length
UInt64
Returns
pak_writer_write_file(IntPtr, String, Byte[], Int32)
public static int pak_writer_write_file(IntPtr writer, string path, Byte[] data, int data_len)
Parameters
writer
IntPtr
path
String
data
Byte[]
data_len
Int32
Returns
pak_writer_write_index(IntPtr)
public static int pak_writer_write_index(IntPtr writer)
Parameters
writer
IntPtr