Class RustItemSpawner
Inheritance
System.Object
RustItemSpawner
Assembly: OpenMod.Rust.dll
Syntax
public class RustItemSpawner : object, IItemSpawner
Methods
|
Improve this Doc
View Source
GiveItemAsync(IInventory, String, IItemState)
Declaration
public Task<IItemInstance> GiveItemAsync(IInventory inventory, string itemId, IItemState state = null)
Parameters
Returns
|
Improve this Doc
View Source
SpawnItemAsync(Vector3, String, IItemState)
Declaration
public Task<IItemDrop> SpawnItemAsync(Vector3 position, string itemId, IItemState state = null)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|
System.String |
itemId |
|
IItemState |
state |
|
Returns
Implements
Extension Methods