public static void HandleSetCharacterRestrictionsMessage(Bot bot, SetCharacterRestrictionsMessage message)
 {
     if (bot.Character != null)
     {
         bot.Character.Update(message);
     }
 }
예제 #2
0
 public void Update(SetCharacterRestrictionsMessage msg)
 {
     if (msg == null)
     {
         throw new ArgumentNullException("msg");
     }
     Restrictions = msg.restrictions;
 }
예제 #3
0
 private void SetCharacterRestrictionsMessageHandler(DofusClient client, SetCharacterRestrictionsMessage message)
 {
     client.Account.Character.Restrictions = message.Restrictions;
 }
예제 #4
0
 private void HandleSetCharacterRestrictionsMessage(IAccount account, SetCharacterRestrictionsMessage message)
 {
     account.Character.Restrictions = message.Restrictions;
 }