MCPcopy Create free account
hub / github.com/SapphireServer/Sapphire / onEmote

Method onEmote

src/world/Script/ScriptMgr.cpp:224–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224bool Sapphire::Scripting::ScriptMgr::onEmote( Entity::Player& player, uint64_t actorId,
225 uint32_t eventId, uint8_t emoteId )
226{
227 auto script = m_nativeScriptMgr->getScript< Sapphire::ScriptAPI::EventScript >( eventId );
228 if( !script )
229 return false;
230 script->onEmote( actorId, eventId, emoteId, player );
231 return true;
232}
233
234bool Sapphire::Scripting::ScriptMgr::onEventHandlerReturn( Entity::Player& player, uint32_t eventId,
235 uint16_t subEvent, uint16_t param1, uint16_t param2,

Callers 1

eventHandlerEmoteMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected