#include <Emote.hpp>
|
EmoteMap::const_iterator | findEmote (const QString &emoteNameHint, const QString &emoteID) const |
|
◆ findEmote()
EmoteMap::const_iterator chatterino::EmoteMap::findEmote |
( |
const QString & |
emoteNameHint, |
|
|
const QString & |
emoteID |
|
) |
| const |
Finds an emote by it's id with a hint to it's name.
- Searches by name for the emote, checking if the ids match (fast-path).
- Searches through the map for an emote with the
emoteID
(slow-path).
- Parameters
-
emoteNameHint | A hint to the name of the searched emote, may be empty. |
emoteID | The emote id to search for. |
- Returns
- An iterator to the found emote (possibly this->end()).
The documentation for this class was generated from the following files:
- /var/chatterino-doxygen/chatterino2/src/messages/Emote.hpp
- /var/chatterino-doxygen/chatterino2/src/messages/Emote.cpp