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
This commit is contained in:
mordentral
2017-02-27 12:42:48 -05:00
parent e9523733c1
commit b68199b1aa

View File

@@ -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