C# Class Server.Gumps.Gump

Exibir arquivo Open project: brodock/runuo Class Usage Examples

Public Methods

Method Description
Add ( GumpEntry g ) : void
AddAlphaRegion ( int x, int y, int width, int height ) : void
AddBackground ( int x, int y, int width, int height, int gumpID ) : void
AddButton ( int x, int y, int normalID, int pressedID, int buttonID, GumpButtonType type, int param ) : void
AddCheck ( int x, int y, int inactiveID, int activeID, bool initialState, int switchID ) : void
AddGroup ( int group ) : void
AddHtml ( int x, int y, int width, int height, string text, bool background, bool scrollbar ) : void
AddHtmlLocalized ( int x, int y, int width, int height, int number, bool background, bool scrollbar ) : void
AddHtmlLocalized ( int x, int y, int width, int height, int number, int color, bool background, bool scrollbar ) : void
AddHtmlLocalized ( int x, int y, int width, int height, int number, string args, int color, bool background, bool scrollbar ) : void
AddImage ( int x, int y, int gumpID ) : void
AddImage ( int x, int y, int gumpID, int hue ) : void
AddImageTiled ( int x, int y, int width, int height, int gumpID ) : void
AddImageTiledButton ( int x, int y, int normalID, int pressedID, int buttonID, GumpButtonType type, int param, int itemID, int hue, int width, int height ) : void
AddImageTiledButton ( int x, int y, int normalID, int pressedID, int buttonID, GumpButtonType type, int param, int itemID, int hue, int width, int height, int localizedTooltip ) : void
AddItem ( int x, int y, int itemID ) : void
AddItem ( int x, int y, int itemID, int hue ) : void
AddLabel ( int x, int y, int hue, string text ) : void
AddLabelCropped ( int x, int y, int width, int height, int hue, string text ) : void
AddPage ( int page ) : void
AddRadio ( int x, int y, int inactiveID, int activeID, bool initialState, int switchID ) : void
AddTextEntry ( int x, int y, int width, int height, int hue, int entryID, string initialText ) : void
AddTextEntry ( int x, int y, int width, int height, int hue, int entryID, string initialText, int size ) : void
AddTooltip ( int number ) : void
GetTypeID ( Type type ) : int
Gump ( int x, int y ) : System
Intern ( string value ) : int
Invalidate ( ) : void
OnResponse ( Server.Network.NetState sender, RelayInfo info ) : void
OnServerClose ( Server.Network.NetState owner ) : void
Remove ( GumpEntry g ) : void
SendTo ( Server.Network.NetState state ) : void
StringToBuffer ( string str ) : byte[]

Private Methods

Method Description
Compile ( ) : Packet
Compile ( Server.Network.NetState ns ) : Packet

Method Details

Add() public method

public Add ( GumpEntry g ) : void
g GumpEntry
return void

AddAlphaRegion() public method

public AddAlphaRegion ( int x, int y, int width, int height ) : void
x int
y int
width int
height int
return void

AddBackground() public method

public AddBackground ( int x, int y, int width, int height, int gumpID ) : void
x int
y int
width int
height int
gumpID int
return void

AddButton() public method

public AddButton ( int x, int y, int normalID, int pressedID, int buttonID, GumpButtonType type, int param ) : void
x int
y int
normalID int
pressedID int
buttonID int
type GumpButtonType
param int
return void

AddCheck() public method

public AddCheck ( int x, int y, int inactiveID, int activeID, bool initialState, int switchID ) : void
x int
y int
inactiveID int
activeID int
initialState bool
switchID int
return void

AddGroup() public method

public AddGroup ( int group ) : void
group int
return void

AddHtml() public method

public AddHtml ( int x, int y, int width, int height, string text, bool background, bool scrollbar ) : void
x int
y int
width int
height int
text string
background bool
scrollbar bool
return void

AddHtmlLocalized() public method

