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));; } }
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));; } }