mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-25 14:07:46 +00:00
22 lines
No EOL
395 B
C++
22 lines
No EOL
395 B
C++
#include <ScriptObject.h>
|
|
#include <Actor/Player.h>
|
|
|
|
class CmnDefNpcRepair :
|
|
public EventScript
|
|
{
|
|
public:
|
|
CmnDefNpcRepair() :
|
|
EventScript( 0xB0013 )
|
|
{
|
|
}
|
|
|
|
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 );
|
|
}
|
|
}; |