public GumpNotResizable( string[] commands, BaseGump parent ) : base( commands, parent ) { }
public GumpItemColor( string[] commands, BaseGump parent ) : base( commands, parent ) { m_X = GetInt32( 1 ); m_Y = GetInt32( 2 ); m_GumpId = GetInt32( 3 ); m_Color = GetInt32( 4 ); }
public GumpPage(string[] commands, BaseGump parent) : base(commands, parent) { m_Page = GetInt32(1); }
public GumpHtmlLocalizedArgs( string[] commands, BaseGump parent ) : base( commands, parent ) { m_X = GetInt32( 1 ); m_Y = GetInt32( 2 ); m_Width = GetInt32( 3 ); m_Height = GetInt32( 4 ); m_Background = GetBoolean( 5 ); m_Scrollbar = GetBoolean( 6 ); m_Color = GetInt32( 7 ); m_Number = GetInt32( 8 ); m_Args = GetString( 9 ); }
public GumpImageTiled( string[] commands, BaseGump parent ) : base( commands, parent ) { m_X = GetInt32( 1 ); m_Y = GetInt32( 2 ); m_Width = GetInt32( 3 ); m_Height = GetInt32( 4 ); m_GumpId = GetInt32( 5 ); }
public GumpCheck( string[] commands, BaseGump parent ) : base( commands, parent ) { m_X = GetInt32( 1 ); m_Y = GetInt32( 2 ); m_InactiveId = GetInt32( 3 ); m_ActiveId = GetInt32( 4 ); m_InitialState = GetBoolean( 5 ); m_SwitchId = GetInt32( 6 ); }
public GumpHtml( string[] commands, BaseGump parent ) : base( commands, parent ) { m_X = GetInt32( 1 ); m_Y = GetInt32( 2 ); m_Width = GetInt32( 3 ); m_Height = GetInt32( 4 ); m_Text = GetText( GetInt32( 5 ) ); m_Background = GetBoolean( 6 ); m_Scrollbar = GetBoolean( 7 ); }
public GumpGroup(string[] commands, BaseGump parent) : base(commands, parent) { m_Group = GetInt32(1); }
public GumpLabelCropped( string[] commands, BaseGump parent ) : base( commands, parent ) { m_X = GetInt32( 1 ); m_Y = GetInt32( 2 ); m_Width = GetInt32( 3 ); m_Height = GetInt32( 4 ); m_Color = GetInt32( 5 ); m_Text = GetText( GetInt32( 6 ) ); }
public GumpNotDisposable(string[] commands, BaseGump parent) : base(commands, parent) { }
public GumpNotResizable(string[] commands, BaseGump parent) : base(commands, parent) { }
public GumpEntry(string[] commands, BaseGump parent) { m_Commands = commands; m_Parent = parent; }
public static GumpEntry Create(string[] commands, BaseGump parent) { string command = commands[0].ToLower(); switch (command) { case "nomove": return(new GumpNotDragable(commands, parent)); case "noclose": return(new GumpNotClosable(commands, parent)); case "nodispose": return(new GumpNotDisposable(commands, parent)); case "noresize": return(new GumpNotResizable(commands, parent)); case "checkertrans": return(new GumpAlphaRegion(commands, parent)); case "resizepic": return(new GumpBackground(commands, parent)); case "button": return(new GumpButton(commands, parent)); case "checkbox": return(new GumpCheck(commands, parent)); case "group": return(new GumpGroup(commands, parent)); case "htmlgump": return(new GumpHtml(commands, parent)); case "xmfhtmlgump": return(new GumpHtmlLocalized(commands, parent)); case "xmfhtmlgumpcolor": return(new GumpHtmlLocalizedColor(commands, parent)); case "xmfhtmltok": return(new GumpHtmlLocalizedArgs(commands, parent)); case "gumppic": return(new GumpImage(commands, parent)); case "gumppictiled": return(new GumpImageTiled(commands, parent)); case "buttontileart": return(new GumpImageTiledButton(commands, parent)); case "tilepic": return(new GumpItem(commands, parent)); case "tilepichue": return(new GumpItemColor(commands, parent)); case "text": return(new GumpLabel(commands, parent)); case "croppedtext": return(new GumpLabelCropped(commands, parent)); case "page": return(new GumpPage(commands, parent)); case "radio": return(new GumpRadio(commands, parent)); case "textentry": return(new GumpTextEntry(commands, parent)); case "tooltip": return(new GumpTooltip(commands, parent)); default: throw new ArgumentException(); } }
public GumpTooltip(string[] commands, BaseGump parent) : base(commands, parent) { m_Number = GetInt32(1); }
public GumpAlphaRegion( string[] commands, BaseGump parent ) : base( commands, parent ) { m_X = GetInt32( 1 ); m_Y = GetInt32( 2 ); m_Width = GetInt32( 3 ); m_Height = GetInt32( 4 ); }
public GumpPage( string[] commands, BaseGump parent ) : base( commands, parent ) { m_Page = GetInt32( 1 ); }
public GumpButton( string[] commands, BaseGump parent ) : base( commands, parent ) { m_X = GetInt32( 1 ); m_Y = GetInt32( 2 ); m_NormalId = GetInt32( 3 ); m_PressedId = GetInt32( 4 ); m_Type = GetInt32( 5 ); m_Param = GetInt32( 6 ); m_ButtonId = GetInt32( 7 ); }
public GumpTextEntry( string[] commands, BaseGump parent ) : base( commands, parent ) { m_X = GetInt32( 1 ); m_Y = GetInt32( 2 ); m_Width = GetInt32( 3 ); m_Height = GetInt32( 4 ); m_Color = GetInt32( 5 ); m_EntryId = GetInt32( 6 ); m_InitialText = GetText( GetInt32( 7 ) ); }
public GumpGroup( string[] commands, BaseGump parent ) : base( commands, parent ) { m_Group = GetInt32( 1 ); }
public GumpTooltip( string[] commands, BaseGump parent ) : base( commands, parent ) { m_Number = GetInt32( 1 ); }
public GumpHtmlLocalized( string[] commands, BaseGump parent ) : base( commands, parent ) { m_X = GetInt32( 1 ); m_Y = GetInt32( 2 ); m_Width = GetInt32( 3 ); m_Height = GetInt32( 4 ); m_Number = GetInt32( 5 ); if ( commands.Length < 8 ) { m_Background = false; m_Scrollbar = false; } else { m_Background = GetBoolean( 6 ); m_Scrollbar = GetBoolean( 7 ); } }
public static GumpEntry Create( string[] commands, BaseGump parent ) { string command = commands[0].ToLower(); switch ( command ) { case "nomove": return new GumpNotDragable( commands, parent ); case "noclose": return new GumpNotClosable( commands, parent ); case "nodispose": return new GumpNotDisposable( commands, parent ); case "noresize": return new GumpNotResizable( commands, parent ); case "checkertrans": return new GumpAlphaRegion( commands, parent ); case "resizepic": return new GumpBackground( commands, parent ); case "button": return new GumpButton( commands, parent ); case "checkbox": return new GumpCheck( commands, parent ); case "group": return new GumpGroup( commands, parent ); case "htmlgump": return new GumpHtml( commands, parent ); case "xmfhtmlgump": return new GumpHtmlLocalized( commands, parent ); case "xmfhtmlgumpcolor": return new GumpHtmlLocalizedColor( commands, parent ); case "xmfhtmltok": return new GumpHtmlLocalizedArgs( commands, parent ); case "gumppic": return new GumpImage( commands, parent ); case "gumppictiled": return new GumpImageTiled( commands, parent ); case "buttontileart": return new GumpImageTiledButton( commands, parent ); case "tilepic": return new GumpItem( commands, parent ); case "tilepichue": return new GumpItemColor( commands, parent ); case "text": return new GumpLabel( commands, parent ); case "croppedtext": return new GumpLabelCropped( commands, parent ); case "page": return new GumpPage( commands, parent ); case "radio": return new GumpRadio( commands, parent ); case "textentry": return new GumpTextEntry( commands, parent ); case "tooltip": return new GumpTooltip( commands, parent ); default: throw new ArgumentException(); } }
public GumpImage( string[] commands, BaseGump parent ) : base( commands, parent ) { m_X = GetInt32( 1 ); m_Y = GetInt32( 2 ); m_GumpId = GetInt32( 3 ); if ( commands.Length > 4 ) m_Color = Int32.Parse( commands[4].Substring( 4 ) ); else m_Color = 0; }
public GumpEntry( string[] commands, BaseGump parent ) { m_Commands = commands; m_Parent = parent; }
public GumpImageTiledButton( string[] commands, BaseGump parent ) : base( commands, parent ) { m_X = GetInt32( 1 ); m_Y = GetInt32( 2 ); m_NormalID = GetInt32( 3 ); m_PressedID = GetInt32( 4 ); m_Type = GetInt32( 5 ); m_Param = GetInt32( 6 ); m_ButtonID = GetInt32( 7 ); m_ItemID = GetInt32( 8 ); m_Hue = GetInt32( 9 ); m_Width = GetInt32( 10 ); m_Height = GetInt32( 11 ); }
public GumpNotDisposable( string[] commands, BaseGump parent ) : base( commands, parent ) { }
public GumpLabel( string[] commands, BaseGump parent ) : base( commands, parent ) { m_X = GetInt32( 1 ); m_Y = GetInt32( 2 ); m_Color = GetInt32( 3 ); m_Text = GetText( GetInt32( 4 ) ); }
public GumpItem(string[] commands, BaseGump parent) : base(commands, parent) { m_X = GetInt32(1); m_Y = GetInt32(2); m_GumpId = GetInt32(3); }