public static void OnTradePutGold(WorldClient client, INetPacketStream packet) { var tradePacket = new TradePutGoldPacket(packet); var tradeEvent = new TradePutGoldEventArgs(tradePacket.Gold); client.Player.NotifySystem <TradeSystem>(tradeEvent); }
public void OnTradePutGold(IWorldClient client, TradePutGoldPacket packet) { _tradeSystem.PutGold(client.Player, packet.Gold); }