Interface ILedger
Namespace: SociallyDistant.Core.Core
Assembly: SociallyDistant.Framework.dll
Syntax
public interface ILedger
Methods
Deposit(CraftingIngredient, int)
Declaration
void Deposit(CraftingIngredient ingredient, int amount)
Parameters
| Type | Name | Description |
|---|---|---|
| CraftingIngredient | ingredient | |
| int | amount |
GetItemCount(CraftingIngredient)
Declaration
int GetItemCount(CraftingIngredient ingredient)
Parameters
| Type | Name | Description |
|---|---|---|
| CraftingIngredient | ingredient |
Returns
| Type | Description |
|---|---|
| int |
Withdraw(CraftingIngredient, int)
Declaration
bool Withdraw(CraftingIngredient ingredient, int amount)
Parameters
| Type | Name | Description |
|---|---|---|
| CraftingIngredient | ingredient | |
| int | amount |
Returns
| Type | Description |
|---|---|
| bool |