Class EconomyChatCommands
Inheritance
System.Object
EconomyChatCommands
Assembly: Eco.Gameplay.dll
Syntax
[ChatCommandHandler]
public static class EconomyChatCommands : Object
Methods
Craft(User)
Declaration
[ChatCommand]
public static void Craft(User user)
Parameters
| Type |
Name |
Description |
| User |
user |
|
FuelObject(WorldObject)
Declaration
public static void FuelObject(WorldObject obj)
Parameters
SpawnCrafting(User)
Declaration
[ChatSubCommand]
public static Task SpawnCrafting(User user)
Parameters
| Type |
Name |
Description |
| User |
user |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
SpawnStockpile(User, Vector3i, String, String, String, String, String)
Declaration
public static Task<StorageComponent> SpawnStockpile(User user, Vector3i pos, string item1, string item2 = null, string item3 = null, string item4 = null, string item5 = null)
Parameters
| Type |
Name |
Description |
| User |
user |
|
| Vector3i |
pos |
|
| System.String |
item1 |
|
| System.String |
item2 |
|
| System.String |
item3 |
|
| System.String |
item4 |
|
| System.String |
item5 |
|
Returns
SpawnWindmill(User, Vector3i)
Declaration
public static void SpawnWindmill(User user, Vector3i pos)
Parameters
StartRecipe(User, WorldObject, RecipeFamily, Boolean, Boolean, Int32)
Declaration
public static void StartRecipe(User user, WorldObject obj, RecipeFamily recipe, bool provideItems, bool provideLabor, int count = 1)
Parameters
| Type |
Name |
Description |
| User |
user |
|
| WorldObject |
obj |
|
| RecipeFamily |
recipe |
|
| System.Boolean |
provideItems |
|
| System.Boolean |
provideLabor |
|
| System.Int32 |
count |
|
Stockpile(User, String, String, String, String, String)
Declaration
[ChatSubCommand]
public static Task<StorageComponent> Stockpile(User user, string item1 = "BirchLogItem", string item2 = null, string item3 = null, string item4 = null, string item5 = null)
Parameters
| Type |
Name |
Description |
| User |
user |
|
| System.String |
item1 |
|
| System.String |
item2 |
|
| System.String |
item3 |
|
| System.String |
item4 |
|
| System.String |
item5 |
|
Returns
Store(User, Int32, Int32)
Declaration
[ChatSubCommand]
public static Task Store(User user, int offers = 30, int categories = 8)
Parameters
| Type |
Name |
Description |
| User |
user |
|
| System.Int32 |
offers |
|
| System.Int32 |
categories |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Declaration
[ChatSubCommand]
public static Task ToolsStore(User user)
Parameters
| Type |
Name |
Description |
| User |
user |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|