public override void Handle(GameSession session, PacketReader packet) { EmoteMode mode = (EmoteMode)packet.ReadByte(); switch (mode) { case EmoteMode.LearnEmote: HandleLearnEmote(session, packet); break; case EmoteMode.UseEmote: HandleUseEmote(packet); break; default: LogUnknownMode(mode); break; } }
public Emote(EmoteMode emoteMode) { _emoteMode = emoteMode; }