Modernization Fixes & Updates to Default Values (#3)
This commit is contained in:
parent
445eddff68
commit
dcf64091b1
768 changed files with 10507 additions and 14196 deletions
|
|
@ -1,4 +1,4 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Gumps
|
||||
|
|
@ -50,13 +50,12 @@ namespace Server.Gumps
|
|||
|
||||
public class BaseImageTileButtonsGump : Gump
|
||||
{
|
||||
public BaseImageTileButtonsGump(TextDefinition header, ArrayList buttons) : this(header,
|
||||
(ImageTileButtonInfo[])buttons.ToArray(typeof(ImageTileButtonInfo)))
|
||||
public BaseImageTileButtonsGump(TextDefinition header, List<ImageTileButtonInfo> buttons) :
|
||||
this(header, buttons.ToArray())
|
||||
{
|
||||
}
|
||||
|
||||
public BaseImageTileButtonsGump(TextDefinition header, ImageTileButtonInfo[] buttons) :
|
||||
base(10, 10) //Coords are 0, o on OSI, intentional difference
|
||||
public BaseImageTileButtonsGump(TextDefinition header, ImageTileButtonInfo[] buttons) : base(10, 10) //Coords are 0, o on OSI, intentional difference
|
||||
{
|
||||
Buttons = buttons;
|
||||
AddPage(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue