2018-06-26 00:04:04 +02:00
|
|
|
#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
|
|
|
|
{
|
2018-07-27 15:56:22 +02:00
|
|
|
Scene00000( player );
|
2018-06-26 00:04:04 +02:00
|
|
|
}
|
|
|
|
|
2018-07-27 15:56:22 +02:00
|
|
|
void Scene00000( Entity::Player& player )
|
2018-06-26 00:04:04 +02:00
|
|
|
{
|
2018-07-27 15:56:22 +02:00
|
|
|
player.playScene( getId(), 0, 0,
|
2018-06-26 00:04:04 +02:00
|
|
|
[&]( Entity::Player& player, const Event::SceneResult& result )
|
|
|
|
{
|
|
|
|
} );
|
|
|
|
}
|
|
|
|
};
|