protected unsafe ReceiveEventDelegate GetReceiveEventDelegate(AtkEventListener *eventListener) { var receiveEventAddress = new IntPtr(eventListener->vfunc[2]); return(Marshal.GetDelegateForFunctionPointer <ReceiveEventDelegate>(receiveEventAddress)); }
public partial void RemoveEvent(ushort eventType, uint eventParam, AtkEventListener *listener, bool isSystemEvent);
public void RemoveEvent(AtkEventType eventType, uint eventParam, AtkEventListener *listener, bool isSystemEvent) => RemoveEvent((ushort)eventType, eventParam, listener, isSystemEvent);
public partial void AddEvent(ushort eventType, uint eventParam, AtkEventListener *listener, AtkResNode *nodeParam, bool isSystemEvent);
public void AddEvent(AtkEventType eventType, uint eventParam, AtkEventListener *listener, AtkResNode *nodeParam, bool isSystemEvent) => AddEvent((ushort)eventType, eventParam, listener, nodeParam, isSystemEvent);