public override void Process(CmdTrigger <RealmServerCmdArgs> trigger) { BuyBankBagResponse response = trigger.Text.NextEnum <BuyBankBagResponse>(BuyBankBagResponse.Ok); WCell.RealmServer.Handlers.NPCHandler.SendBankSlotResult(trigger.Args.Character, response); trigger.Reply("Done."); }
public static void SendBankSlotResult(Character chr, BuyBankBagResponse response) { using (var packet = new RealmPacketOut(RealmServerOpCode.SMSG_BUY_BANK_SLOT_RESULT, 4)) { packet.Write((uint)response); chr.Send(packet); } }
public static void SendBankSlotResult(Character chr, BuyBankBagResponse response) { using (var packet = new RealmPacketOut(RealmServerOpCode.SMSG_BUY_BANK_SLOT_RESULT, 4)) { packet.Write((uint)response); chr.Send(packet); } }