Class BuildingCommands
Inheritance
System.Object
BuildingCommands
Assembly: Eco.Gameplay.dll
Syntax
[ChatCommandHandler]
public static class BuildingCommands : Object
Methods
Build(User)
Declaration
[ChatCommand]
public static void Build(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Building(User, Int32, Int32, Int32, Int32, Int32, Boolean, Boolean)
Declaration
[ChatSubCommand]
public static bool Building(User user, int type = 1, int x = 4, int y = 4, int z = 4, int roofType = 1, bool createWindows = true, bool levelGround = false)
Parameters
Type |
Name |
Description |
User |
user |
|
System.Int32 |
type |
|
System.Int32 |
x |
|
System.Int32 |
y |
|
System.Int32 |
z |
|
System.Int32 |
roofType |
|
System.Boolean |
createWindows |
|
System.Boolean |
levelGround |
|
Returns
Type |
Description |
System.Boolean |
|
BuildingOfMaterial(User, String, Int32, Int32, Int32, Int32, Boolean, Boolean)
Declaration
[ChatSubCommand]
public static bool BuildingOfMaterial(User user, string material, int x = 4, int y = 4, int z = 4, int roofType = 1, bool createWindows = true, bool levelGround = false)
Parameters
Type |
Name |
Description |
User |
user |
|
System.String |
material |
|
System.Int32 |
x |
|
System.Int32 |
y |
|
System.Int32 |
z |
|
System.Int32 |
roofType |
|
System.Boolean |
createWindows |
|
System.Boolean |
levelGround |
|
Returns
Type |
Description |
System.Boolean |
|
Evict(User, User)
Declaration
[ChatSubCommand]
public static void Evict(User user, User targetUser = null)
Parameters
Type |
Name |
Description |
User |
user |
|
User |
targetUser |
|
Home(User)
Declaration
[ChatSubCommand]
public static void Home(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Import(User, String)
Declaration
[ChatSubCommand]
public static void Import(User user, string importString)
Parameters
Type |
Name |
Description |
User |
user |
|
System.String |
importString |
|
Landlord(User)
Declaration
[ChatSubCommand]
public static void Landlord(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Resident(User, User)
Declaration
[ChatSubCommand]
public static void Resident(User user, User targetUser = null)
Parameters
Type |
Name |
Description |
User |
user |
|
User |
targetUser |
|
RideVehicle(User)
Declaration
[ChatSubCommand]
public static bool RideVehicle(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Returns
Type |
Description |
System.Boolean |
|
Road(User, Int32, Int32, Int32, Int32, Boolean)
Declaration
[ChatSubCommand]
public static bool Road(User user, int length = 25, int width = 4, int buildTypeVal = 0, int bottomType = 2, bool flatRoad = false)
Parameters
Type |
Name |
Description |
User |
user |
|
System.Int32 |
length |
|
System.Int32 |
width |
|
System.Int32 |
buildTypeVal |
|
System.Int32 |
bottomType |
|
System.Boolean |
flatRoad |
|
Returns
Type |
Description |
System.Boolean |
|
Spawn(User, String, Boolean)
Declaration
[ChatSubCommand]
public static void Spawn(User user, string itemName, bool claim = true)
Parameters
Type |
Name |
Description |
User |
user |
|
System.String |
itemName |
|
System.Boolean |
claim |
|
SpawnBoat(User, String)
Declaration
[ChatSubCommand]
public static bool SpawnBoat(User user, string boatName)
Parameters
Type |
Name |
Description |
User |
user |
|
System.String |
boatName |
|
Returns
Type |
Description |
System.Boolean |
|
SpawnLasers(User)
Declaration
[ChatSubCommand]
public static bool SpawnLasers(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Returns
Type |
Description |
System.Boolean |
|
Tech(User, Int32)
Declaration
[ChatSubCommand]
public static bool Tech(User user, int tier = 1)
Parameters
Type |
Name |
Description |
User |
user |
|
System.Int32 |
tier |
|
Returns
Type |
Description |
System.Boolean |
|
TechTree(User)
Declaration
[ChatSubCommand]
public static void TechTree(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Village(User, Int32, Int32)
Declaration
[ChatSubCommand]
public static bool Village(User user, int type, int count)
Parameters
Type |
Name |
Description |
User |
user |
|
System.Int32 |
type |
|
System.Int32 |
count |
|
Returns
Type |
Description |
System.Boolean |
|