1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 14:37:44 +00:00

CmnDefWeatherForeCast script added

This commit is contained in:
Dantestyle 2018-07-08 04:18:11 +02:00
parent ece61d3d6d
commit 3113ec4a38

View file

@ -0,0 +1,22 @@
#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 );
}
};