Space Plunder
Loading...
Searching...
No Matches
OptionsMenuBPLib.h
Go to the documentation of this file.
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Kismet/BlueprintFunctionLibrary.h"
7#include "OptionsMenuBPLib.generated.h"
8
9
10UCLASS()
11class BASEHELPERS_API UOptionsMenuBPLib : public UBlueprintFunctionLibrary
12{
13 GENERATED_BODY()
14public:
15 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
16 static void SetTextureQuality(int32 QualityLevel);
17 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
18 static void SetViewDistance(int32 ViewDistanceQuality);
19 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
20 static void SetAntialiasingQuality(int32 AntialiasingQuality);
21 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
22 static void SetShadowQuality(int32 ShadowQuality);
23 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
24 static void SetFoliageQuality(int32 FoliageQuality);
25 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
26 static void SetReflectionQuality(int32 FoliageQuality);
27 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
28 static void SetShadingQuality(int32 ShadingQuality);
29 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
30 static void SetAudioQualityLevel(int32 AudioQualityLevel);
31 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
32 static void SetGlobalIlluminationQuality(int32 GlobalIlluminationQuality);
33 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
34 static void SetOverallScalabilityLevel(int32 OverallScalabilityLevel);
35 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
36 static void SetPostProcessingQuality(int32 PostProcessingQuality);
37 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
38 static void SetVisualEffectQuality(int32 VisualEffectQuality);
39 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
40 static void SetFrameRateLimit(int32 FrameRateLimit);
41
42 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
43 static int32 GetTextureQuality();
44 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
45 static int32 GetViewDistance();
46 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
47 static int32 GetAntialiasingQuality();
48 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
49 static int32 GetShadowQuality();
50 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
51 static int32 GetFoliageQuality();
52 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
53 static int32 GetReflectionQuality();
54 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
55 static int32 GetShadingQuality();
56 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
57 static int32 GetAudioQualityLevel();
58 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
59 static int32 GetFrameRateLimit();
60 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
61 static int32 GetGlobalIlluminationQuality();
62 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
63 static int32 GetOverallScalabilityLevel();
64 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
65 static int32 GetPostProcessingQuality();
66 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
67 static int32 GetVisualEffectQuality();
68
69 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
70 static TArray<FString> GetResolutionOptions();
71
72 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
73 static void SetScreenResolution(const FIntPoint& Resolution);
74 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
75 static void SetFullscreenMode(EWindowMode::Type WindowMode);
76 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
77 static void SetVSyncEnabled(bool bIsEnabled);
78
79 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
80 static FIntPoint GetScreenResolution();
81 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
82 static EWindowMode::Type GetFullscreenMode();
83 UFUNCTION(BlueprintCallable, Category = "Options|Graphics")
84 static bool GetVSyncEnabled();
85
86 //~~~~~~~~~~~~~~~//
87 //~ Audio ~//
88 UFUNCTION(BlueprintCallable, Category = "Options|Audio")
89 static void SetAudioVolume(USoundClass* SoundClass, const float NewVolume);
90 UFUNCTION(BlueprintCallable, Category = "Options|Audio")
91 static float GetAudioVolume(USoundClass* SoundClass);
92 //~ Audio ~//
93 //~~~~~~~~~~~~~~~~//
94
95 UFUNCTION(BlueprintCallable, Category = "Options")
96 static void ApplyResolutionSettings();
97 UFUNCTION(BlueprintCallable, Category = "Options")
98 static void ApplyAutoSettings();
99
100 UFUNCTION(BlueprintCallable, Category = "Options")
101 static void ApplySettings();
102 UFUNCTION(BlueprintCallable, Category = "Options")
103 static void SaveSettings();
104 UFUNCTION(BlueprintCallable, Category = "Options")
105 static void LoadSettings();
106
107 // UFUNCTION(BlueprintCallable, Category = "Options")
108 static bool SavePlayerSettings(APlayerController* PlayerController, const struct FAudioPlayerOptions AudioSettings);
109 // UFUNCTION(BlueprintCallable, Category = "Options")
110 // static bool SaveAudioSettings(const struct FAudioPlayerOptions AudioSettings);
111
112 UFUNCTION(BlueprintCallable, Category = "Options|Gameplay")
113 static void SetCameraInverted(APlayerController* PlayerController, const bool bInvert);
114 UFUNCTION(BlueprintCallable, Category = "Options|Gameplay")
115 static void SetCameraSensitivity(APlayerController* PlayerController, const float Value);
116
117 UFUNCTION(BlueprintCallable, Category = "Options|Gameplay")
118 static void SetCameraHorizontalSensitivity(APlayerController* PlayerController, const float Value);
119 UFUNCTION(BlueprintCallable, Category = "Options|Gameplay")
120 static void SetCameraVerticalSensitivity(APlayerController* PlayerController, const float Value);
121 UFUNCTION(BlueprintCallable, Category = "Options|Gameplay")
122 static void SetCameraUseSeparateAxisSensitivity(APlayerController* PlayerController, const bool bValue);
123
124 UFUNCTION(BlueprintCallable, Category = "Options|Gameplay")
125 static void SetAimAssistLevel(APlayerController* PlayerController, const int32 Value);
126
127 UFUNCTION(BlueprintCallable, Category = "Options|Gameplay")
128 static void SetCameraAimedSensitivityMultiplier(APlayerController* PlayerController, const float Value);
129
130 UFUNCTION(BlueprintCallable, Category = "Options|Gameplay")
131 static bool GetIsCameraInverted(const APlayerController* PlayerController);
132 UFUNCTION(BlueprintCallable, Category = "Options|Gameplay")
133 static float GetCameraSensitivity(const APlayerController* PlayerController);
134 UFUNCTION(BlueprintCallable, Category = "Options|Gameplay")
135 static float GetCameraHorizontalSensitivity(const APlayerController* PlayerController);
136 UFUNCTION(BlueprintCallable, Category = "Options|Gameplay")
137 static float GetCameraVerticalSensitivity(const APlayerController* PlayerController);
138 UFUNCTION(BlueprintCallable, Category = "Options|Gameplay")
139 static bool GetCameraUseSeparateAxisSensitivity(const APlayerController* PlayerController);
140
141 UFUNCTION(BlueprintCallable, Category = "Options|Gameplay")
142 static int32 GetAimAssistLevel(const APlayerController* PlayerController);
143
144 UFUNCTION(BlueprintCallable, Category = "Options|Gameplay")
145 static float GetCameraAimedSensitivityMultiplier(const APlayerController* PlayerController);
146
147
148
149
150
151
152};
153
154
UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent)) class CHATSYSTEM_API UChatSystemComponent
Definition ChatSystemComponent.h:13
Definition OptionsMenuBPLib.h:12
Definition SettingData.h:58