C# Класс Server.Regions.GuardedRegion

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

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

Метод Описание
AllowHousing ( Server.Mobile from, Server.Point3D p ) : bool
CallGuards ( Server.Point3D p ) : void
CheckGuardCandidate ( Server.Mobile m ) : void
CheckVendorAccess ( BaseVendor vendor, Server.Mobile from ) : bool
Disable ( GuardedRegion reg ) : GuardedRegion
GuardedRegion ( XmlElement xml, Server.Map map, Server.Region parent ) : System
GuardedRegion ( string name, Server.Map map, int priority ) : System
Initialize ( ) : void
IsDisabled ( ) : bool
IsGuardCandidate ( Server.Mobile m ) : bool
MakeGuard ( Server.Mobile focus ) : void
OnAggressed ( Server.Mobile aggressor, Server.Mobile aggressed, bool criminal ) : void
OnBeginSpellCast ( Server.Mobile m, ISpell s ) : bool
OnCriminalAction ( Server.Mobile m, bool message ) : void
OnEnter ( Server.Mobile m ) : void
OnExit ( Server.Mobile m ) : void
OnGotBeneficialAction ( Server.Mobile helper, Server.Mobile helped ) : void
OnSpeech ( SpeechEventArgs args ) : void

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

Метод Описание
CheckGuarded_OnCommand ( CommandEventArgs e ) : void
SetGuarded_OnCommand ( CommandEventArgs e ) : void
ToggleGuarded_OnCommand ( CommandEventArgs e ) : void

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

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

public AllowHousing ( Server.Mobile from, Server.Point3D p ) : bool
from Server.Mobile
p Server.Point3D
Результат bool

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

public CallGuards ( Server.Point3D p ) : void
p Server.Point3D
Результат void

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

public CheckGuardCandidate ( Server.Mobile m ) : void
m Server.Mobile
Результат void

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

public CheckVendorAccess ( BaseVendor vendor, Server.Mobile from ) : bool
vendor Server.Mobiles.BaseVendor
from Server.Mobile
Результат bool

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

public static Disable ( GuardedRegion reg ) : GuardedRegion
reg GuardedRegion
Результат GuardedRegion

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

public GuardedRegion ( XmlElement xml, Server.Map map, Server.Region parent ) : System
xml System.Xml.XmlElement
map Server.Map
parent Server.Region
Результат System

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

public GuardedRegion ( string name, Server.Map map, int priority ) : System
name string
map Server.Map
priority int
Результат System

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

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

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

public IsDisabled ( ) : bool
Результат bool

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

public IsGuardCandidate ( Server.Mobile m ) : bool
m Server.Mobile
Результат bool

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

public MakeGuard ( Server.Mobile focus ) : void
focus Server.Mobile
Результат void

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

public OnAggressed ( Server.Mobile aggressor, Server.Mobile aggressed, bool criminal ) : void
aggressor Server.Mobile
aggressed Server.Mobile
criminal bool
Результат void

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

public OnBeginSpellCast ( Server.Mobile m, ISpell s ) : bool
m Server.Mobile
s ISpell
Результат bool

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

public OnCriminalAction ( Server.Mobile m, bool message ) : void
m Server.Mobile
message bool
Результат void

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

public OnEnter ( Server.Mobile m ) : void
m Server.Mobile
Результат void

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

public OnExit ( Server.Mobile m ) : void
m Server.Mobile
Результат void

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

public OnGotBeneficialAction ( Server.Mobile helper, Server.Mobile helped ) : void
helper Server.Mobile
helped Server.Mobile
Результат void

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

public OnSpeech ( SpeechEventArgs args ) : void
args Server.SpeechEventArgs
Результат void