Пример #1
0
 public static void HandleIdentificationFailedMessage(Bot bot, IdentificationFailedMessage message)
 {
     bot.ClientInformations.Update(message);
 }
Пример #2
0
        public void Update(IdentificationFailedMessage msg)
        {
            if (msg == null) throw new ArgumentNullException("msg");
            IdentificationFailureReason = (IdentificationFailureReasonEnum)msg.reason;

            if (IdentificationFailureReason == IdentificationFailureReasonEnum.BANNED)
                Banned = true;
        }
Пример #3
0
 public static void HandleIdentificationFailedMessage(Bot bot, IdentificationFailedMessage message)
 {
   bot.ClientInformations.Update(message);
   bot.OnCharacterIdentified(false);
 }