You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
[UBA]
* Added support for sending loader paths through GetFullFilename logic [CL 35909987 by henrik karlsson in ue5-main branch]
This commit is contained in:
+4
-1
@@ -248,7 +248,7 @@ namespace uba
|
||||
return findIt->second;
|
||||
}
|
||||
|
||||
void Rpc_GetFullFileName(const tchar*& path, u64& pathLen, StringBufferBase& tempBuf, bool useVirtualName)
|
||||
void Rpc_GetFullFileName(const tchar*& path, u64& pathLen, StringBufferBase& tempBuf, bool useVirtualName, const tchar* const* loaderPaths)
|
||||
{
|
||||
StringKey fileNameKey;
|
||||
if (IsAbsolutePath(path))
|
||||
@@ -269,6 +269,9 @@ namespace uba
|
||||
writer.WriteByte(MessageType_GetFullFileName);
|
||||
writer.WriteString(path);
|
||||
writer.WriteStringKey(fileNameKey);
|
||||
if (loaderPaths)
|
||||
for (auto i=loaderPaths; *i; ++i)
|
||||
writer.WriteString(*i);
|
||||
writer.Flush();
|
||||
BinaryReader reader;
|
||||
reader.ReadString(tempBuf);
|
||||
|
||||
+1
-1
@@ -64,7 +64,7 @@ namespace uba
|
||||
void Rpc_UpdateCloseHandle(const tchar* handleName, u32 closeId, bool deleteOnClose, const tchar* newName, u64 mappingHandle, u64 mappingWritten, bool success);
|
||||
void Rpc_UpdateTables();
|
||||
u32 Rpc_GetEntryOffset(const StringKey& entryNameKey, const tchar* entryName, u64 entryNameLen, bool checkIfDir = false);
|
||||
void Rpc_GetFullFileName(const tchar*& path, u64& pathLen, StringBufferBase& tempBuf, bool useVirtualName);
|
||||
void Rpc_GetFullFileName(const tchar*& path, u64& pathLen, StringBufferBase& tempBuf, bool useVirtualName, const tchar* const* loaderPaths = nullptr);
|
||||
|
||||
struct DirHash
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user