[Modify] UI들 스테틱 레벨로 빼기

This commit is contained in:
qordlsgur
2026-01-06 11:00:01 +09:00
parent 63e4be5c48
commit a4e7c40dd7
53 changed files with 652 additions and 380 deletions
@@ -18,6 +18,7 @@ HRESULT CNPCStat::Initialize_Prototype(tinyxml2::XMLNode* pChild)
auto pElement = pChild->ToElement();
pElement->QueryIntAttribute("ID", &m_NpcInfo.iID);
m_NpcInfo.pNpc_Name = CMyTools::ToWstring(pElement->Attribute("Name"));
m_NpcInfo.pName = CMyTools::ToWstring(pElement->Attribute("NpcName"));
pElement->QueryIntAttribute("TAG", &m_NpcInfo.iNpcType);
pElement->QueryFloatAttribute("SizeX", &m_NpcInfo.fFontPos);
return S_OK;
+10
View File
@@ -113,6 +113,16 @@ _wstring CUnit::Get_Name()
return _wstring();
}
_wstring CUnit::Get_NpcName()
{
return _wstring();
}
_int CUnit::Get_TextID()
{
return _int();
}
HRESULT CUnit::Ready_Components(void *pArg)
{
if (FAILED(__super::Ready_Components(pArg))) {
+1
View File
@@ -10,6 +10,7 @@ class ENGINE_DLL CNPCStat final : public CComponent
{
_int iID{};
_wstring pNpc_Name;
_wstring pName;
_int iNpcType{};
_float fFontPos{};
}NPCINFO;
+2
View File
@@ -54,6 +54,8 @@ class ENGINE_DLL CUnit abstract : public CContainerObject
virtual _bool Get_Npc() { return m_bNpc; }
virtual _wstring Get_Name();
virtual _wstring Get_NpcName();
virtual _int Get_TextID();
#pragma endregion
protected: