Class FoodChatCommands
Inheritance
System.Object
FoodChatCommands
Assembly: Eco.Gameplay.dll
Syntax
[ChatCommandHandler]
public static class FoodChatCommands : Object
Methods
ClearStomach(User)
Declaration
[ChatSubCommand]
public static void ClearStomach(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Crave(User, User, String)
Declaration
[ChatSubCommand]
public static void Crave(User user, User target = null, string foodName = null)
Parameters
Type |
Name |
Description |
User |
user |
|
User |
target |
|
System.String |
foodName |
|
Digest(User)
Declaration
[ChatSubCommand]
public static void Digest(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Eat(User, Int32)
Declaration
[ChatSubCommand]
public static void Eat(User user, int amount = -1)
Parameters
Type |
Name |
Description |
User |
user |
|
System.Int32 |
amount |
|
Food(User)
Declaration
[ChatCommand]
public static void Food(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Work(User, Int32)
Declaration
[ChatSubCommand]
public static void Work(User user, int useCalories = 100000)
Parameters
Type |
Name |
Description |
User |
user |
|
System.Int32 |
useCalories |
|