KLingo Project Documentation 1.0.0
Unreal Engine 5.6 C++ Project Documentation
로딩중...
검색중...
일치하는것 없음
ULingoGameHelper 클래스 참조

#include <ULingoGameHelper.h>

+ ULingoGameHelper에 대한 상속 다이어그램 :
+ ULingoGameHelper에 대한 협력 다이어그램:

정적 Public 멤버 함수

static EResourceTextureType ConvertGradeScore (const float Score)
 
static EResourceTextureType ConvertGradeString (const FString &Grade)
 
static EResourceTextureType ConvertScenarioTexture (EScenarioType ScenarioType)
 
static FString GetAccuracyPercentage (int WrongCnt)
 
static FString GetFormatTimer (const float InRemainTime)
 
static class ALingoGameModeGetLingoGameMode (const UObject *WorldContextObject)
 
static class ALingoGameStateGetLingoGameState (const UObject *WorldContextObject)
 
static class ALingoPlayerStateGetLingoPlayerState (const UObject *WorldContextObject)
 
static class ALingoPlayerStateGetLingoPlayerStateByPC (const AController *PC)
 
static TArray< class ALingoPlayerState * > GetLingoPlayerStateList (const UObject *WorldContextObject)
 
static APawn * GetLocalPawn (const UObject *WorldContextObject)
 
static float GetMissionPlayTime ()
 
static int GetMultiPlayerCount (const UObject *WorldContextObject)
 
static class APlayerActorGetPlayerActor (const UObject *WorldContextObject)
 첫 번째 플레이어의 PlayerActor를 가져옵니다.
 
static class APlayerControlGetPlayerControl (const UObject *WorldContextObject)
 
static FString GetPlayerNameFromState (const class ALingoPlayerState *PlayerState)
 PlayerState에서 PlayerControl을 통해 사용자 이름 가져오기
 
static FLinearColor GetRankColor (float InScore)
 
static EColorStyleType GetRankColorType (float InScore)
 
static class ASpeakStageActorGetSpeakStageActor (const UObject *WorldContextObject)
 
static FString GetStageEndMessage (const EQuestType QuestType)
 
static FString GetStageStartMessage (const EQuestType QuestType)
 
static int32 GetStageTypeIndex (const EQuestType QuestType)
 
static FString GetTimeRank (float InTimeTaken)
 
static int64 GetUnixTimestampInt64 ()
 
static int32 GetUserId (const UObject *WorldContextObject)
 
static class AWheatlyGetWheatly (const UObject *WorldContextObject)
 
static void HideMouseCursor (const UObject *WorldContextObject)
 마우스 커서를 숨기고 게임 전용 입력 모드로 설정합니다.
 
static bool IsLocalPlayerPawn (const UObject *WorldContextObject)
 
static bool IsMultiPlay (const UObject *WorldContextObject)
 
static void ShowMouseCursor (const UObject *WorldContextObject)
 마우스 커서를 표시하고 게임+UI 입력 모드로 설정합니다.
 

상세한 설명

ULingoGameHelper.h 파일의 15 번째 라인에서 정의되었습니다.

멤버 함수 문서화

◆ ConvertGradeScore()

EResourceTextureType ULingoGameHelper::ConvertGradeScore ( const float  Score)
static

ULingoGameHelper.cpp 파일의 174 번째 라인에서 정의되었습니다.

175{
176 if (Score >= 90.0f)
178 else if (Score >= 80.0f)
180 else if (Score >= 70.0f)
182 else if (Score >= 60.0f)
184 else
186}

다음을 참조함 : Rarity_A, Rarity_B, Rarity_C, Rarity_D, Rarity_S, Score.

다음에 의해서 참조됨 : UPopup_SpeakResultItem::InitData(), UPopup_SpeakQuestJudes::InitPopup().

+ 이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ ConvertGradeString()

EResourceTextureType ULingoGameHelper::ConvertGradeString ( const FString &  Grade)
static

ULingoGameHelper.cpp 파일의 188 번째 라인에서 정의되었습니다.

189{
190 if (Grade == "D") return EResourceTextureType::Rarity_D;
191 if (Grade == "C") return EResourceTextureType::Rarity_C;
192 if (Grade == "B") return EResourceTextureType::Rarity_B;
193 if (Grade == "A") return EResourceTextureType::Rarity_A;
194 if (Grade == "S") return EResourceTextureType::Rarity_S;
195
197}

