1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 14:37:44 +00:00
sapphire/src/servers/Scripts/common/CmnDefHousingSignboard.cpp

24 lines
431 B
C++
Raw Normal View History

#include <ScriptObject.h>
#include <Actor/Player.h>
2018-10-28 21:53:21 +01:00
using namespace Core;
class CmnDefHousingSignboard :
public EventScript
{
public:
CmnDefHousingSignboard() :
EventScript( 721031 )
{
}
void Scene00000( Entity::Player& player )
{
2018-11-03 00:47:45 +01:00
player.playScene( getId(), 0, HIDE_HOTBAR, 0, 0 );
}
void onTalk( uint32_t eventId, Entity::Player& player, uint64_t actorId ) override
{
Scene00000( player );
}
};