C# Class Server.Regions.BaseRegion

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

Public Methods

Method Description
AcceptsSpawnsFrom ( Region region ) : bool
BaseRegion ( XmlElement xml, Map map, Region parent ) : System
BaseRegion ( string name, Map map, Region parent ) : System
BaseRegion ( string name, Map map, int priority ) : System
CanSpawn ( Region region ) : bool
Configure ( ) : void
GetLogoutDelay ( Mobile m ) : System.TimeSpan
GetRuneNameFor ( Region region ) : string
OnUnregister ( ) : void
RandomSpawnLocation ( int spawnHeight, bool land, bool water, Point3D home, int range ) : Point3D
ToString ( ) : string

Private Methods

Method Description
InitRectangles ( ) : void

Method Details

AcceptsSpawnsFrom() public method

public AcceptsSpawnsFrom ( Region region ) : bool
region Region
return bool

BaseRegion() public method

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

BaseRegion() public method

public BaseRegion ( string name, Map map, Region parent ) : System
name string
map Map
parent Region
return System

BaseRegion() public method

public BaseRegion ( string name, Map map, int priority ) : System
name string
map Map
priority int
return System

CanSpawn() public static method

public static CanSpawn ( Region region ) : bool
region Region
return bool

Configure() public static method

public static Configure ( ) : void
return void

GetLogoutDelay() public method

public GetLogoutDelay ( Mobile m ) : System.TimeSpan
m Mobile
return System.TimeSpan

GetRuneNameFor() public static method

public static GetRuneNameFor ( Region region ) : string
region Region
return string

OnUnregister() public method

public OnUnregister ( ) : void
return void

RandomSpawnLocation() public method

public RandomSpawnLocation ( int spawnHeight, bool land, bool water, Point3D home, int range ) : Point3D
spawnHeight int
land bool
water bool
home Point3D
range int
return Point3D

ToString() public method

public ToString ( ) : string
return string