1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-01 16:37:45 +00:00
sapphire/src/scripts/instances/guildhests/AllsWellthatEndsintheWell.cpp
2018-12-13 12:40:42 +01:00

35 lines
No EOL
921 B
C++

#include <ScriptObject.h>
#include <Territory/InstanceContent.h>
using namespace Sapphire;
class AllsWellthatEndsintheWell :
public Sapphire::ScriptAPI::InstanceContentScript
{
public:
AllsWellthatEndsintheWell() :
Sapphire::ScriptAPI::InstanceContentScript( 10007 )
{
}
void onInit( InstanceContentPtr instance ) override
{
instance->registerEObj( "Entrance", 2000182, 5021407, 5, { 623.000000f, 23.872311f, 94.505638f }, 1.000000f,
0.000000f );
// States -> vf_lock_on vf_lock_of
instance->registerEObj( "Exit", 2000139, 0, 4, { 623.000000f, 23.656260f, 61.956181f }, 1.000000f, 0.000000f );
}
void onUpdate( InstanceContentPtr instance, uint32_t currTime ) override
{
}
void onEnterTerritory( InstanceContentPtr instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};