Merge pull request #381 from SpicyGangjeong/UI

[Modify] 몬스터 구조체 추가
This commit is contained in:
qordlsgur
2025-12-09 16:57:41 +09:00
committed by GitHub
2 changed files with 7 additions and 2 deletions
@@ -37,6 +37,11 @@ namespace Client
_float fVidio{}; _float fVidio{};
}SPELL_INFO; }SPELL_INFO;
typedef struct tagLockOnInfo {
CUnit* pUnit = { nullptr };
class CMapElement_Interactable* pInteractive = { nullptr };
}LOCKON_INFO;
typedef struct tagUnitInfo typedef struct tagUnitInfo
{ {
_wstring pUnit_Name; _wstring pUnit_Name;
@@ -39,7 +39,7 @@ HRESULT CSpell_Data::Initialize(void* pArg)
while (pSpell) while (pSpell)
{ {
int id = 0; int id = 0;
pSpell->QueryIntAttribute("Spell_ID", &id);/* pSpell->QueryIntAttribute("Spell_ID", &id);
if (id < 0 || id > 34) if (id < 0 || id > 34)
{ {
@@ -68,7 +68,7 @@ HRESULT CSpell_Data::Initialize(void* pArg)
pSpell->QueryFloatAttribute("Preview", &pInfo[id].fPreview); pSpell->QueryFloatAttribute("Preview", &pInfo[id].fPreview);
pSpell->QueryFloatAttribute("Vidio", &pInfo[id].fVidio); pSpell->QueryFloatAttribute("Vidio", &pInfo[id].fVidio);
pSpell = pSpell->NextSiblingElement("Spell");*/ pSpell = pSpell->NextSiblingElement("Spell");
} }
//pInfo = SpellInfo; //pInfo = SpellInfo;