Merge branch 'Develope' into Effect

This commit is contained in:
GiJungSUk
2025-12-28 11:08:14 +09:00
27 changed files with 245 additions and 110 deletions
+3 -2
View File
@@ -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;
}
+1
View File
@@ -8,6 +8,7 @@ class ENGINE_DLL CNPCStat final : public CComponent
{
typedef struct tagNpcInfo
{
_int iID{};
_wstring pNpc_Name;
_int iNpcType{};
_float fFontPos{};