[Modify] UI들 스테틱 레벨로 빼기
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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))) {
|
||||
|
||||
@@ -10,6 +10,7 @@ class ENGINE_DLL CNPCStat final : public CComponent
|
||||
{
|
||||
_int iID{};
|
||||
_wstring pNpc_Name;
|
||||
_wstring pName;
|
||||
_int iNpcType{};
|
||||
_float fFontPos{};
|
||||
}NPCINFO;
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user