Download LyraStarterGame/Source/LyraGame/System/LyraGameInstance.h from Alexhas2/unitysamples: direct link, hf CLI and curl.
- Browser
- Download file 1.38 kB
-
https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Source/LyraGame/System/LyraGameInstance.h
- Command line
-
hf download hf://datasets/Alexhas2/unitysamples/LyraStarterGame/Source/LyraGame/System/LyraGameInstance.h
-
curl -L -o LyraGameInstance.h https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Source/LyraGame/System/LyraGameInstance.h
1.38 kB
| // Copyright Epic Games, Inc. All Rights Reserved. | |
| class ALyraPlayerController; | |
| class UObject; | |
| UCLASS(MinimalAPI, Config = Game) | |
| class ULyraGameInstance : public UCommonGameInstance | |
| { | |
| GENERATED_BODY() | |
| public: | |
| UE_API ULyraGameInstance(const FObjectInitializer& ObjectInitializer = FObjectInitializer::Get()); | |
| UE_API ALyraPlayerController* GetPrimaryPlayerController() const; | |
| UE_API virtual bool CanJoinRequestedSession() const override; | |
| UE_API virtual void HandlerUserInitialized(const UCommonUserInfo* UserInfo, bool bSuccess, FText Error, ECommonUserPrivilege RequestedPrivilege, ECommonUserOnlineContext OnlineContext) override; | |
| UE_API virtual void ReceivedNetworkEncryptionToken(const FString& EncryptionToken, const FOnEncryptionKeyResponse& Delegate) override; | |
| UE_API virtual void ReceivedNetworkEncryptionAck(const FOnEncryptionKeyResponse& Delegate) override; | |
| protected: | |
| UE_API virtual void Init() override; | |
| UE_API virtual void Shutdown() override; | |
| UE_API void OnPreClientTravelToSession(FString& URL); | |
| /** A hard-coded encryption key used to try out the encryption code. This is NOT SECURE, do not use this technique in production! */ | |
| TArray<uint8> DebugTestEncryptionKey; | |
| }; | |