2018-06-26 00:04:04 +02:00
|
|
|
#include <ScriptObject.h>
|
|
|
|
#include <Actor/Player.h>
|
|
|
|
|
2018-08-29 21:40:59 +02:00
|
|
|
class CmnDefMogLetter :
|
|
|
|
public EventScript
|
2018-06-26 00:04:04 +02:00
|
|
|
{
|
|
|
|
public:
|
2018-08-29 21:40:59 +02:00
|
|
|
CmnDefMogLetter() :
|
|
|
|
EventScript( 720898 )
|
|
|
|
{
|
|
|
|
}
|
2018-06-26 00:04:04 +02:00
|
|
|
|
2018-08-29 21:40:59 +02:00
|
|
|
void onTalk( uint32_t eventId, Entity::Player& player, uint64_t actorId ) override
|
|
|
|
{
|
|
|
|
Scene00000( player );
|
|
|
|
}
|
2018-06-26 00:04:04 +02:00
|
|
|
|
2018-08-29 21:40:59 +02:00
|
|
|
void Scene00000( Entity::Player& player )
|
|
|
|
{
|
|
|
|
player.playScene( getId(), 0, 0,
|
|
|
|
[ & ]( Entity::Player& player, const Event::SceneResult& result )
|
|
|
|
{
|
|
|
|
} );
|
|
|
|
}
|
2018-06-26 00:04:04 +02:00
|
|
|
};
|