C# Класс Server.Gumps.AdminGump

Наследование: Gump
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
Admin_OnCommand ( Server.CommandEventArgs e ) : void
GetAllSharedAccounts ( ) : ArrayList
GetSharedAccounts ( IPAddress ipAddress ) : ArrayList
InvokeCommand ( string c ) : void
Shutdown ( bool restart, bool save ) : void

Описание методов

AccountDelete_Callback() публичный статический Метод

public static AccountDelete_Callback ( Server.Mobile from, bool okay, object state ) : void
from Server.Mobile
okay bool
state object
Результат void

AddAccountHeader() публичный Метод

public AddAccountHeader ( ) : void
Результат void

AddBlackAlpha() публичный Метод

public AddBlackAlpha ( int x, int y, int width, int height ) : void
x int
y int
width int
height int
Результат void

AddButtonLabeled() публичный Метод

public AddButtonLabeled ( int x, int y, int buttonID, string text ) : void
x int
y int
buttonID int
text string
Результат void

AddClientHeader() публичный Метод

public AddClientHeader ( ) : void
Результат void

AddFirewallHeader() публичный Метод

public AddFirewallHeader ( ) : void
Результат void

AddPageButton() публичный Метод

public AddPageButton ( int x, int y, int buttonID, string text, AdminGumpPage page ) : void
x int
y int
buttonID int
text string
page AdminGumpPage
Результат void

AddSelectedButton() публичный Метод

public AddSelectedButton ( int x, int y, int buttonID, string text, bool isSelection ) : void
x int
y int
buttonID int
text string
isSelection bool
Результат void

AddTextField() публичный Метод

public AddTextField ( int x, int y, int width, int height, int index ) : void
x int
y int
width int
height int
index int
Результат void

AdminGump() публичный Метод

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
Результат System

BanShared_Callback() публичный статический Метод

public static BanShared_Callback ( Server.Mobile from, bool okay, object state ) : void
from Server.Mobile
okay bool
state object
Результат void

Center() публичный Метод

public Center ( string text ) : string
text string
Результат string

Color() публичный Метод

public Color ( string text, int color ) : string
text string
color int
Результат string

FirewallShared_Callback() публичный статический Метод

public static FirewallShared_Callback ( Server.Mobile from, bool okay, object state ) : void
from Server.Mobile
okay bool
state object
Результат void

Firewall_Callback() публичный статический Метод

public static Firewall_Callback ( Server.Mobile from, bool okay, object state ) : void
from Server.Mobile
okay bool
state object
Результат void

FormatAccessLevel() публичный статический Метод

public static FormatAccessLevel ( AccessLevel level ) : string
level AccessLevel
Результат string

FormatByteAmount() публичный статический Метод

public static FormatByteAmount ( long totalBytes ) : string
totalBytes long
Результат string

FormatTimeSpan() публичный статический Метод

public static FormatTimeSpan ( System.TimeSpan ts ) : string
ts System.TimeSpan
Результат string

GetAccountInfo() публичный статический Метод

public static GetAccountInfo ( Account a, AccessLevel &accessLevel, bool &online ) : void
a Account
accessLevel AccessLevel
online bool
Результат void

GetButtonID() публичный Метод

public GetButtonID ( int type, int index ) : int
type int
index int
Результат int

GetHueFor() публичный статический Метод

public static GetHueFor ( Server.Mobile m ) : int
m Server.Mobile
Результат int

Initialize() публичный статический Метод

public static Initialize ( ) : void
Результат void

Marked_Callback() публичный статический Метод

public static Marked_Callback ( Server.Mobile from, bool okay, object state ) : void
from Server.Mobile
okay bool
state object
Результат void

OnResponse() публичный Метод

public OnResponse ( Server sender, RelayInfo info ) : void
sender Server
info RelayInfo
Результат void

RemoveLoginIP_Callback() публичный статический Метод

public static RemoveLoginIP_Callback ( Server.Mobile from, bool okay, object state ) : void
from Server.Mobile
okay bool
state object
Результат void

RemoveLoginIPs_Callback() публичный статический Метод

public static RemoveLoginIPs_Callback ( Server.Mobile from, bool okay, object state ) : void
from Server.Mobile
okay bool
state object
Результат void

ResendGump_Callback() публичный статический Метод

public static ResendGump_Callback ( Server.Mobile from, object state ) : void
from Server.Mobile
state object
Результат void