Untitled
unknown
c_cpp
2 years ago
771 B
119
Indexable
#ifdef CONFIG_OLD_ITEM_MALL
HOOK_ORIGINAL_MEMBER(0x0079B580, &CGInterface::OnItemMallSectionControl);
void CGInterface::OnItemMallSectionControl(bool bCreate) {
CIFItemMall* pItemMall = m_IRM.GetResObj<CIFItemMall>(50, 1);
if(bCreate) {
if(!pItemMall) {
m_IRM.CreateInterfaceSection("ItemMall", this);
pItemMall = m_IRM.GetResObj<CIFItemMall>(50, 1);
pItemMall->MoveToCenter();
pItemMall->ShowGWnd(true);
FUN_0079a7e0(pItemMall);
}
} else {
CGEffSoundBody::get()->PlaySound(L"snd_quest");
pItemMall = m_IRM.GetResObj<CIFItemMall>(50, 1);
pItemMall->ShowGWnd(false);
m_IRM.DeleteCreatedSection("ItemMall");
}
}
#endifEditor is loading...
Leave a Comment