다음을 참조함 : Grade, Rarity_A, Rarity_B, Rarity_C, Rarity_D, Rarity_S.

다음에 의해서 참조됨 : FResponseSpeakResult::GetResultStatData(), UPopup_Result::InitListenResult(), UEvaluationScenario::InitPanel(), UEvaluationTotal::InitPanel(), UPopup_Result::InitReadResult(), UPopup_QuestionnaireResult::InitWholeResult().

+ 이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ ConvertScenarioTexture()

EResourceTextureType ULingoGameHelper::ConvertScenarioTexture ( EScenarioType  ScenarioType)
static

ULingoGameHelper.cpp 파일의 199 번째 라인에서 정의되었습니다.

200{
201 if (ScenarioType == EScenarioType::READING) return EResourceTextureType::Read;
202 if (ScenarioType == EScenarioType::LISTENING) return EResourceTextureType::Listen;
203 if (ScenarioType == EScenarioType::SPEAKING) return EResourceTextureType::Speak;
204 if (ScenarioType == EScenarioType::WRITING) return EResourceTextureType::Write;
205
207}

다음을 참조함 : Listen, Read, Speak, Write.

다음에 의해서 참조됨 : UEvaluationScenario::InitPanel().

+ 이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ GetAccuracyPercentage()

FString ULingoGameHelper::GetAccuracyPercentage ( int  WrongCnt)
static

ULingoGameHelper.cpp 파일의 402 번째 라인에서 정의되었습니다.

403{
404 // 정답률 계산
405 const float Percentage = ((10.f - WrongCnt) / 10.f) * 100.f;
406 const int32 RoundedPercentage = FMath::RoundToInt(Percentage);
407
408 // FString으로 변환
409 return FString::Printf(TEXT("%d%%"), RoundedPercentage);
410}

◆ GetFormatTimer()

FString ULingoGameHelper::GetFormatTimer ( const float  InRemainTime)
static

ULingoGameHelper.cpp 파일의 209 번째 라인에서 정의되었습니다.

210{
211 const int32 TotalMilliseconds = FMath::FloorToInt(InRemainTime * 1000.f);
212
213 const int32 Minutes = TotalMilliseconds / 60000;
214 const int32 Seconds = (TotalMilliseconds / 1000) % 60;
215 const int32 Milliseconds = (TotalMilliseconds % 1000) / 10;
216
217 // 00:00.00
218 return FString::Printf(TEXT("%02d:%02d.%02d"), Minutes, Seconds, Milliseconds);
219}

◆ GetLingoGameMode()

ALingoGameMode * ULingoGameHelper::GetLingoGameMode ( const UObject *  WorldContextObject)
static

ULingoGameHelper.cpp 파일의 43 번째 라인에서 정의되었습니다.

44{
45 return WorldContextObject->GetWorld()->GetAuthGameMode<ALingoGameMode>();
46}

다음에 의해서 참조됨 : AContactTrigger::OnListenResponseScenario(), AContactTrigger::OnReadResponseScenario().

+ 이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ GetLingoGameState()

◆ GetLingoPlayerState()

ALingoPlayerState * ULingoGameHelper::GetLingoPlayerState ( const UObject *  WorldContextObject)
static

ULingoGameHelper.cpp 파일의 53 번째 라인에서 정의되었습니다.

54{
55 if (!WorldContextObject)
56 return nullptr;
57
58 UWorld* World = WorldContextObject->GetWorld();
59 if (!World)
60 return nullptr;
61
62 APlayerController* PC = World->GetFirstPlayerController();
63 if (!PC)
64 return nullptr;
65
66 return Cast<ALingoPlayerState>(PC->PlayerState);
67}

다음에 의해서 참조됨 : UPopup_Questionnaire::InitPopup(), UPopup_QuestionnaireResult::InitPopup(), UPopup_SpeakResult::InitQuestionList(), UPopup_ReadQuest::InitRead(), UPopup_Questionnaire::OnResponseOcrExtract(), UPopup_Questionnaire::OnResponseWriteResult(), UKLingoNetworkSystem::RequestUserToken().

+ 이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ GetLingoPlayerStateByPC()

