mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-08 11:47:45 +00:00
21 lines
No EOL
483 B
C++
21 lines
No EOL
483 B
C++
#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 )
|
|
{
|
|
|
|
} );
|
|
}
|
|
}; |