public AddHtmlLocalized ( int x, int y, int width, int height, int number, bool background, bool scrollbar ) : void
x int
y int
width int
height int
number int
background bool
scrollbar bool
return void

AddHtmlLocalized() public method

public AddHtmlLocalized ( int x, int y, int width, int height, int number, int color, bool background, bool scrollbar ) : void
x int
y int
width int
height int
number int
color int
background bool
scrollbar bool
return void

AddHtmlLocalized() public method

public AddHtmlLocalized ( int x, int y, int width, int height, int number, string args, int color, bool background, bool scrollbar ) : void
x int
y int
width int
height int
number int
args string
color int
background bool
scrollbar bool
return void

AddImage() public method

public AddImage ( int x, int y, int gumpID ) : void
x int
y int
gumpID int
return void

AddImage() public method

public AddImage ( int x, int y, int gumpID, int hue ) : void
x int
y int
gumpID int
hue int
return void

AddImageTiled() public method

public AddImageTiled ( int x, int y, int width, int height, int gumpID ) : void
x int
y int
width int
height int
gumpID int
return void

AddImageTiledButton() public method

public AddImageTiledButton ( int x, int y, int normalID, int pressedID, int buttonID, GumpButtonType type, int param, int itemID, int hue, int width, int height ) : void
x int
y int
normalID int
pressedID int
buttonID int
type GumpButtonType
param int
itemID int
hue int
width int
height int
return void

AddImageTiledButton() public method

public AddImageTiledButton ( int x, int y, int normalID, int pressedID, int buttonID, GumpButtonType type, int param, int itemID, int hue, int width, int height, int localizedTooltip ) : void
x int
y int
normalID int
pressedID int
buttonID int
type GumpButtonType
param int
itemID int
hue int
width int
height int
localizedTooltip int
return void

AddItem() public method

public AddItem ( int x, int y, int itemID ) : void
x int
y int
itemID int
return void

AddItem() public method

public AddItem ( int x, int y, int itemID, int hue ) : void
x int
y int
itemID int
hue int
return void

AddLabel() public method

public AddLabel ( int x, int y, int hue, string text ) : void
x int
y int
hue int
text string
return void

AddLabelCropped() public method

public AddLabelCropped ( int x, int y, int width, int height, int hue, string text ) : void
x int
y int
width int
height int
hue int
text string
return void

AddPage() public method

public AddPage ( int page ) : void
page int
return void

AddRadio() public method

public AddRadio ( int x, int y, int inactiveID, int activeID, bool initialState, int switchID ) : void
x int
y int
inactiveID int
activeID int
initialState bool
switchID int
return void

AddTextEntry() public method

public AddTextEntry ( int x, int y, int width, int height, int hue, int entryID, string initialText ) : void
x int
y int
width int
height int
hue int
entryID int
initialText string
return void

AddTextEntry() public method

public AddTextEntry ( int x, int y, int width, int height, int hue, int entryID, string initialText, int size ) : void
x int
y int
width int
height int
hue int
entryID int
initialText string
size int
return void

AddTooltip() public method

public AddTooltip ( int number ) : void
number int
return void

GetTypeID() public static method

public static GetTypeID ( Type type ) : int
type System.Type
return int

Gump() public method

public Gump ( int x, int y ) : System
x int
y int
return System

Intern() public method

public Intern ( string value ) : int
value string
return int

Invalidate() public method

public Invalidate ( ) : void
return void

OnResponse() public method

public OnResponse ( Server.Network.NetState sender, RelayInfo info ) : void
sender Server.Network.NetState
info RelayInfo
return void

OnServerClose() public method

public OnServerClose ( Server.Network.NetState owner ) : void
owner Server.Network.NetState
return void

Remove() public method

public Remove ( GumpEntry g ) : void
g GumpEntry
return void

SendTo() public method

public SendTo ( Server.Network.NetState state ) : void
state Server.Network.NetState
return void

StringToBuffer() public static method

public static StringToBuffer ( string str ) : byte[]
str string
return byte[]