Download LyraStarterGame/Source/LyraGame/Development/LyraBotCheats.h from Alexhas2/unitysamples: direct link, hf CLI and curl.
- Browser
- Download file 654 Bytes
-
https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Source/LyraGame/Development/LyraBotCheats.h
- Command line
-
hf download hf://datasets/Alexhas2/unitysamples/LyraStarterGame/Source/LyraGame/Development/LyraBotCheats.h
-
curl -L -o LyraBotCheats.h https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Source/LyraGame/Development/LyraBotCheats.h
654 Bytes
| // Copyright Epic Games, Inc. All Rights Reserved. | |
| class ULyraBotCreationComponent; | |
| class UObject; | |
| struct FFrame; | |
| /** Cheats related to bots */ | |
| UCLASS(NotBlueprintable) | |
| class ULyraBotCheats final : public UCheatManagerExtension | |
| { | |
| GENERATED_BODY() | |
| public: | |
| ULyraBotCheats(); | |
| // Adds a bot player | |
| UFUNCTION(Exec, BlueprintAuthorityOnly) | |
| void AddPlayerBot(); | |
| // Removes a random bot player | |
| UFUNCTION(Exec, BlueprintAuthorityOnly) | |
| void RemovePlayerBot(); | |
| private: | |
| ULyraBotCreationComponent* GetBotComponent() const; | |
| }; | |