diff --git a/Source/Integration/SlashCommand.h b/Source/Integration/SlashCommand.h index 71225c54..ae27bb18 100644 --- a/Source/Integration/SlashCommand.h +++ b/Source/Integration/SlashCommand.h @@ -78,7 +78,7 @@ public: // is consumed either way. Returns Success if it matched, Error // otherwise. // - UFUNCTION(BlueprintCallable, meta = (ExpandEnumAsExecs = "ReturnValue")) + UFUNCTION(BlueprintCallable, meta = (BlueprintInternalUseOnly = "true", ExpandEnumAsExecs = "ReturnValue")) ElxSuccessOrError CheckCommand(const FString& Literal, const FString& Prototype); // Read the next whitespace-delimited word from the command line. @@ -87,7 +87,7 @@ public: // the token as an FString. Returns Error (with an empty Result) // if there is no nonwhitespace input left, Success otherwise. // - UFUNCTION(BlueprintCallable, meta = (ExpandEnumAsExecs = "ReturnValue")) + UFUNCTION(BlueprintCallable, meta = (BlueprintInternalUseOnly = "true", ExpandEnumAsExecs = "ReturnValue")) ElxSuccessOrError ReadToken(FString& Result); // Read the next token and interpret it as an integer, using C++ @@ -95,7 +95,7 @@ public: // octal). The whole token must be valid; "12abc" is rejected. // Returns Error (with Result 0) on failure, Success otherwise. // - UFUNCTION(BlueprintCallable, meta = (ExpandEnumAsExecs = "ReturnValue")) + UFUNCTION(BlueprintCallable, meta = (BlueprintInternalUseOnly = "true", ExpandEnumAsExecs = "ReturnValue")) ElxSuccessOrError ReadInteger(int32& Result); // Read the next token and interpret it as a floating-point number, @@ -104,14 +104,14 @@ public: // is rejected. Returns Error (with Result 0) on failure, Success // otherwise. // - UFUNCTION(BlueprintCallable, meta = (ExpandEnumAsExecs = "ReturnValue")) + UFUNCTION(BlueprintCallable, meta = (BlueprintInternalUseOnly = "true", ExpandEnumAsExecs = "ReturnValue")) ElxSuccessOrError ReadFloat(double& Result); // Read the rest of the command line, from the cursor to the end, // trimmed of leading and trailing whitespace. The cursor is // advanced to the end. Always returns Success. - // - UFUNCTION(BlueprintCallable, meta = (ExpandEnumAsExecs = "ReturnValue")) + // + UFUNCTION(BlueprintCallable, meta = (BlueprintInternalUseOnly = "true", ExpandEnumAsExecs = "ReturnValue")) ElxSuccessOrError ReadRest(FString& Result); // Return a user-facing error message describing why parsing failed.