ALingoPlayerState * ULingoGameHelper::GetLingoPlayerStateByPC ( const AController *  PC)
static

ULingoGameHelper.cpp 파일의 69 번째 라인에서 정의되었습니다.

70{
71 if (PC)
72 {
73 return PC->GetPlayerState<ALingoPlayerState>();
74 }
75 else
76 {
77 return nullptr;
78 }
79}

◆ GetLingoPlayerStateList()

TArray< ALingoPlayerState * > ULingoGameHelper::GetLingoPlayerStateList ( const UObject *  WorldContextObject)
static

ULingoGameHelper.cpp 파일의 82 번째 라인에서 정의되었습니다.

83{
84 TArray<ALingoPlayerState*> PlayerStateList;
85 for (FConstPlayerControllerIterator It = WorldContextObject->GetWorld()->GetPlayerControllerIterator(); It; ++It)
86 {
87 if (APlayerController* PC = It->Get())
88 {
89 if (ALingoPlayerState* PS = PC->GetPlayerState<ALingoPlayerState>())
90 {
91 PlayerStateList.Add(PS);
92 }
93 }
94 }
95
96 return PlayerStateList;
97}

다음에 의해서 참조됨 : ALingoGameMode::UpdateQuestRole().

+ 이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ GetLocalPawn()

APawn * ULingoGameHelper::GetLocalPawn ( const UObject *  WorldContextObject)
static

ULingoGameHelper.cpp 파일의 113 번째 라인에서 정의되었습니다.

114{
115 if (const UWorld* World = WorldContextObject->GetWorld())
116 {
117 if (APlayerController* PC = World->GetFirstPlayerController())
118 {
119 APawn* Pawn = PC->GetPawn();
120 if (Pawn && Pawn->IsLocallyControlled())
121 {
122 return Pawn;
123 }
124 }
125 }
126 return nullptr;
127}

다음에 의해서 참조됨 : AWheatly::OnSpeakStageSpeakerChanged().

+ 이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ GetMissionPlayTime()

float ULingoGameHelper::GetMissionPlayTime ( )
static

ULingoGameHelper.cpp 파일의 169 번째 라인에서 정의되었습니다.

170{
171 return 300;
172}

다음에 의해서 참조됨 : ALingoGameState::SetListenScenarioData(), ALingoGameState::SetReadScenarioData().

+ 이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ GetMultiPlayerCount()

int ULingoGameHelper::GetMultiPlayerCount ( const UObject *  WorldContextObject)
static

ULingoGameHelper.cpp 파일의 31 번째 라인에서 정의되었습니다.

32{
33 ALingoGameState* GS = Cast<ALingoGameState>(UGameplayStatics::GetGameState(WorldContextObject));
34 int32 NumPlayers = GS ? GS->PlayerArray.Num() : 0;
35 return NumPlayers;
36}

다음에 의해서 참조됨 : IsMultiPlay().

+ 이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ GetPlayerActor()

APlayerActor * ULingoGameHelper::GetPlayerActor ( const UObject *  WorldContextObject)
static

첫 번째 플레이어의 PlayerActor를 가져옵니다.

매개변수
WorldContextObject[in] World 컨텍스트 객체
반환값
PlayerActor 인스턴스 (없으면 nullptr)

ULingoGameHelper.cpp 파일의 255 번째 라인에서 정의되었습니다.

256{
257 if (!WorldContextObject)
258 return nullptr;
259
260 UWorld* World = WorldContextObject->GetWorld();
261 if (!World)
262 return nullptr;
263
264 APlayerController* PC = World->GetFirstPlayerController();
265 if (!PC)
266 return nullptr;
267
268 return Cast<APlayerActor>(PC->GetPawn());
269}

다음에 의해서 참조됨 : UPopup_DailyStudy::OnResponseListenAudio(), Aluggage::OnResponseListenAudio(), UPopup_ReadQuest::OnResponseListenAudio(), UPopup_Word::OnResponseListenAudio(), UPopup_SpeakQuest::OnResponseListenAudio().

+ 이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ GetPlayerControl()

APlayerControl * ULingoGameHelper::GetPlayerControl ( const UObject *  WorldContextObject)
static

ULingoGameHelper.cpp 파일의 272 번째 라인에서 정의되었습니다.

