From b68199b1aad8c0fa53abb6181ee1c35f16c6db66 Mon Sep 17 00:00:00 2001 From: mordentral Date: Mon, 27 Feb 2017 12:42:48 -0500 Subject: [PATCH] Marking EndSession as deprecated It is not only not really useful in blueprints, but people have also been using it wrong. It isn't useful to Steam Subsystem and isn't really useful in blueprints to begin with as its use is vauge, would rather enforce the actual total destruction of the session instead by making users call DestroySession as is intended. I feel like that node suffers from overexposing the back end to blueprints. Former-commit-id: 77ce18bce6eb7f400ca744ef279cc8bba91f7073 --- Source/AdvancedSessions/Classes/EndSessionCallbackProxy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/AdvancedSessions/Classes/EndSessionCallbackProxy.h b/Source/AdvancedSessions/Classes/EndSessionCallbackProxy.h index b9b6ece..8b88a58 100644 --- a/Source/AdvancedSessions/Classes/EndSessionCallbackProxy.h +++ b/Source/AdvancedSessions/Classes/EndSessionCallbackProxy.h @@ -18,7 +18,7 @@ class UEndSessionCallbackProxy : public UOnlineBlueprintCallProxyBase FEmptyOnlineDelegate OnFailure; // Ends the current session - UFUNCTION(BlueprintCallable, meta=(BlueprintInternalUseOnly = "true", WorldContext="WorldContextObject"), Category = "Online|AdvancedSessions") + UFUNCTION(BlueprintCallable, meta=(DeprecatedFunction,DeprecationMessage = "This function is deprecated, I realized that people have been using it wrong and it doesn't have much use in blueprints. Use Destroy Session only instead.",BlueprintInternalUseOnly = "true", WorldContext="WorldContextObject"), Category = "Online|AdvancedSessions|Deprecated") static UEndSessionCallbackProxy* EndSession(UObject* WorldContextObject, class APlayerController* PlayerController); // UOnlineBlueprintCallProxyBase interface