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

MogLetter npcs struct add

This commit is contained in:
Dantestyle 2018-06-26 00:04:04 +02:00
parent 8a163bd693
commit 5b0b52482d

View file

@ -0,0 +1,22 @@
#include <ScriptObject.h>
#include <Actor/Player.h>
class CmnDefMogLetter : public EventScript
{
public:
CmnDefMogLetter() : EventScript( 720898 )
{}
void onTalk( uint32_t eventId, Entity::Player& player, uint64_t actorId ) override
{
Scene00001( player );
}
void Scene00001( Entity::Player& player )
{
player.playScene( getId(), 1, 0,
[&]( Entity::Player& player, const Event::SceneResult& result )
{
} );
}
};