osb/source/game/StarEmoteProcessor.hpp
2023-06-20 14:33:09 +10:00

28 lines
419 B
C++

#ifndef STAR_EMOTE_PROCESSOR_HPP
#define STAR_EMOTE_PROCESSOR_HPP
#include "StarHumanoid.hpp"
namespace Star {
STAR_CLASS(EmoteProcessor);
class EmoteProcessor {
public:
EmoteProcessor();
HumanoidEmote detectEmotes(String const& chatter) const;
private:
struct EmoteBinding {
EmoteBinding() : emote() {}
String text;
HumanoidEmote emote;
};
List<EmoteBinding> m_emoteBindings;
};
}
#endif