2021-01-25 18:29:10 +09:00
|
|
|
#include <ScriptObject.h>
|
|
|
|
#include <Actor/Player.h>
|
|
|
|
|
|
|
|
#include <Network/GamePacket.h>
|
|
|
|
#include <Network/PacketDef/Zone/ServerZoneDef.h>
|
|
|
|
|
|
|
|
using namespace Sapphire;
|
|
|
|
using namespace Sapphire::Network::Packets;
|
|
|
|
using namespace Sapphire::Network::Packets::Server;
|
|
|
|
|
|
|
|
class WarpTaxi131142 : public Sapphire::ScriptAPI::EventScript
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
WarpTaxi131142() :
|
|
|
|
Sapphire::ScriptAPI::EventScript( 131142 )
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void onTalk( uint32_t eventId, Entity::Player& player, uint64_t actorId ) override
|
|
|
|
{
|
|
|
|
player.eventFinish( getId(), 1 );
|
2021-08-15 20:39:37 +09:00
|
|
|
player.setPosAndNotifyClient( 0, -2, -31, 3.1415 );
|
2021-01-25 18:29:10 +09:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
EXPOSE_SCRIPT( WarpTaxi131142 );
|