public PartyGumpAdvanced() : base(0, 0) { _partyListEntries = new List <PartyListEntry>(); _line = new Texture2D(Engine.Batcher.GraphicsDevice, 1, 1); _line.SetData(new[] { Color.White }); X = 100; Y = 100; CanMove = true; AcceptMouseInput = false; Add(_gameBorder = new GameBorder(0, 0, 320, 400, 4)); Add(_gumpPicTiled = new GumpPicTiled(4, 4, 320 - 8, 400 - 8, 0x0A40) { IsTransparent = true }); Add(_gumpPicTiled); _scrollArea = new ScrollArea(20, 60, 295, 190, true) { AcceptMouseInput = true }; Add(_scrollArea); Add(new Label("Bar", true, 1153) { X = 30, Y = 25 }); Add(new Label("Kick", true, 1153) { X = 60, Y = 25 }); Add(new Label("Player", true, 1153) { X = 100, Y = 25 }); Add(new Label("Status", true, 1153) { X = 250, Y = 25 }); //====================================================== Add(_messagePartyButton = new Button((int)Buttons.Message, 0xFAB, 0xFAC, 0xFAD) { X = 30, Y = 275, ButtonAction = ButtonAction.Activate, IsVisible = false }); Add(_messagePartyLabel = new Label("Message party", true, 1153) { X = 70, Y = 275, IsVisible = false }); //====================================================== Add(_lootMeButton = new Button((int)Buttons.Loot, 0xFA2, 0xFA3, 0xFA4) { X = 30, Y = 300, ButtonAction = ButtonAction.Activate, IsVisible = false }); Add(_lootMeLabel = new Label("Party CANNOT loot me", true, 1153) { X = 70, Y = 300, IsVisible = false }); //====================================================== Add(_leaveButton = new Button((int)Buttons.Leave, 0xFAE, 0xFAF, 0xFB0) { X = 30, Y = 325, ButtonAction = ButtonAction.Activate, IsVisible = false }); Add(_leaveLabel = new Label("Leave party", true, 1153) { X = 70, Y = 325, IsVisible = false }); //====================================================== Add(_createAddButton = new Button((int)Buttons.Add, 0xFA8, 0xFA9, 0xFAA) { X = 30, Y = 350, ButtonAction = ButtonAction.Activate }); Add(_createAddLabel = new Label("Add party member", true, 1153) { X = 70, Y = 350 }); //====================================================== World.Party.PartyMemberChanged += OnPartyMemberChanged; }