C# Class Regions.Region

Exibir arquivo Open project: NyxStudios/Regions

Public Methods

Method Description
HasPermissionToBuildInRegion ( TShockAPI.TSPlayer ply ) : bool
InArea ( Rectangle point ) : bool
InArea ( int x, int y ) : bool
Region ( ) : System
Region ( Rectangle region, string name, string owner, bool disablebuild, string RegionWorldIDz, int z ) : System
RemoveGroup ( string groupName ) : bool
RemoveID ( int id ) : void
SetAllowedGroups ( String groups ) : void
setAllowedIDs ( String ids ) : void

Method Details

HasPermissionToBuildInRegion() public method

public HasPermissionToBuildInRegion ( TShockAPI.TSPlayer ply ) : bool
ply TShockAPI.TSPlayer
return bool

InArea() public method

public InArea ( Rectangle point ) : bool
point Rectangle
return bool

InArea() public method

public InArea ( int x, int y ) : bool
x int
y int
return bool

Region() public method

public Region ( ) : System
return System

Region() public method

public Region ( Rectangle region, string name, string owner, bool disablebuild, string RegionWorldIDz, int z ) : System
region Rectangle
name string
owner string
disablebuild bool
RegionWorldIDz string
z int
return System

RemoveGroup() public method

public RemoveGroup ( string groupName ) : bool
groupName string
return bool

RemoveID() public method

public RemoveID ( int id ) : void
id int
return void

SetAllowedGroups() public method

public SetAllowedGroups ( String groups ) : void
groups String
return void

setAllowedIDs() public method

public setAllowedIDs ( String ids ) : void
ids String
return void