Show / Hide Table of Contents

Class SharedNinjaSuitSystem

Handles (un)equipping and provides some API functions.

Inheritance
System.Object
SharedNinjaSuitSystem
NinjaSuitSystem
NinjaSuitSystem
Namespace: Content.Shared.Ninja.Systems
Assembly: Content.Shared.dll
Syntax
public abstract class SharedNinjaSuitSystem : EntitySystem

Fields

| Improve this Doc View Source

_ninja

Declaration
protected readonly SharedSpaceNinjaSystem _ninja
Field Value
Type Description
SharedSpaceNinjaSystem
| Improve this Doc View Source

StealthClothing

Declaration
protected readonly StealthClothingSystem StealthClothing
Field Value
Type Description
StealthClothingSystem
| Improve this Doc View Source

UseDelay

Declaration
protected readonly UseDelaySystem UseDelay
Field Value
Type Description
UseDelaySystem

Methods

| Improve this Doc View Source

Initialize()

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

NinjaEquippedSuit(EntityUid, NinjaSuitComponent, EntityUid, SpaceNinjaComponent)

Called when a suit is equipped by a space ninja. In the future it might be changed to an explicit activation toggle/verb like gloves are.

Declaration
protected virtual void NinjaEquippedSuit(EntityUid uid, NinjaSuitComponent comp, EntityUid user, SpaceNinjaComponent ninja)
Parameters
Type Name Description
EntityUid uid
NinjaSuitComponent comp
EntityUid user
SpaceNinjaComponent ninja
| Improve this Doc View Source

RevealNinja(EntityUid, EntityUid, NinjaSuitComponent, StealthClothingComponent)

Force uncloaks the user and disables suit abilities.

Declaration
public void RevealNinja(EntityUid uid, EntityUid user, NinjaSuitComponent comp = null, StealthClothingComponent stealthClothing = null)
Parameters
Type Name Description
EntityUid uid
EntityUid user
NinjaSuitComponent comp
StealthClothingComponent stealthClothing
| Improve this Doc View Source

SuitWattage(EntityUid, NinjaSuitComponent)

Returns the power used by a suit

Declaration
public float SuitWattage(EntityUid uid, NinjaSuitComponent suit = null)
Parameters
Type Name Description
EntityUid uid
NinjaSuitComponent suit
Returns
Type Description
System.Single
| Improve this Doc View Source

UserUnequippedSuit(EntityUid, NinjaSuitComponent, EntityUid)

Called when a suit is unequipped, not necessarily by a space ninja. In the future it might be changed to also have explicit deactivation via toggle.

Declaration
protected virtual void UserUnequippedSuit(EntityUid uid, NinjaSuitComponent comp, EntityUid user)
Parameters
Type Name Description
EntityUid uid
NinjaSuitComponent comp
EntityUid user
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