コード例 #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);
 }