DragonNest/Server/DNGameServer/MASingleBody.cpp
2024-12-20 16:56:44 +08:00

20 lines
846 B
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include "StdAfx.h"
#include "MASingleBody.h"
MASingleBody::MASingleBody()
{
}
MASingleBody::~MASingleBody()
{
SAFE_RELEASE_SPTR( m_hObject );
}
void MASingleBody::LoadSkin( const char *szSkinName, const char *szAniName )
{
m_szSkinFileName = szSkinName;
m_szAniFileName = szAniName;
if( m_hObject ) return;
m_hObject = EternityEngine::CreateAniObject( STATICFUNC() szSkinName, szAniName );
}