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