1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-29 07:37:45 +00:00
sapphire/src/scripts/instances/trials/CapeWestwind.cpp

37 lines
1 KiB
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 CapeWestwind :
public Sapphire::ScriptAPI::InstanceContentScript
2018-03-07 08:14:42 +01:00
{
public:
CapeWestwind() :
Sapphire::ScriptAPI::InstanceContentScript( 20007 )
{
}
2018-03-07 08:14:42 +01:00
void onInit( InstanceContentPtr instance ) override
{
instance->registerEObj( "Exit", 2000605, 0, 4, { -715.942383f, 69.420113f, -830.370300f }, 1.000000f, 0.000000f );
instance->registerEObj( "unknown_0", 2000606, 3861081, 4, { -670.462280f, 63.293751f, -801.510986f }, 1.000000f,
0.000000f );
instance->registerEObj( "Entrance", 2000604, 4262798, 5, { -677.634888f, 64.116386f, -803.174927f }, 1.000000f,
0.000000f );
// States -> vf_lock_on vf_lock_of
2018-03-07 08:14:42 +01:00
}
2018-03-07 08:14:42 +01:00
void onUpdate( InstanceContentPtr instance, uint32_t currTime ) override
{
2018-03-07 08:14:42 +01:00
}
2018-03-07 08:14:42 +01:00
void onEnterTerritory( InstanceContentPtr 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
};