C# Class Server.Regions.GuardedRegion

Inheritance: BaseRegion
Afficher le fichier Open project: Grimoric/RunUO.T2A Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode Description
CheckGuarded_OnCommand ( CommandEventArgs e ) : void
SetGuarded_OnCommand ( CommandEventArgs e ) : void
ToggleGuarded_OnCommand ( CommandEventArgs e ) : void

Method Details

AllowHousing() public méthode

public AllowHousing ( Server.Mobile from, Server.Point3D p ) : bool
from Server.Mobile
p Server.Point3D
Résultat bool

CallGuards() public méthode

public CallGuards ( Server.Point3D p ) : void
p Server.Point3D
Résultat void

CheckGuardCandidate() public méthode

public CheckGuardCandidate ( Server.Mobile m ) : void
m Server.Mobile
Résultat void

CheckVendorAccess() public méthode

public CheckVendorAccess ( BaseVendor vendor, Server.Mobile from ) : bool
vendor Server.Mobiles.BaseVendor
from Server.Mobile
Résultat bool

Disable() public static méthode

public static Disable ( GuardedRegion reg ) : GuardedRegion
reg GuardedRegion
Résultat GuardedRegion

GuardedRegion() public méthode

public GuardedRegion ( XmlElement xml, Server.Map map, Server.Region parent ) : System
xml System.Xml.XmlElement
map Server.Map
parent Server.Region
Résultat System

GuardedRegion() public méthode

public GuardedRegion ( string name, Server.Map map, int priority ) : System
name string
map Server.Map
priority int
Résultat System

Initialize() public static méthode

public static Initialize ( ) : void
Résultat void

IsDisabled() public méthode

public IsDisabled ( ) : bool
Résultat bool

IsGuardCandidate() public méthode

public IsGuardCandidate ( Server.Mobile m ) : bool
m Server.Mobile
Résultat bool

MakeGuard() public méthode

public MakeGuard ( Server.Mobile focus ) : void
focus Server.Mobile
Résultat void

OnAggressed() public méthode

public OnAggressed ( Server.Mobile aggressor, Server.Mobile aggressed, bool criminal ) : void
aggressor Server.Mobile
aggressed Server.Mobile
criminal bool
Résultat void

OnBeginSpellCast() public méthode

public OnBeginSpellCast ( Server.Mobile m, ISpell s ) : bool
m Server.Mobile
s ISpell
Résultat bool

OnCriminalAction() public méthode

public OnCriminalAction ( Server.Mobile m, bool message ) : void
m Server.Mobile
message bool
Résultat void

OnEnter() public méthode

public OnEnter ( Server.Mobile m ) : void
m Server.Mobile
Résultat void

OnExit() public méthode

public OnExit ( Server.Mobile m ) : void
m Server.Mobile
Résultat void

OnGotBeneficialAction() public méthode

public OnGotBeneficialAction ( Server.Mobile helper, Server.Mobile helped ) : void
helper Server.Mobile
helped Server.Mobile
Résultat void

OnSpeech() public méthode

public OnSpeech ( SpeechEventArgs args ) : void
args Server.SpeechEventArgs
Résultat void