273{
274 if (!WorldContextObject)
275 return nullptr;
276
277 UWorld* World = WorldContextObject->GetWorld();
278 if (!World)
279 return nullptr;
280
281 return Cast<APlayerControl>(World->GetFirstPlayerController());
282}

다음에 의해서 참조됨 : GetUserId(), ANetworkTesterActor::OnResponseUserMe(), UPopup_History::RefreshHistoryList().

+ 이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ GetPlayerNameFromState()

FString ULingoGameHelper::GetPlayerNameFromState ( const class ALingoPlayerState PlayerState)
static

PlayerState에서 PlayerControl을 통해 사용자 이름 가져오기

매개변수
PlayerState[in] 플레이어 상태
반환값
사용자 이름 (UserInfo.username), 실패 시 PlayerState의 기본 이름

ULingoGameHelper.cpp 파일의 308 번째 라인에서 정의되었습니다.

309{
310 if (!PlayerState)
311 return TEXT("");
312
313 // PlayerState의 Owner(PlayerController)를 통해 UserInfo 이름 가져오기
314 if (APlayerController* PC = Cast<APlayerController>(PlayerState->GetOwner()))
315 {
316 if (APlayerControl* PlayerControl = Cast<APlayerControl>(PC))
317 {
318 FString UserName = PlayerControl->GetUserName();
319 if (!UserName.IsEmpty())
320 return UserName;
321 }
322 }
323
324 // Fallback: PlayerState의 기본 이름
325 return PlayerState->GetPlayerName();
326}

다음에 의해서 참조됨 : ASpeakStageActor::AdvanceStep(), ASpeakStageActor::EndStage(), AWheatly::OnInteractionTriggered(), ASpeakStageActor::StartStageForPlayer(), AWheatly::SyncSpeakScenarioData().

+ 이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ GetRankColor()

FLinearColor ULingoGameHelper::GetRankColor ( float  InScore)
static

ULingoGameHelper.cpp 파일의 340 번째 라인에서 정의되었습니다.

341{
342 if (InScore >= 90.0f)
343 {
344 // 1. Excellent (90 ~ 100): Green - 성공
345 return FLinearColor::Green;
346 }
347 else if (InScore >= 80.0f)
348 {
349 // 2. Good (80 ~ 89): LightGreen - 양호
350 return FLinearColor(0.56f, 1.0f, 0.56f, 1.0f);
351 }
352 else if (InScore >= 60.0f)
353 {
354 // 3. Average (60 ~ 79): Yellow - 주의
355 return FLinearColor::Yellow;
356 }
357 else if (InScore >= 40.0f)
358 {
359 // 4. Poor (40 ~ 59): Orange - 경고
360 return FLinearColor(1.0f, 0.5f, 0.0f, 1.0f);
361 }
362 else
363 {
364 // 5. Fail (0 ~ 39): Red - 심각한 실패
365 return FLinearColor::Red;
366 }
367}

다음에 의해서 참조됨 : FResponseSpeakingJudes::GetResultStatData().

+ 이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ GetRankColorType()

EColorStyleType ULingoGameHelper::GetRankColorType ( float  InScore)
static

ULingoGameHelper.cpp 파일의 369 번째 라인에서 정의되었습니다.

370{
371 // 안정성 확보를 위해 입력값 범위 클램프 (0.0f ~ 100.0f)
372 InScore = FMath::Clamp(InScore, 0.0f, 100.0f);
373
374 if (InScore >= 90.0f)
375 {
376 // 1. Excellent (90 ~ 100): Green - 성공
378 }
379 else if (InScore >= 80.0f)
380 {
381 // 2. Good (80 ~ 89): LightGreen - 양호
383 }
384 else if (InScore >= 60.0f)
385 {
386 // 3. Average (60 ~ 79): Yellow - 주의
388 }
389 else if (InScore >= 40.0f)
390 {
391 // 4. Poor (40 ~ 59): Orange - 경고
393 }
394 else
395 {
396 // 5. Fail (0 ~ 39): Red - 심각한 실패
398 }
399}

다음을 참조함 : Green, LightGreen, Orange, Red, Yellow.

◆ GetSpeakStageActor()

ASpeakStageActor * ULingoGameHelper::GetSpeakStageActor ( const UObject *  WorldContextObject)
static

