[merge commit]

This commit is contained in:
kimnuri
2026-01-09 15:14:04 +09:00
62 changed files with 516 additions and 134 deletions
@@ -6,6 +6,7 @@
#include "PlayerInfo.h"
#include "InteractiveInfo.h"
#include "CutSceneInfo.h"
#include "EffectInfo.h"
#include "Skill_Data.h"
#include "Quest_Data.h"
#include "Damage_Font.h"
@@ -28,6 +29,7 @@ void CInfoInstance::Update(_float fTimeDelta)
m_pMapInfo->Update(fTimeDelta);
m_pSkillInfo->Update(fTimeDelta);
m_pInteractiveInfo->Update(fTimeDelta);
m_pEffectInfo->Update(fTimeDelta);
m_pCutSceneInfo->Update(fTimeDelta);
}
@@ -38,7 +40,8 @@ void CInfoInstance::Change_Level()
m_pMapInfo->Change_Level();
m_pSkillInfo->Change_Level();
m_pInteractiveInfo->Change_Level();
UI_Event.clear();
m_pEffectInfo->Change_Level();
// UI_Event.clear();
m_pCutSceneInfo->Change_Level();
}
@@ -115,6 +118,7 @@ void CInfoInstance::Get_LockOnInfo(LOCKON_INFO& Info)
}
Info.pUnit = m_pMonsterInfo->Get_LockOnUnit();
Info.pInteractive = m_pInteractiveInfo->Get_LockOnUnit();
Info.pEffect = m_pEffectInfo->Get_LockOnEffect();
}
void CInfoInstance::Set_SearchLockOnFlag(_bool bLockOn)
@@ -173,6 +177,23 @@ HRESULT CInfoInstance::Load_DADA_INT()
}
#pragma endregion
#pragma region EFFECT_INFO
HRESULT CInfoInstance::Regist_ActiveEffect(CEffect_Container* pEffect)
{
return m_pEffectInfo->Regist_ActiveEffect(pEffect);
}
HRESULT CInfoInstance::Deregist_ActiveEffect(CEffect_Container* pEffect)
{
if (nullptr == s_pInstance || nullptr == m_pEffectInfo) {
return S_OK; // 게임 종료 된 상태
}
return m_pEffectInfo->Deregist_ActiveEffect(pEffect);
}
#pragma endregion
#pragma region SPELL_INFO
HRESULT CInfoInstance::Load_SpellInfo(const _char* pFilePath)
{
@@ -467,6 +488,10 @@ HRESULT CInfoInstance::Initialize_Information(ID3D11Device* pDevice, ID3D11Devic
if (nullptr == m_pInteractiveInfo) {
return E_FAIL;
}
m_pEffectInfo = CEffectInfo::Create(pDevice, pContext);
if (nullptr == m_pEffectInfo) {
return E_FAIL;
}
m_pSpellLearn_Data = CSpellLearn_Data::Create(pDevice, pContext);
if (nullptr == m_pSpellLearn_Data) {
return E_FAIL;
@@ -568,6 +593,7 @@ void CInfoInstance::Release_Information()
SAFE_RELEASE(m_pQuestInfo);
SAFE_RELEASE(m_pCutSceneInfo);
SAFE_RELEASE(m_pInteractiveInfo);
SAFE_RELEASE(m_pEffectInfo);
SAFE_RELEASE(m_pDevice);
SAFE_RELEASE(m_pContext);
SAFE_RELEASE(m_pGameInstance);