Ejemplo n.º 1
0
 public void Update(InventoryWeightMessage msg)
 {
     if (msg == null) throw new ArgumentNullException("msg");
     Weight = msg.weight;
     WeightMax = msg.weightMax;
 }
Ejemplo n.º 2
0
 public static void HandleInventoryWeightMessage(Bot bot, InventoryWeightMessage message)
 {
     bot.Character.Inventory.Update(message);
 }