Files
Sun1602/Client/GameClient/Interface/uiNPCPortalMan/uiNPCPortalMan.cpp
T
2022-10-26 12:25:11 +08:00

30 lines
598 B
C++

#include "SunClientPrecompiledHeader.h"
#include "uinpcportalman.h"
#include "interfaceManager.h"
#include "NPCPortalDialog.h"
uiNPCPortalMan::uiNPCPortalMan(InterfaceManager *pUIMan):
uiBaseMan(pUIMan)
{
m_pNPCPortalDialog = NULL;
}
//------------------------------------------------------------------------------
/**
*/
void uiNPCPortalMan::OnInitialize()
{
m_pNPCPortalDialog = new NPCPortalDialog;
if( !g_InterfaceManager.LoadInterface(
m_pNPCPortalDialog,
"Data\\Interface\\52_Warp_Villige.iwz",
StrToWzID("0520"),
FALSE ) )
{
}
}