mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-19 06:17:45 +01:00
ResourceTree: Add EID files
This commit is contained in:
parent
57f8587a43
commit
da54222bb1
3 changed files with 29 additions and 1 deletions
|
|
@ -107,6 +107,16 @@ internal record ResolveContext(GlobalResolveContext Global, EquipSlot Slot, Char
|
|||
return node;
|
||||
}
|
||||
|
||||
public unsafe ResourceNode? CreateNodeFromEid(ResourceHandle* eid)
|
||||
{
|
||||
if (eid == null)
|
||||
return null;
|
||||
|
||||
var path = Utf8GamePath.Empty; // TODO
|
||||
|
||||
return GetOrCreateNode(ResourceType.Eid, 0, eid, path);
|
||||
}
|
||||
|
||||
public unsafe ResourceNode? CreateNodeFromImc(ResourceHandle* imc)
|
||||
{
|
||||
if (imc == null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue