Show / Hide Table of Contents

Class StealthClothingSystem

Handles the toggle action and disables stealth when clothing is unequipped.

Inheritance
System.Object
StealthClothingSystem
Namespace: Content.Shared.Clothing.EntitySystems
Assembly: Content.Shared.dll
Syntax
public sealed class StealthClothingSystem : EntitySystem

Methods

| Improve this Doc View Source

Initialize()

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

SetEnabled(EntityUid, EntityUid, Boolean, StealthClothingComponent)

Sets the clothing's stealth effect for the user.

Declaration
public bool SetEnabled(EntityUid uid, EntityUid user, bool enabled, StealthClothingComponent comp = null)
Parameters
Type Name Description
EntityUid uid
EntityUid user
System.Boolean enabled
StealthClothingComponent comp
Returns
Type Description
System.Boolean

True if it was changed, false otherwise

  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