mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-30 08:07:46 +00:00
35 lines
No EOL
916 B
C++
35 lines
No EOL
916 B
C++
#include <ScriptObject.h>
|
|
#include <Territory/InstanceContent.h>
|
|
|
|
using namespace Sapphire;
|
|
|
|
class TheNavelExtreme :
|
|
public Sapphire::ScriptAPI::InstanceContentScript
|
|
{
|
|
public:
|
|
TheNavelExtreme() :
|
|
Sapphire::ScriptAPI::InstanceContentScript( 20009 )
|
|
{ }
|
|
|
|
void onInit( InstanceContent& instance ) override
|
|
{
|
|
instance.registerEObj( "Entrance", 2000182, 4236868, 5, { 0.000000f, 0.000000f, 24.000000f }, 1.000000f, 0.000000f );
|
|
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
|
|
instance.registerEObj( "Exit", 2000139, 0, 4, { 0.000000f, 0.000000f, -10.000000f }, 1.000000f, 0.000000f );
|
|
|
|
}
|
|
|
|
void onUpdate( InstanceContent& instance, uint32_t currTime ) override
|
|
{
|
|
|
|
}
|
|
|
|
void onEnterTerritory( InstanceContent& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
|
|
uint16_t param2 ) override
|
|
{
|
|
|
|
}
|
|
|
|
};
|
|
|
|
EXPOSE_SCRIPT( TheNavelExtreme ); |