Show / Hide Table of Contents

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 Source

ItemContainer

Container used to keep secret stash item.

Declaration
public ContainerSlot ItemContainer
Field Value
Type Description
Robust.Shared.Containers.ContainerSlot
| Improve this Doc View Source

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 Source

SecretPartName

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
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