C# Class Server.Gumps.AdminGump

Inheritance: Gump
Afficher le fichier Open project: Grimoric/RunUO.T2A

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

AddAccountHeader() public méthode

public AddAccountHeader ( ) : void
Résultat void

AddBlackAlpha() public méthode

public AddBlackAlpha ( int x, int y, int width, int height ) : void
x int
y int
width int
height int
Résultat void

AddButtonLabeled() public méthode

public AddButtonLabeled ( int x, int y, int buttonID, string text ) : void
x int
y int
buttonID int
text string
Résultat void

AddClientHeader() public méthode

public AddClientHeader ( ) : void
Résultat void

AddFirewallHeader() public méthode

public AddFirewallHeader ( ) : void
Résultat void

AddPageButton() public méthode

public AddPageButton ( int x, int y, int buttonID, string text, AdminGumpPage page ) : void
x int
y int
buttonID int
text string
page AdminGumpPage
Résultat void

AddSelectedButton() public méthode

public AddSelectedButton ( int x, int y, int buttonID, string text, bool isSelection ) : void
x int
y int
buttonID int
text string
isSelection bool
Résultat void

AddTextField() public méthode

public AddTextField ( int x, int y, int width, int height, int index ) : void
x int
y int
width int
height int
index int
Résultat void

AdminGump() public méthode

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
Résultat System

BanShared_Callback() public static méthode

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

Center() public méthode

public Center ( string text ) : string
text string
Résultat string

Color() public méthode

public Color ( string text, int color ) : string
text string
color int
Résultat string

FirewallShared_Callback() public static méthode

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

Firewall_Callback() public static méthode

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

FormatAccessLevel() public static méthode

public static FormatAccessLevel ( AccessLevel level ) : string
level AccessLevel
Résultat string

FormatByteAmount() public static méthode

public static FormatByteAmount ( long totalBytes ) : string
totalBytes long
Résultat string

FormatTimeSpan() public static méthode

public static FormatTimeSpan ( System.TimeSpan ts ) : string
ts System.TimeSpan
Résultat string

GetAccountInfo() public static méthode

public static GetAccountInfo ( Account a, AccessLevel &accessLevel, bool &online ) : void
a Account
accessLevel AccessLevel
online bool
Résultat void

GetButtonID() public méthode

public GetButtonID ( int type, int index ) : int
type int
index int
Résultat int

GetHueFor() public static méthode

public static GetHueFor ( Server.Mobile m ) : int
m Server.Mobile
Résultat int

Initialize() public static méthode

public static Initialize ( ) : void
Résultat void

Marked_Callback() public static méthode

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

OnResponse() public méthode

public OnResponse ( Server sender, RelayInfo info ) : void
sender Server
info RelayInfo
Résultat void

RemoveLoginIP_Callback() public static méthode

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

RemoveLoginIPs_Callback() public static méthode

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

ResendGump_Callback() public static méthode

public static ResendGump_Callback ( Server.Mobile from, object state ) : void
from Server.Mobile
state object
Résultat void