Méthode | Description | |
---|---|---|
HasPermissionToBuildInRegion ( TSPlayer ply ) : bool |
Checks if a given player has permission to build in the region
|
|
InArea ( Rectangle point ) : bool |
Checks if a given point is in the region's area
|
|
InArea ( int x, int y ) : bool |
Checks if a given (x, y) coordinate is in the region's area
|
|
Region ( ) : System | ||
Region ( int id, Rectangle region, string name, string owner, bool disablebuild, string RegionWorldIDz, int z ) : System | ||
RemoveGroup ( string groupName ) : bool |
Removes a group's access to the region
|
|
RemoveID ( int id ) : bool |
Removes a user's access to the region
|
|
SetAllowedGroups ( String groups ) : void |
Sets the group names which are allowed to use the region
|
|
SetAllowedIDs ( String ids ) : void |
Sets the user IDs which are allowed to use the region
|
public HasPermissionToBuildInRegion ( TSPlayer ply ) : bool | ||
ply | TSPlayer | Player to check permissions with |
Résultat | bool |
public InArea ( Rectangle point ) : bool | ||
point | Rectangle | Point to check |
Résultat | bool |
public InArea ( int x, int y ) : bool | ||
x | int | X coordinate to check |
y | int | Y coordinate to check |
Résultat | bool |
public Region ( int id, Rectangle region, string name, string owner, bool disablebuild, string RegionWorldIDz, int z ) : System | ||
id | int | |
region | Rectangle | |
name | string | |
owner | string | |
disablebuild | bool | |
RegionWorldIDz | string | |
z | int | |
Résultat | System |
public RemoveGroup ( string groupName ) : bool | ||
groupName | string | Group name to remove |
Résultat | bool |
public SetAllowedGroups ( String groups ) : void | ||
groups | String | String of group names to set |
Résultat | void |
public SetAllowedIDs ( String ids ) : void | ||
ids | String | String of IDs to set |
Résultat | void |