KLingo Project Documentation 1.0.0
Unreal Engine 5.6 C++ Project Documentation
로딩중...
검색중...
일치하는것 없음
ULingoGameHelper.h
이 파일의 문서화 페이지로 가기
1// Copyright (c) 2025 Doppleddiggong. All rights reserved. Unauthorized copying, modification, or distribution of this file, via any medium is strictly prohibited. Proprietary and confidential.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "ALingoGameState.h"
7#include "FColorStyleData.h"
8#include "Kismet/BlueprintFunctionLibrary.h"
9#include "ULingoGameHelper.generated.h"
10
14UCLASS()
15class ONEPIECE_API ULingoGameHelper : public UBlueprintFunctionLibrary
16{
17 GENERATED_BODY()
18
19public:
20 UFUNCTION(BlueprintCallable, Category = "Utils")
21 static int64 GetUnixTimestampInt64();
22
23 UFUNCTION(BlueprintCallable, Category = "Utils")
24 static int32 GetUserId(const UObject* WorldContextObject);
25
26 UFUNCTION(BlueprintCallable, Category = "Utils")
27 static int GetMultiPlayerCount(const UObject* WorldContextObject);
28
29 UFUNCTION(BlueprintCallable, Category = "Utils")
30 static bool IsMultiPlay(const UObject* WorldContextObject);
31
32 UFUNCTION(BlueprintCallable, Category = "Utils")
33 static class ALingoGameMode* GetLingoGameMode(const UObject* WorldContextObject);
34
35 UFUNCTION(BlueprintCallable, Category = "Utils")
36 static class ALingoGameState* GetLingoGameState(const UObject* WorldContextObject);
37
38 UFUNCTION(BlueprintCallable, Category = "Utils")
39 static class ALingoPlayerState* GetLingoPlayerStateByPC(const AController* PC);
40
41 UFUNCTION(BlueprintCallable, Category = "Utils")
42 static class ALingoPlayerState* GetLingoPlayerState(const UObject* WorldContextObject);
43
44 UFUNCTION(BlueprintCallable, Category = "Utils")
45 static TArray<class ALingoPlayerState*> GetLingoPlayerStateList(const UObject* WorldContextObject);
46
47 UFUNCTION(BlueprintCallable, Category = "Utils")
48 static bool IsLocalPlayerPawn(const UObject* WorldContextObject);
49
50 UFUNCTION(BlueprintCallable, Category = "Utils")
51 static APawn* GetLocalPawn(const UObject* WorldContextObject);
52
53 UFUNCTION(BlueprintCallable, Category = "Utils")
54 static FString GetStageStartMessage(const EQuestType QuestType);
55
56 UFUNCTION(BlueprintCallable, Category = "Utils")
57 static FString GetStageEndMessage(const EQuestType QuestType);
58
59 UFUNCTION(BlueprintCallable, Category = "Utils")
60 static int32 GetStageTypeIndex(const EQuestType QuestType);
61
62 UFUNCTION(BlueprintCallable, Category = "Utils")
63 static float GetMissionPlayTime();
64
65 UFUNCTION(BlueprintCallable, Category = "Utils")
66 static FString GetFormatTimer(const float InRemainTime );
67
68 UFUNCTION(BlueprintCallable, Category = "Utils")
69 static EResourceTextureType ConvertGradeScore(const float Score);
70
71 UFUNCTION(BlueprintCallable, Category = "Utils")
72 static EResourceTextureType ConvertGradeString(const FString& Grade);
73
74 UFUNCTION(BlueprintCallable, Category = "Utils")
75 static EResourceTextureType ConvertScenarioTexture(EScenarioType ScenarioType);
76
79 UFUNCTION(BlueprintCallable, Category = "Utils")
80 static void ShowMouseCursor(const UObject* WorldContextObject);
81
84 UFUNCTION(BlueprintCallable, Category = "Utils")
85 static void HideMouseCursor(const UObject* WorldContextObject);
86
90 UFUNCTION(BlueprintCallable, Category = "Utils")
91 static class APlayerActor* GetPlayerActor(const UObject* WorldContextObject);
92
93 static class APlayerControl* GetPlayerControl(const UObject* WorldContextObject);
94
95 UFUNCTION(BlueprintCallable, Category = "Utils")
96 static class ASpeakStageActor* GetSpeakStageActor(const UObject* WorldContextObject);
97
98 UFUNCTION(BlueprintCallable, Category = "Utils")
99 static class AWheatly* GetWheatly(const UObject* WorldContextObject);
100
104 UFUNCTION(BlueprintCallable, Category = "Utils")
105 static FString GetPlayerNameFromState(const class ALingoPlayerState* PlayerState);
106
107 UFUNCTION(BlueprintCallable, Category = "Utils")
108 static FString GetTimeRank(float InTimeTaken);
109
110 UFUNCTION(BlueprintCallable, Category = "Utils")
111 static FLinearColor GetRankColor(float InScore);
112
113 UFUNCTION(BlueprintCallable, Category = "Utils")
114 static EColorStyleType GetRankColorType(float InScore);
115
116 UFUNCTION(BlueprintCallable, Category = "Utils")
117 static FString GetAccuracyPercentage(int WrongCnt);
118};
EQuestType
EColorStyleType
EResourceTextureType
EScenarioType
시나리오 타입 열거형
Main character driven directly by the player.
Speak Stage 시스템
Wheatly NPC 액터
Definition AWheatly.h:31