mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 06:47:45 +00:00
24 lines
No EOL
484 B
C++
24 lines
No EOL
484 B
C++
#include <ScriptObject.h>
|
|
#include <Actor/Player.h>
|
|
|
|
using namespace Sapphire;
|
|
|
|
class CmnDefMarketBoardGridania :
|
|
public Sapphire::ScriptAPI::EventScript
|
|
{
|
|
public:
|
|
CmnDefMarketBoardGridania() :
|
|
Sapphire::ScriptAPI::EventScript( 0xB0027 )
|
|
{
|
|
}
|
|
|
|
void Scene00000( Entity::Player& player )
|
|
{
|
|
player.playScene( getId(), 0, HIDE_HOTBAR, 0, 1 );
|
|
}
|
|
|
|
void onTalk( uint32_t eventId, Entity::Player& player, uint64_t actorId ) override
|
|
{
|
|
Scene00000( player );
|
|
}
|
|
}; |