Merge branch 'UI' into Develope
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user