28 PrimaryActorTick.bCanEverTick =
false;
38 UDialogManager::Get(GetWorld())->ShowToast(TEXT(
"토스트 메세지 샘플"));
43 UPopupManager::Get(GetWorld())->ShowMsgBox(TEXT(
"알림"), TEXT(
"OK_CANCEL 설명문"),
51 UPopupManager::Get(GetWorld())->ShowMsgBox(TEXT(
"알림"), TEXT(
"OK 설명문"),
58 if (
auto Popup = UPopupManager::ShowPopupAs<UPopup_InputMsg>(GetWorld(), EPopupType::Login))
60 Popup->InitPopup(EPopupType::Login);
66 if (
auto Popup = UPopupManager::ShowPopupAs<UPopup_ReadQuest>(GetWorld(), EPopupType::ReadQuest))
74 if (
auto Popup = UPopupManager::ShowPopupAs<UPopup_InterviewHello>(GetWorld(), EPopupType::InterviewHello))
83 Q1.
Eng = TEXT(
"What is your current country of residence?");
84 Q1.
Kor = TEXT(
"현재 거주 국가는 어디인가요?");
85 Q1.
EngKey = TEXT(
"country");
94 Q2.
Eng = TEXT(
"How did you find out about this program?");
95 Q2.
Kor = TEXT(
"이 프로그램을 어떻게 알게 되었나요?");
96 Q2.
EngKey = TEXT(
"discovery");
105 Q3.
Eng = TEXT(
"What are your goals for learning Korean?");
106 Q3.
Kor = TEXT(
"한국어 학습의 목표는 무엇인가요?");
107 Q3.
EngKey = TEXT(
"goals");
113 Popup->InitPopup(TestData);
115 PRINTLOG(TEXT(
"[PopupTester] Interview popup opened with %d questions"), TestData.
Questions.Num());
127 TestData.
total_result.
feedback_summary = TEXT(
"Your strengths lie in Reading and Listening, but there is a need for significant improvement in Speaking. How can you enhance your speaking skills to better articulate your thoughts?");
134 ReadingResult.
grade = TEXT(
"A");
136 ReadingResult.
feedback_summary.
message = TEXT(
"Your reading comprehension is outstanding, demonstrating a strong grasp of the material.");
137 ReadingResult.
action_item = TEXT(
"Continue practicing by reading a variety of texts to maintain your high level of comprehension.");
144 ListeningResult.
grade = TEXT(
"C");
146 ListeningResult.
feedback_summary.
message = TEXT(
"You have a good ability to understand spoken English, but there is room for improvement in capturing finer details.");
147 ListeningResult.
action_item = TEXT(
"Listen to English podcasts or watch English shows to improve your listening skills.");
154 WritingResult.
grade = TEXT(
"D");
156 WritingResult.
feedback_summary.
message = TEXT(
"Your writing lacks clarity and coherence, which affects the overall quality of your work.");
157 WritingResult.
action_item = TEXT(
"Practice writing short essays on various topics to improve structure and clarity.");
164 SpeakingResult.
grade = TEXT(
"D");
166 SpeakingResult.
feedback_summary.
message = TEXT(
"Your responses often lack relevance to the topic, affecting the flow and context of your speech.");
167 SpeakingResult.
action_item = TEXT(
"Engage in speaking exercises, such as role-playing or conversation practice, to stay on topic and improve relevance.");
171 if (
auto Popup = UPopupManager::ShowPopupAs<UPopup_Evaluation>( GetWorld(), EPopupType::Evaluation))
172 Popup->InitPopup(TestData);
177 if (
auto Popup = UPopupManager::ShowPopupAs<UPopup_LevelSelect>(GetWorld(), EPopupType::LevelSelect))
180 PRINTLOG(TEXT(
"[PopupTester] Level Select popup opened"));
186 if (
auto Popup = UPopupManager::ShowPopupAs<UPopup_History>(GetWorld(), EPopupType::History))
189 PRINTLOG(TEXT(
"[PopupTester] Chat History popup opened"));
YiSan 전반에서 사용하는 공용 인터페이스를 선언합니다.
#define PRINTLOG(fmt,...)
#define PRINT_STRING(fmt,...)
네트워크 요청과 응답에 사용되는 구조체 및 설정을 정의합니다.
UCommonFunctionLibrary 클래스를 선언합니다.
UDialogManager 클래스를 선언합니다.
static FString GererateMD5(const FString &InText)
static class ALingoGameState * GetLingoGameState(const UObject *WorldContextObject)
FTotalResult total_result
TArray< FScenarioResult > scenario_results
TArray< FInterviewQuestionData > Questions
FFeedbackSummary feedback_summary
EScenarioType scenario_type