Show / Hide Table of Contents

Class StorageSystem

Inheritance
System.Object
SharedStorageSystem
StorageSystem
Namespace: Content.Server.Storage.EntitySystems
Assembly: Content.Server.dll
Syntax
public sealed class StorageSystem : SharedStorageSystem

Methods

| Improve this Doc View Source

CloseNestedInterfaces(EntityUid, IPlayerSession, StorageComponent)

If the user has nested-UIs open (e.g., PDA UI open when pda is in a backpack), close them.

Declaration
public void CloseNestedInterfaces(EntityUid uid, IPlayerSession session, StorageComponent storageComp = null)
Parameters
Type Name Description
EntityUid uid
Robust.Server.Player.IPlayerSession session
StorageComponent storageComp
| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
Overrides
SharedStorageSystem.Initialize()
| Improve this Doc View Source

OpenStorageUI(EntityUid, EntityUid, StorageComponent, Boolean)

Opens the storage UI for an entity

Declaration
public override void OpenStorageUI(EntityUid uid, EntityUid entity, StorageComponent storageComp = null, bool silent = false)
Parameters
Type Name Description
EntityUid uid
EntityUid entity

The entity to open the UI for

StorageComponent storageComp
System.Boolean silent
| Improve this Doc View Source

PlayPickupAnimation(EntityUid, EntityCoordinates, EntityCoordinates, Angle, Nullable<EntityUid>)

Declaration
public override void PlayPickupAnimation(EntityUid uid, EntityCoordinates initialCoordinates, EntityCoordinates finalCoordinates, Angle initialRotation, EntityUid? user = null)
Parameters
Type Name Description
EntityUid uid
Robust.Shared.Map.EntityCoordinates initialCoordinates
Robust.Shared.Map.EntityCoordinates finalCoordinates
Angle initialRotation
System.Nullable<EntityUid> user
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