Exemplo n.º 1
0
        protected unsafe ReceiveEventDelegate GetReceiveEventDelegate(AtkEventListener *eventListener)
        {
            var receiveEventAddress = new IntPtr(eventListener->vfunc[2]);

            return(Marshal.GetDelegateForFunctionPointer <ReceiveEventDelegate>(receiveEventAddress));
        }
Exemplo n.º 2
0
 public partial void RemoveEvent(ushort eventType, uint eventParam, AtkEventListener *listener,
                                 bool isSystemEvent);
Exemplo n.º 3
0
 public void RemoveEvent(AtkEventType eventType, uint eventParam, AtkEventListener *listener, bool isSystemEvent) => RemoveEvent((ushort)eventType, eventParam, listener, isSystemEvent);
Exemplo n.º 4
0
 public partial void AddEvent(ushort eventType, uint eventParam, AtkEventListener *listener,
                              AtkResNode *nodeParam, bool isSystemEvent);
Exemplo n.º 5
0
 public void AddEvent(AtkEventType eventType, uint eventParam, AtkEventListener *listener, AtkResNode *nodeParam, bool isSystemEvent) => AddEvent((ushort)eventType, eventParam, listener, nodeParam, isSystemEvent);