mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-25 19:17:45 +00:00
26 lines
No EOL
626 B
C++
26 lines
No EOL
626 B
C++
#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 WarpTaxi131315 : public Sapphire::ScriptAPI::EventScript
|
|
{
|
|
public:
|
|
WarpTaxi131315() :
|
|
Sapphire::ScriptAPI::EventScript( 131315 )
|
|
{
|
|
}
|
|
|
|
void onTalk( uint32_t eventId, Entity::Player& player, uint64_t actorId ) override
|
|
{
|
|
player.eventFinish( getId(), 1 );
|
|
player.enterPredefinedPrivateInstance( 844 );
|
|
}
|
|
};
|
|
|
|
EXPOSE_SCRIPT( WarpTaxi131315 ); |