Merge branch 'UI' into Develope

This commit is contained in:
qordlsgur
2026-01-15 03:11:05 +09:00
committed by GitHub
23 changed files with 290 additions and 157 deletions
+5 -1
View File
@@ -119,6 +119,7 @@ HRESULT CPlayer::Initialize(void* pArg)
m_pInfoInstance->Add_Event(TEXT("UseSpell"), [this](void* p) {this->Get_Spell(*reinterpret_cast<_int*>(p)); });
m_pInfoInstance->Add_Event(TEXT("Player_CanvasChange"), [this](void* p) {this->Get_UIState(*reinterpret_cast<_int*>(p)); });
m_pInfoInstance->Add_Event(TEXT("NpcInteraction"), [this](void* p) {this->Set_Interaction(*reinterpret_cast<_bool*>(p)); });
m_pInfoInstance->Add_Event(TEXT("SpellLearningSuccess"), [this](void* p) {this->Set_Spell_Learning_Success(); });
m_bAI = false;
@@ -171,8 +172,11 @@ void CPlayer::Update(_float fTimeDelta)
{
if (m_bNpcInteraction == true)
{
NPCINTERACT Interact{};
m_bCurrentInteraction = true;
m_pInfoInstance->Event_CallBack(TEXT("NpcInteract"), &m_bNpcInteraction);
Interact.bInteract = true;
Interact.fAlpha = 0.f;
m_pInfoInstance->Event_CallBack(TEXT("NpcInteract"), &Interact);
}
}
if (m_bGuarding) {