mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 22:37:45 +00:00
19 lines
406 B
C++
19 lines
406 B
C++
![]() |
#include <ScriptObject.h>
|
||
|
#include <Actor/Player.h>
|
||
|
|
||
|
class CmnDefHousingSignboard : public EventScript
|
||
|
{
|
||
|
public:
|
||
|
CmnDefHousingSignboard() : EventScript( 721031 )
|
||
|
{}
|
||
|
|
||
|
void Scene00000( Entity::Player& player )
|
||
|
{
|
||
|
player.playScene( getId(), 0, 0x2000, 0, 1 );
|
||
|
}
|
||
|
|
||
|
void onTalk( uint32_t eventId, Entity::Player& player, uint64_t actorId ) override
|
||
|
{
|
||
|
Scene00000( player );
|
||
|
}
|
||
|
};
|