C# Class Server.Gumps.AdminGump

Inheritance: Gump
Mostra file Open project: Grimoric/RunUO.T2A

Public Methods

Method Description
AccountDelete_Callback ( Server.Mobile from, bool okay, object state ) : void
AddAccountHeader ( ) : void
AddBlackAlpha ( int x, int y, int width, int height ) : void
AddButtonLabeled ( int x, int y, int buttonID, string text ) : void
AddClientHeader ( ) : void
AddFirewallHeader ( ) : void
AddPageButton ( int x, int y, int buttonID, string text, AdminGumpPage page ) : void
AddSelectedButton ( int x, int y, int buttonID, string text, bool isSelection ) : void
AddTextField ( int x, int y, int width, int height, int index ) : void
AdminGump ( Server.Mobile from, AdminGumpPage pageType, int listPage, ArrayList list, string notice, object state ) : System
BanShared_Callback ( Server.Mobile from, bool okay, object state ) : void
Center ( string text ) : string
Color ( string text, int color ) : string
FirewallShared_Callback ( Server.Mobile from, bool okay, object state ) : void
Firewall_Callback ( Server.Mobile from, bool okay, object state ) : void
FormatAccessLevel ( AccessLevel level ) : string
FormatByteAmount ( long totalBytes ) : string
FormatTimeSpan ( System.TimeSpan ts ) : string
GetAccountInfo ( Account a, AccessLevel &accessLevel, bool &online ) : void
GetButtonID ( int type, int index ) : int
GetHueFor ( Server.Mobile m ) : int
Initialize ( ) : void
Marked_Callback ( Server.Mobile from, bool okay, object state ) : void
OnResponse ( Server sender, RelayInfo info ) : void
RemoveLoginIP_Callback ( Server.Mobile from, bool okay, object state ) : void
RemoveLoginIPs_Callback ( Server.Mobile from, bool okay, object state ) : void
ResendGump_Callback ( Server.Mobile from, object state ) : void

Private Methods

Method Description
Admin_OnCommand ( Server.CommandEventArgs e ) : void
GetAllSharedAccounts ( ) : ArrayList
GetSharedAccounts ( IPAddress ipAddress ) : ArrayList
InvokeCommand ( string c ) : void
Shutdown ( bool restart, bool save ) : void

Method Details

AccountDelete_Callback() public static method

public static AccountDelete_Callback ( Server.Mobile from, bool okay, object state ) : void
from Server.Mobile
okay bool
state object
return void

AddAccountHeader() public method

public AddAccountHeader ( ) : void
return void

AddBlackAlpha() public method

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

AddButtonLabeled() public method

public AddButtonLabeled ( int x, int y, int buttonID, string text ) : void
x int
y int
buttonID int
text string
return void

AddClientHeader() public method

public AddClientHeader ( ) : void
return void

AddFirewallHeader() public method

public AddFirewallHeader ( ) : void
return void

AddPageButton() public method

public AddPageButton ( int x, int y, int buttonID, string text, AdminGumpPage page ) : void
x int
y int
buttonID int
text string
page AdminGumpPage
return void

AddSelectedButton() public method

public AddSelectedButton ( int x, int y, int buttonID, string text, bool isSelection ) : void
x int
y int
buttonID int
text string
isSelection bool
return void

AddTextField() public method

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

AdminGump() public method

public AdminGump ( Server.Mobile from, AdminGumpPage pageType, int listPage, ArrayList list, string notice, object state ) : System
from Server.Mobile
pageType AdminGumpPage
listPage int
list System.Collections.ArrayList
notice string
state object
return System

BanShared_Callback() public static method

public static BanShared_Callback ( Server.Mobile from, bool okay, object state ) : void
from Server.Mobile
okay bool
state object
return void

Center() public method

public Center ( string text ) : string
text string
return string

Color() public method

public Color ( string text, int color ) : string
text string
color int
return string

FirewallShared_Callback() public static method

public static FirewallShared_Callback ( Server.Mobile from, bool okay, object state ) : void
from Server.Mobile
okay bool
state object
return void

Firewall_Callback() public static method

public static Firewall_Callback ( Server.Mobile from, bool okay, object state ) : void
from Server.Mobile
okay bool
state object
return void

FormatAccessLevel() public static method

public static FormatAccessLevel ( AccessLevel level ) : string
level AccessLevel
return string

FormatByteAmount() public static method

public static FormatByteAmount ( long totalBytes ) : string
totalBytes long
return string

FormatTimeSpan() public static method

public static FormatTimeSpan ( System.TimeSpan ts ) : string
ts System.TimeSpan
return string

GetAccountInfo() public static method

public static GetAccountInfo ( Account a, AccessLevel &accessLevel, bool &online ) : void
a Account
accessLevel AccessLevel
online bool
return void

GetButtonID() public method

public GetButtonID ( int type, int index ) : int
type int
index int
return int

GetHueFor() public static method

public static GetHueFor ( Server.Mobile m ) : int
m Server.Mobile
return int

Initialize() public static method

public static Initialize ( ) : void
return void

Marked_Callback() public static method

public static Marked_Callback ( Server.Mobile from, bool okay, object state ) : void
from Server.Mobile
okay bool
state object
return void

OnResponse() public method

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

RemoveLoginIP_Callback() public static method

public static RemoveLoginIP_Callback ( Server.Mobile from, bool okay, object state ) : void
from Server.Mobile
okay bool
state object
return void

RemoveLoginIPs_Callback() public static method

public static RemoveLoginIPs_Callback ( Server.Mobile from, bool okay, object state ) : void
from Server.Mobile
okay bool
state object
return void

ResendGump_Callback() public static method

public static ResendGump_Callback ( Server.Mobile from, object state ) : void
from Server.Mobile
state object
return void