Skip to content

Commit 6a15ff9

Browse files
committed
Add known virtual function used to load in ResourceEventListener
For example, this is used by LuaScriptLoader to load Lua scripts from the resource system.
1 parent 26895ac commit 6a15ff9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

FFXIVClientStructs/FFXIV/Client/System/Resource/ResourceEventListener.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ public unsafe partial struct ResourceEventListener {
99

1010
// vfuncs 1-4 are virtuals that are specific to the classes that inherits this
1111

12-
// unsure of what the function does but its specific to this class from what I find in the vtable references
13-
// [VirtualFunction(3)]
14-
// public partial void vf3(ResourceHandle* handle);
12+
[VirtualFunction(3)]
13+
public partial void Load(Handle.ResourceHandle* handle);
1514

1615
// looks similar to vf3 but seems to be a different function
1716
// [VirtualFunction(4)]

ida/data.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4896,6 +4896,7 @@ classes:
48964896
- ea: 0x142013188
48974897
vfuncs:
48984898
0: Dtor
4899+
3: Load
48994900
funcs:
49004901
0x1402ED630: ctor
49014902
Client::System::Resource::Handle::GrassGridDataResourceHandle:

0 commit comments

Comments
 (0)