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

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