1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-28 15:17:46 +00:00

Renamed the new sendEventNotice to sendNotice

This commit is contained in:
Mordred 2023-02-06 07:01:32 +01:00
parent 0df9fca281
commit a36f53e5de
2 changed files with 2 additions and 2 deletions

View file

@ -849,7 +849,7 @@ void EventMgr::sendEventNotice( Entity::Player& player, uint32_t questId, int8_t
server.queueForPlayer( player.getCharacterId(), noticePacket ); server.queueForPlayer( player.getCharacterId(), noticePacket );
} }
void EventMgr::sendEventNotice( Entity::Player& player, uint32_t questId, int8_t noticeId, std::vector< uint32_t > args ) void EventMgr::sendNotice( Entity::Player& player, uint32_t questId, int8_t noticeId, std::vector< uint32_t > args )
{ {
FFXIVPacketBasePtr pPacket = nullptr; FFXIVPacketBasePtr pPacket = nullptr;
size_t paramCount = args.size(); size_t paramCount = args.size();

View file

@ -73,7 +73,7 @@ namespace Sapphire::World::Manager
bool sendEventPlay( Entity::Player& player, uint32_t eventid, uint32_t scene, uint32_t flags ); bool sendEventPlay( Entity::Player& player, uint32_t eventid, uint32_t scene, uint32_t flags );
void sendEventNotice( Entity::Player& player, uint32_t eventId, int8_t noticeId, uint8_t numOfArgs = 0, uint32_t var1 = 0, uint32_t var2 = 0 ); void sendEventNotice( Entity::Player& player, uint32_t eventId, int8_t noticeId, uint8_t numOfArgs = 0, uint32_t var1 = 0, uint32_t var2 = 0 );
void sendEventNotice( Entity::Player& player, uint32_t questId, int8_t noticeId, std::vector< uint32_t > args = {} ); void sendNotice( Entity::Player& player, uint32_t questId, int8_t noticeId, std::vector< uint32_t > args = {} );
/*! setup the event and return a ptr to it */ /*! setup the event and return a ptr to it */
Event::EventHandlerPtr bootstrapSceneEvent( Entity::Player& player, uint32_t eventId, uint32_t flags ); Event::EventHandlerPtr bootstrapSceneEvent( Entity::Player& player, uint32_t eventId, uint32_t flags );