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
2018-07-08 04:18:11 +02:00

22 lines
No EOL
493 B
C++

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