コード例 #1
0
            internal static unsafe GameplayTagQuery Invoke(GameplayTagQuery TagQuery)
            {
                long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L };
                byte *b = (byte *)p;

                *((GameplayTagQuery *)(b + 0)) = TagQuery;
                Main.GetProcessEvent(BlueprintGameplayTagLibrary.DefaultObject, MakeGameplayTagQuery_ptr, new IntPtr(p));;
                return(*((GameplayTagQuery *)(b + 72)));
            }
        }
コード例 #2
0
            internal static unsafe bool Invoke(GameplayTagContainer TagContainer, GameplayTagQuery TagQuery)
            {
                long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L };
                byte *b = (byte *)p;

                *((GameplayTagContainer *)(b + 0)) = TagContainer;
                *((GameplayTagQuery *)(b + 32))    = TagQuery;
                Main.GetProcessEvent(BlueprintGameplayTagLibrary.DefaultObject, DoesContainerMatchTagQuery_ptr, new IntPtr(p));;
                return(*((bool *)(b + 104)));
            }
        }
コード例 #3
0
            internal static unsafe IReadOnlyCollection <Actor> Invoke(UObject WorldContextObject, SubclassOf <Actor> ActorClass, GameplayTagQuery GameplayTagQuery)
            {
                long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L };
                byte *b = (byte *)p;

                *((IntPtr *)(b + 0))            = WorldContextObject;
                *((IntPtr *)(b + 8))            = ActorClass;
                *((GameplayTagQuery *)(b + 16)) = GameplayTagQuery;
                Main.GetProcessEvent(BlueprintGameplayTagLibrary.DefaultObject, GetAllActorsOfClassMatchingTagQuery_ptr, new IntPtr(p));;
                //TODO: array TArray OutActors
                return(UObject.ToUObjectCollection <Actor>(b + 88));
            }
        }