Paradies Project
Loading...
Searching...
No Matches
ALobbyPlayerController Class Reference

로비 전용 플레이어 컨트롤러 More...

#include <LobbyPlayerController.h>

Inheritance diagram for ALobbyPlayerController:
Inheritance graph
Collaboration diagram for ALobbyPlayerController:
Collaboration graph

Public Member Functions

void CheatAddCharacter (FName CharacterID)
void CheatAddFamiliar (FName FamiliarID)
void CheatAddItem (FName ItemID, int32 Count=1)
void CheatAddExp (FName CharacterID, int32 ExpAmount)
void CheatSetPlayerSlot (int32 SlotIndex, FName CharacterID)
void CheatSetFamiliarSlot (int32 SlotIndex, FName FamiliarID)
void CheatEquipItem (FName CharacterID, FName ItemID)
void CheatAddGold (int32 Amount)
void CheatAddAether (int32 Amount)
void CheatSellItem (FName ItemID, int32 QuantityToSell=1)
void CheatAwakenCharacter (FName CharacterID)
void CheatEnhanceEquipment (FName ItemID)
void CheatAddAwakeningPiece (FName CharacterID, int32 Count)
void CheatGrantAll ()
void MoveCameraToMenu (EParadiseLobbyMenu TargetMenu)
 카메라 이동을 요청합니다.
void SetLobbyMenu (EParadiseLobbyMenu InNewMenu)
 메뉴 변경을 요청합니다. (UI 버튼 등에서 호출)
void SetLobbyHUD (UParadiseLobbyHUDWidget *InHUD)
 HUD 캐싱용 (필요시 구현).
void RequestBackToPreviousMenu ()
 컨텍스트를 유지한 채 직전 메뉴로 돌아갑니다.
void StartGachaActionSequence (int32 DrawCount)
 1회 또는 10회 소환 버튼을 눌렀을 때, 본격적인 가챠 연출을 시작합니다.
void ReturnFromGachaToSummon ()
 결과창의 '계속' 버튼이 눌렸을 때 호출됩니다.
void OnShowGachaResultScreen (const TArray< FGachaResult > &FinalResults)
 가챠 박스 연출이 끝나고 결과창을 띄워달라는 델리게이트를 받을 콜백 함수
void EnterChapterMap (int32 ChapterID, UTexture2D *MapTexture)
 챕터 슬롯 클릭 시 호출. 카메라를 이동하고 지도를 교체합니다.
int32 GetCurrentSelectedChapter () const
 현재 선택된 챕터 반환 (StageSelect 위젯이 켜질 때 참고함)
void StopCameraSwoosh ()
 현재 재생 중인 카메라 무빙 사운드가 있다면 즉시 종료합니다.

Protected Member Functions

virtual void BeginPlay () override
virtual void SetupInputComponent () override

Protected Attributes

TObjectPtr< UInputMappingContext > DefaultMappingContext = nullptr
TObjectPtr< UInputAction > IA_OpenSettings = nullptr
 설정 창 열기 액션 (ESC)
TObjectPtr< ACameraActor > Camera_Main
 메인 로비 카메라 액터 (레벨에 배치된 태그로 찾음: "Cam_Main")
TObjectPtr< ACameraActor > Camera_Battle
 전투(스테이지) 작전 지도 카메라 액터 (태그: "Cam_Battle")
TObjectPtr< ACameraActor > Camera_Summon
 소환(가챠) 카메라 액터 (태그: "Cam_Summon")
TObjectPtr< ACameraActor > Camera_GachaAction = nullptr
 실제 상자가 떨어지고 뚜껑이 열리는 연출 전용 시네 카메라 (태그: "Cam_GachaAction")
float CameraBlendTime = 1.5f
 카메라 이동 시간 (초)
TEnumAsByte< EViewTargetBlendFunction > CameraBlendFunc = VTBlend_Cubic
 카메라 이동 곡선 (Ease In/Out)
TSubclassOf< UParadiseLobbyHUDWidgetLobbyHUDClass
 로비 화면에 띄울 HUD 위젯 클래스.
TSubclassOf< UParadiseGachaResultWidgetGachaResultWidgetClass
 10연차 연출이 끝난 후 띄워줄 결과창 UI 클래스
TSubclassOf< class UParadiseStageSelectWidgetStageSelectWidgetClass = nullptr
 카메라 이동이 끝난 후 화면에 띄울 스테이지(노드) 선택 위젯 클래스

Detailed Description

로비 전용 플레이어 컨트롤러

Member Function Documentation

◆ EnterChapterMap()

void ALobbyPlayerController::EnterChapterMap ( int32 ChapterID,
UTexture2D * MapTexture )

챕터 슬롯 클릭 시 호출. 카메라를 이동하고 지도를 교체합니다.

Parameters
ChapterID선택한 챕터 번호
MapTexture교체할 지도 이미지
Here is the call graph for this function:

◆ MoveCameraToMenu()

void ALobbyPlayerController::MoveCameraToMenu ( EParadiseLobbyMenu TargetMenu)

카메라 이동을 요청합니다.

Parameters
TargetMenu이동할 메뉴 위치 (Battle, None 등)
Here is the caller graph for this function:

◆ ReturnFromGachaToSummon()

void ALobbyPlayerController::ReturnFromGachaToSummon ( )

결과창의 '계속' 버튼이 눌렸을 때 호출됩니다.

박스·구슬 정리 → CurrentMenu 초기화 → SummonPopup 복귀

Here is the call graph for this function:

◆ SetLobbyMenu()

void ALobbyPlayerController::SetLobbyMenu ( EParadiseLobbyMenu InNewMenu)

메뉴 변경을 요청합니다. (UI 버튼 등에서 호출)

Parameters
InNewMenu변경할 목표 메뉴.
Here is the caller graph for this function:

◆ StartGachaActionSequence()

void ALobbyPlayerController::StartGachaActionSequence ( int32 DrawCount)

1회 또는 10회 소환 버튼을 눌렀을 때, 본격적인 가챠 연출을 시작합니다.

Parameters
DrawCount뽑기 횟수 (1 또는 10)
Here is the call graph for this function:

Member Data Documentation

◆ LobbyHUDClass

TSubclassOf<UParadiseLobbyHUDWidget> ALobbyPlayerController::LobbyHUDClass
protected

로비 화면에 띄울 HUD 위젯 클래스.

BP_LobbyPlayerController에서 WBP_LobbyHUD를 넣어주세요.

◆ StageSelectWidgetClass

TSubclassOf<class UParadiseStageSelectWidget> ALobbyPlayerController::StageSelectWidgetClass = nullptr
protected

카메라 이동이 끝난 후 화면에 띄울 스테이지(노드) 선택 위젯 클래스

BP_LobbyPlayerController에서 WBP_StageSelect를 할당합니다.


The documentation for this class was generated from the following files:
  • Source/Paradise/Public/Framework/Lobby/LobbyPlayerController.h
  • Source/Paradise/Private/Framework/Lobby/LobbyPlayerController.cpp