public static void OnEmoteListMessage(Bot bot, EmoteListMessage message) { if (bot.Character != null) { bot.Character.Update(message); } }
public void Update(EmoteListMessage msg) { if (msg == null) { throw new ArgumentNullException("msg"); } Emotes = msg.emoteIds.Select(entry => DataProvider.Instance.Get <Emoticon>(entry)).ToList(); }
public void Update(EmoteListMessage msg) { if (msg == null) { throw new ArgumentNullException("msg"); } m_emotes.Clear(); foreach (var emoteId in msg.emoteIds) { m_emotes.Add(ObjectDataManager.Instance.Get <Emoticon>(emoteId)); } }
private void EmoteListMessageHandler(DofusClient client, EmoteListMessage message) { // }