1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-01 08:27:46 +00:00
sapphire/src/scripts/instances/guildhests/AllsWellthatEndsintheWell.cpp

35 lines
950 B
C++
Raw Normal View History

2018-03-07 08:14:42 +01:00
#include <ScriptObject.h>
#include <Territory/InstanceContent.h>
2018-03-07 08:14:42 +01:00
using namespace Sapphire;
2018-10-28 21:53:21 +01:00
class AllsWellthatEndsintheWell :
public Sapphire::ScriptAPI::InstanceContentScript
2018-03-07 08:14:42 +01:00
{
public:
AllsWellthatEndsintheWell() :
Sapphire::ScriptAPI::InstanceContentScript( 10007 )
{ }
2018-03-07 08:14:42 +01:00
void onInit( InstanceContent& instance ) override
{
instance.registerEObj( "Entrance", 2000182, 5021407, 5, { 623.000000f, 23.872311f, 94.505638f }, 1.000000f, 0.000000f );
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
instance.registerEObj( "Exit", 2000139, 0, 4, { 623.000000f, 23.656260f, 61.956181f }, 1.000000f, 0.000000f );
2018-03-07 08:14:42 +01:00
}
2018-03-07 08:14:42 +01:00
void onUpdate( InstanceContent& instance, uint64_t tickCount ) override
{
2018-03-07 08:14:42 +01:00
}
2018-03-07 08:14:42 +01:00
void onEnterTerritory( InstanceContent& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
2018-03-07 08:14:42 +01:00
}
2018-03-07 08:14:42 +01:00
};
EXPOSE_SCRIPT( AllsWellthatEndsintheWell );