ULingoGameHelper.cpp 파일의 284 번째 라인에서 정의되었습니다.

285{
286 if (!WorldContextObject)
287 return nullptr;
288
289 UWorld* World = WorldContextObject->GetWorld();
290 if (!World)
291 return nullptr;
292
293 return Cast<ASpeakStageActor>(UGameplayStatics::GetActorOfClass(World, ASpeakStageActor::StaticClass()));
294}

다음에 의해서 참조됨 : UMainWidget::CanShowSpeakWidget().

+ 이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ GetStageEndMessage()

FString ULingoGameHelper::GetStageEndMessage ( const EQuestType  QuestType)
static

ULingoGameHelper.cpp 파일의 142 번째 라인에서 정의되었습니다.

143{
144 switch (QuestType)
145 {
150
151 default: return "GameEnd";
152 }
153}
static const FString ReadStageEnd
Definition Onepiece.h:117
static const FString WriteStageEnd
Definition Onepiece.h:123
static const FString ListenStageEnd
Definition Onepiece.h:120
static const FString SpeakStageEnd
Definition Onepiece.h:126

다음을 참조함 : Listen, GameMessage::ListenStageEnd, Read, GameMessage::ReadStageEnd, Speak, GameMessage::SpeakStageEnd, Write, GameMessage::WriteStageEnd.

다음에 의해서 참조됨 : ALingoGameState::OnMissionTimerEnd().

+ 이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ GetStageStartMessage()

FString ULingoGameHelper::GetStageStartMessage ( const EQuestType  QuestType)
static

ULingoGameHelper.cpp 파일의 129 번째 라인에서 정의되었습니다.

130{
131 switch (QuestType)
132 {
137
138 default: return "GameStart";
139 }
140}
static const FString ListenStageStart
Definition Onepiece.h:119
static const FString ReadStageStart
Definition Onepiece.h:116
static const FString WriteStageStart
Definition Onepiece.h:122
static const FString SpeakStageStart
Definition Onepiece.h:125

다음을 참조함 : Listen, GameMessage::ListenStageStart, Read, GameMessage::ReadStageStart, Speak, GameMessage::SpeakStageStart, Write, GameMessage::WriteStageStart.

다음에 의해서 참조됨 : AContactTrigger::BeginPlay().

+ 이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ GetStageTypeIndex()

int32 ULingoGameHelper::GetStageTypeIndex ( const EQuestType  QuestType)
static

ULingoGameHelper.cpp 파일의 155 번째 라인에서 정의되었습니다.

156{
157 switch (QuestType)
158 {
159 case EQuestType::Read: return 1;
160 case EQuestType::Listen: return 2;
161 case EQuestType::Write: return 3;
162 case EQuestType::Speak: return 4;
163
164 default:
165 return 1;
166 }
167}

다음을 참조함 : Listen, Read, Speak, Write.

다음에 의해서 참조됨 : UPopup_Questionnaire::OnResponseOcrExtract(), UKLingoNetworkSystem::RequestListenScenario(), UKLingoNetworkSystem::RequestReadScenario(), UPopup_Result::RequestResult(), APlayerControl::RequestSpeakResult(), UKLingoNetworkSystem::RequestSpeakScenario(), UKLingoNetworkSystem::RequestWriteQuestions().

+ 이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ GetTimeRank()

FString ULingoGameHelper::GetTimeRank ( float  InTimeTaken)
static

ULingoGameHelper.cpp 파일의 328 번째 라인에서 정의되었습니다.

329{
330 if (InTimeTaken <= 300)
331 return "C";
332 else if (InTimeTaken <= 240)
333 return "B";
334 else if (InTimeTaken <= 180)
335 return "A";
336 else
337 return "D";
338}

◆ GetUnixTimestampInt64()

int64 ULingoGameHelper::GetUnixTimestampInt64 ( )
static

ULingoGameHelper.cpp 파일의 19 번째 라인에서 정의되었습니다.

20{
21 return FDateTime::UtcNow().ToUnixTimestamp();
22}

다음에 의해서 참조됨 : ALingoGameState::BeginPlay().

+ 이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ GetUserId()

int32 ULingoGameHelper::GetUserId ( const UObject *  WorldContextObject)
static

ULingoGameHelper.cpp 파일의 24 번째 라인에서 정의되었습니다.

