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

24 lines
484 B
C++
Raw Normal View History

#include <ScriptObject.h>
#include <Actor/Player.h>
using namespace Sapphire;
2018-10-28 21:53:21 +01:00
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 );
}
};