mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-02 08:57:44 +00:00
more naming and style consistency in ScriptAPI
This commit is contained in:
parent
57d11460d6
commit
b89d7fa71c
2 changed files with 9 additions and 9 deletions
|
@ -102,8 +102,8 @@ namespace Sapphire::ScriptAPI
|
|||
|
||||
///////////////////////////////////////////////////////////////////
|
||||
|
||||
EventScript::EventScript( uint32_t questId ) :
|
||||
ScriptObject( questId, typeid( EventScript ).hash_code() )
|
||||
EventScript::EventScript( uint32_t eventId ) :
|
||||
ScriptObject( eventId, typeid( EventScript ).hash_code() )
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -131,8 +131,8 @@ namespace Sapphire::ScriptAPI
|
|||
{
|
||||
}
|
||||
|
||||
void
|
||||
EventScript::onEventItem( Entity::Player& player, uint32_t eventItemId, uint32_t eventId, uint32_t castTime, uint64_t targetId )
|
||||
void EventScript::onEventItem( Entity::Player& player, uint32_t eventItemId, uint32_t eventId, uint32_t castTime,
|
||||
uint64_t targetId )
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -161,7 +161,7 @@ namespace Sapphire::ScriptAPI
|
|||
}
|
||||
|
||||
public:
|
||||
explicit EventScript( uint32_t questId );
|
||||
explicit EventScript( uint32_t eventId );
|
||||
|
||||
virtual void onTalk( uint32_t eventId, Sapphire::Entity::Player& player, uint64_t actorId );
|
||||
|
||||
|
@ -175,8 +175,8 @@ namespace Sapphire::ScriptAPI
|
|||
|
||||
virtual void onOutsideRange( Sapphire::Entity::Player& player, uint32_t eventId, uint32_t param1, float x, float y, float z );
|
||||
|
||||
virtual void
|
||||
onEventItem( Sapphire::Entity::Player& player, uint32_t eventItemId, uint32_t eventId, uint32_t castTime, uint64_t targetId );
|
||||
virtual void onEventItem( Sapphire::Entity::Player& player, uint32_t eventItemId, uint32_t eventId, uint32_t castTime,
|
||||
uint64_t targetId );
|
||||
|
||||
virtual void onEventHandlerTradeReturn( Sapphire::Entity::Player& player, uint32_t eventId, uint16_t subEvent, uint16_t param,
|
||||
uint32_t catalogId );
|
||||
|
|
Loading…
Add table
Reference in a new issue