Interface IMyRandomCargoEntityComponent
Describes entity component MyRandomCargoEntityComponent
Namespace: Sandbox.ModAPI
Assembly: Sandbox.Common.dll
Syntax
public interface IMyRandomCargoEntityComponent
Properties
ContainerType
Determines what cargo will be spawned when calling SpawnRandomCargo()
Declaration
string ContainerType { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
SpawnRandomCargo()
Spawns random cargo into the container
Declaration
void SpawnRandomCargo()