Class SecretStashComponent
Logic for a secret slot stash, like plant pot or toilet cistern. Unlike ItemSlotsComponent it doesn't have interaction logic or verbs. Other classes like ToiletComponent should implement it.
Inheritance
System.Object
SecretStashComponent
Namespace: Content.Server.Storage.Components
Assembly: Content.Server.dll
Syntax
public sealed class SecretStashComponent : Component
Fields
| Improve this Doc View SourceItemContainer
Container used to keep secret stash item.
Declaration
public ContainerSlot ItemContainer
Field Value
Type | Description |
---|---|
Robust.Shared.Containers.ContainerSlot |
MaxItemSize
Max item size that can be fitted into secret stash.
Declaration
public int MaxItemSize
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
| Improve this Doc View SourceSecretPartName
IC secret stash name. For example "the toilet cistern". If empty string, will replace it with entity name in init.
Declaration
public string SecretPartName { get; set; }
Property Value
Type | Description |
---|---|
System.String |