1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-08 11:47:45 +00:00
sapphire/src/servers/Scripts/common/housing/CmnDefHousingPersonalRoomEntrance.cpp

21 lines
483 B
C++
Raw Normal View History

2018-12-02 14:59:24 +11:00
#include <ScriptObject.h>
#include <Actor/Player.h>
using namespace Sapphire;
class CmnDefHousingPersonalRoomEntrance : public Sapphire::ScriptAPI::EventScript
{
public:
CmnDefHousingPersonalRoomEntrance() :
Sapphire::ScriptAPI::EventScript( 0x000b00b2 )
{
}
void onTalk( uint32_t eventId, Entity::Player& player, uint64_t actorId ) override
{
player.playScene( eventId, 0, 0, []( Entity::Player& player, const Event::SceneResult& result )
{
} );
}
};