C# Class Server.Regions.GuardedRegion

Inheritance: BaseRegion
Show file Open project: Grimoric/RunUO.T2A Class Usage Examples

Public Methods

Method 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

Method Description
CheckGuarded_OnCommand ( CommandEventArgs e ) : void
SetGuarded_OnCommand ( CommandEventArgs e ) : void
ToggleGuarded_OnCommand ( CommandEventArgs e ) : void

Method Details

AllowHousing() public method

public AllowHousing ( Server.Mobile from, Server.Point3D p ) : bool
from Server.Mobile
p Server.Point3D
return bool

CallGuards() public method

public CallGuards ( Server.Point3D p ) : void
p Server.Point3D
return void

CheckGuardCandidate() public method

public CheckGuardCandidate ( Server.Mobile m ) : void
m Server.Mobile
return void

CheckVendorAccess() public method

public CheckVendorAccess ( BaseVendor vendor, Server.Mobile from ) : bool
vendor Server.Mobiles.BaseVendor
from Server.Mobile
return bool

Disable() public static method

public static Disable ( GuardedRegion reg ) : GuardedRegion
reg GuardedRegion
return GuardedRegion

GuardedRegion() public method

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

GuardedRegion() public method

public GuardedRegion ( string name, Server.Map map, int priority ) : System
name string
map Server.Map
priority int
return System

Initialize() public static method

public static Initialize ( ) : void
return void

IsDisabled() public method

public IsDisabled ( ) : bool
return bool

IsGuardCandidate() public method

public IsGuardCandidate ( Server.Mobile m ) : bool
m Server.Mobile
return bool

MakeGuard() public method

public MakeGuard ( Server.Mobile focus ) : void
focus Server.Mobile
return void

OnAggressed() public method

public OnAggressed ( Server.Mobile aggressor, Server.Mobile aggressed, bool criminal ) : void
aggressor Server.Mobile
aggressed Server.Mobile
criminal bool
return void

OnBeginSpellCast() public method

public OnBeginSpellCast ( Server.Mobile m, ISpell s ) : bool
m Server.Mobile
s ISpell
return bool

OnCriminalAction() public method

public OnCriminalAction ( Server.Mobile m, bool message ) : void
m Server.Mobile
message bool
return void

OnEnter() public method

public OnEnter ( Server.Mobile m ) : void
m Server.Mobile
return void

OnExit() public method

public OnExit ( Server.Mobile m ) : void
m Server.Mobile
return void

OnGotBeneficialAction() public method

public OnGotBeneficialAction ( Server.Mobile helper, Server.Mobile helped ) : void
helper Server.Mobile
helped Server.Mobile
return void

OnSpeech() public method

public OnSpeech ( SpeechEventArgs args ) : void
args Server.SpeechEventArgs
return void