Exemple #1
0
            internal static unsafe void Invoke(IntPtr obj, AISenseEvent PerceptionEvent)
            {
                long *p = stackalloc long[] { 0L, 0L };
                byte *b = (byte *)p;

                *((IntPtr *)(b + 0)) = PerceptionEvent;
                Main.GetProcessEvent(obj, ReportEvent_ptr, new IntPtr(p));;
            }
        }
Exemple #2
0
            internal static unsafe void Invoke(UObject WorldContextObject, AISenseEvent PerceptionEvent)
            {
                long *p = stackalloc long[] { 0L, 0L, 0L };
                byte *b = (byte *)p;

                *((IntPtr *)(b + 0)) = WorldContextObject;
                *((IntPtr *)(b + 8)) = PerceptionEvent;
                Main.GetProcessEvent(AIPerceptionSystem.DefaultObject, ReportPerceptionEvent_ptr, new IntPtr(p));;
            }
        }