Skip to content

Commit 3651498

Browse files
committed
fix caller
1 parent 6bcab84 commit 3651498

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/AltV.Net.CApi/Events/Events.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace AltV.Net.CApi.ClientEvents
1010
public delegate void ClientEventModuleDelegate(string name, IntPtr args, ulong size);
1111
public delegate void ServerEventModuleDelegate(string name, IntPtr args, ulong size);
1212
public delegate void WebViewEventModuleDelegate(IntPtr webView, string name, IntPtr args, ulong size);
13-
public delegate void RmlEventModuleDelegate(IntPtr rmlElement, string name, IntPtr args, ulong size);
13+
public delegate void RmlEventModuleDelegate(IntPtr rmlElement, string name, IntPtr args);
1414
public delegate void WebSocketEventModuleDelegate(IntPtr webSocket, string name, IntPtr args, ulong size);
1515
public delegate void ConsoleCommandModuleDelegate(string name, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)] string[] args, int argsSize);
1616

api/AltV.Net.Client/ModuleWrapper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ public static void OnWebSocketEvent(IntPtr webSocket, string name, IntPtr pointe
277277
_core.OnWebSocketEvent(webSocket, name, args);
278278
}
279279

280-
public static void OnRmlElementEvent(IntPtr webView, string name, IntPtr pointer, ulong size)
280+
public static void OnRmlElementEvent(IntPtr webView, string name, IntPtr pointer)
281281
{
282282
_core.OnRmlElementEvent(webView, name, pointer);
283283
}

0 commit comments

Comments
 (0)