25{
26 if ( auto PC = GetPlayerControl(WorldContextObject) )
27 return PC->GetUserId();
28 return 0;
29}
static class APlayerControl * GetPlayerControl(const UObject *WorldContextObject)

다음을 참조함 : GetPlayerControl().

다음에 의해서 참조됨 : UPopup_DailyResult::OnClickConfirm(), UPopup_AskTutorial::OnClickSkip(), UPopup_Interview::OnClickSubmit(), UPopup_InterviewHello::OnClickSubmit(), UPopup_InterviewHello::OnResponseInterviewAnswer(), APlayerControl::OnTutorialCompleted(), UPopup_InterviewHello::ShouldSkipInterviewToday(), APlayerControl::ShouldSkipTutorial(), UDailyKioskWidget::UpdateBestScore().

+ 이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
+ 이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ GetWheatly()

AWheatly * ULingoGameHelper::GetWheatly ( const UObject *  WorldContextObject)
static

ULingoGameHelper.cpp 파일의 296 번째 라인에서 정의되었습니다.

297{
298 if (!WorldContextObject)
299 return nullptr;
300
301 UWorld* World = WorldContextObject->GetWorld();
302 if (!World)
303 return nullptr;
304
305 return Cast<AWheatly>(UGameplayStatics::GetActorOfClass(World, AWheatly::StaticClass()));
306}

◆ HideMouseCursor()

void ULingoGameHelper::HideMouseCursor ( const UObject *  WorldContextObject)
static

마우스 커서를 숨기고 게임 전용 입력 모드로 설정합니다.

매개변수
WorldContextObject[in] World 컨텍스트 객체

ULingoGameHelper.cpp 파일의 238 번째 라인에서 정의되었습니다.

239{
240 if (!WorldContextObject)
241 return;
242
243 UWorld* World = WorldContextObject->GetWorld();
244 if (!World)
245 return;
246
247 APlayerController* PC = World->GetFirstPlayerController();
248 if (!PC)
249 return;
250
251 PC->bShowMouseCursor = false;
252 PC->SetInputMode(FInputModeGameOnly());
253}

다음에 의해서 참조됨 : APlayerActor::BeginPlay(), UPopupManager::HidePopup().

+ 이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ IsLocalPlayerPawn()

bool ULingoGameHelper::IsLocalPlayerPawn ( const UObject *  WorldContextObject)
static

ULingoGameHelper.cpp 파일의 99 번째 라인에서 정의되었습니다.

100{
101 const UWorld* World = WorldContextObject->GetWorld();
102 if (!World)
103 return false;
104
105 const APlayerController* PC = World->GetFirstPlayerController();
106 if (!PC)
107 return false;
108
109 const APawn* Pawn = PC->GetPawn();
110 return Pawn && Pawn->IsLocallyControlled();
111}

◆ IsMultiPlay()

bool ULingoGameHelper::IsMultiPlay ( const UObject *  WorldContextObject)
static

ULingoGameHelper.cpp 파일의 38 번째 라인에서 정의되었습니다.

39{
40 return GetMultiPlayerCount(WorldContextObject) > 1;
41}
static int GetMultiPlayerCount(const UObject *WorldContextObject)

다음을 참조함 : GetMultiPlayerCount().

+ 이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:

◆ ShowMouseCursor()

void ULingoGameHelper::ShowMouseCursor ( const UObject *  WorldContextObject)
static

마우스 커서를 표시하고 게임+UI 입력 모드로 설정합니다.

매개변수
WorldContextObject[in] World 컨텍스트 객체

ULingoGameHelper.cpp 파일의 221 번째 라인에서 정의되었습니다.

222{
223 if (!WorldContextObject)
224 return;
225
226 UWorld* World = WorldContextObject->GetWorld();
227 if (!World)
228 return;
229
230 APlayerController* PC = World->GetFirstPlayerController();
231 if (!PC)
232 return;
233
234 PC->bShowMouseCursor = true;
235 PC->SetInputMode(FInputModeGameAndUI());
236}

다음에 의해서 참조됨 : ULobbyWidget::NativeConstruct(), UStartWidget::NativeConstruct(), UPopupManager::ShowPopup().

+ 이 함수를 호출하는 함수들에 대한 그래프입니다.:

이 클래스에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: