1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-29 07:37:45 +00:00
sapphire/src/servers/Scripts/common/CmnDefWeatherForeCast.cpp

25 lines
537 B
C++
Raw Normal View History

2018-07-08 04:18:11 +02:00
#include <ScriptObject.h>
#include <Actor/Player.h>
class CmnDefWeatherForeCast :
public EventScript
2018-07-08 04:18:11 +02:00
{
public:
CmnDefWeatherForeCast() :
EventScript( 721100 )
{
}
2018-07-08 04:18:11 +02:00
void Scene00000( Entity::Player& player )
{
player.playScene( getId(), 0, HIDE_HOTBAR,
[ & ]( Entity::Player& player, const Event::SceneResult& result )
{
} );
}
2018-07-08 04:18:11 +02:00
void onTalk( uint32_t eventId, Entity::Player& player, uint64_t actorId ) override
{
Scene00000( player );
}
2018-07-08 04:18:11 +02:00
};