| 1 | #include "EventHandler.h" |
| 2 | |
| 3 | Sapphire::Event::EventHandler::EventHandler( uint64_t actorId, uint32_t eventId, |
| 4 | EventType eventType, uint32_t eventParam ) : |
| 5 | m_actorId( actorId ), |
| 6 | m_eventId( eventId ), |
| 7 | m_eventType( eventType ), |
| 8 | m_playedScene( false ) |
| 9 | { |
| 10 | m_entryId = static_cast< uint16_t >( eventId ); |
| 11 | m_type = static_cast< uint16_t >( eventId >> 16 ); |
| 12 | m_eventParam = eventParam; |
| 13 | m_returnCallback = nullptr; |
| 14 | } |
| 15 | |
| 16 | uint64_t Sapphire::Event::EventHandler::getActorId() const |
| 17 | { |
nothing calls this directly
no outgoing calls
no test coverage detected