[Add] 다이얼로그 만듬
This commit is contained in:
@@ -16,9 +16,10 @@ CNPCStat::CNPCStat(const CNPCStat& rhs)
|
||||
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"));
|
||||
pElement->QueryIntAttribute("OBJECTID", &m_NpcInfo.iNpcType);
|
||||
pElement->QueryFloatAttribute("HP", &m_NpcInfo.fFontPos);
|
||||
pElement->QueryIntAttribute("TAG", &m_NpcInfo.iNpcType);
|
||||
pElement->QueryFloatAttribute("SizeX", &m_NpcInfo.fFontPos);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user