Ejemplo n.º 1
0
 public void Update(SetCharacterRestrictionsMessage msg)
 {
     if (msg == null) throw new ArgumentNullException("msg");
     Restrictions = msg.restrictions;
 }
Ejemplo n.º 2
0
 public static void HandleSetCharacterRestrictionsMessage(Bot bot, SetCharacterRestrictionsMessage message)
 {
     if (bot.Character != null)
         bot.Character.Update(message);
 }