[Modify] UI Player에 뭐 추가했는지 표시

This commit is contained in:
qordlsgur
2025-12-05 05:25:06 +09:00
parent 04deb45dd8
commit fef046d7dc
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ HRESULT CPlayer::Initialize(void* pArg)
m_Batch = make_unique<PrimitiveBatch<VertexPositionColor>>(m_pContext);
#endif // _DEBUG
// 추가
// UI 연동 추가
m_pInfoInstance->Add_Event(TEXT("JAP"), [this](void* p) {this->Get_Spell(*reinterpret_cast<_int*>(p)); });
return S_OK;
@@ -30,7 +30,7 @@
#pragma region States
// 추가
// UI 연동 추가
void CPlayer::Get_Spell(_int SkillIndex)
{
if (SkillIndex == ENUM_CLASS(SKILL_TYPE::DIFFINDO))
@@ -742,7 +742,7 @@ void CPlayer::Behavior_CombatEnter()
pair<_uint, _bool> pairAnimInfo = {};
m_pFSM->Enable_State(FSMSTATE::COMBAT);
// 추가
// UI 연동 추가
if (Index == ENUM_CLASS(SKILL_TYPE::DIFFINDO))
{
Add_Event(pairAnimInfo.first, [this]() { m_pEffectPool->Use_Skill(SKILL_TYPE::DIFFINDO, Get_PartObject<CWand>()); }, 0.1f);
+1 -1
View File
@@ -82,7 +82,7 @@ class CPlayer final : public CUnit
private:
// 추가
// UI 연동 추가
void Get_Spell(_int SkillIndex);
_int Index{-1};