示例#1
0
    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;
        }
    }
示例#2
0
 public Emote(EmoteMode emoteMode)
 {
     _emoteMode = emoteMode;
 }