mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
Include cleanup Reworked buildsystem (Linux only) Removed dynamic libs, Linux now again uses static linking (like windows)
29 lines
444 B
C++
29 lines
444 B
C++
/** @file
|
|
*
|
|
* @par History
|
|
*/
|
|
|
|
|
|
#include "mkscrobj.h"
|
|
#include "uoscrobj.h"
|
|
|
|
namespace Pol
|
|
{
|
|
namespace Core
|
|
{
|
|
Bscript::BObjectImp* make_mobileref( Mobile::Character* chr )
|
|
{
|
|
return new Module::ECharacterRefObjImp( chr );
|
|
}
|
|
|
|
Bscript::BObjectImp* make_itemref( Items::Item* item )
|
|
{
|
|
return new Module::EItemRefObjImp( item );
|
|
}
|
|
|
|
Bscript::BObjectImp* make_boatref( Multi::UBoat* boat )
|
|
{
|
|
return new Module::EUBoatRefObjImp( boat );
|
|
}
|
|
}
|
|
}
|