Show / Hide Table of Contents

Class SharedNinjaGlovesSystem

Provides the toggle action and handles examining and unequipping.

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

Fields

| Improve this Doc View Source

Appearance

Declaration
protected readonly SharedAppearanceSystem Appearance
Field Value
Type Description
SharedAppearanceSystem
| Improve this Doc View Source

Interaction

Declaration
protected readonly SharedInteractionSystem Interaction
Field Value
Type Description
SharedInteractionSystem
| Improve this Doc View Source

Popup

Declaration
protected readonly SharedPopupSystem Popup
Field Value
Type Description
SharedPopupSystem

Methods

| Improve this Doc View Source

AbilityCheck(EntityUid, BeforeInteractHandEvent, out EntityUid)

GloveCheck but for abilities stored on the player, skips some checks. Intended to be more generic, doesn't require the user to be a ninja or have any ninja equipment.

Declaration
public bool AbilityCheck(EntityUid uid, BeforeInteractHandEvent args, out EntityUid target)
Parameters
Type Name Description
EntityUid uid
BeforeInteractHandEvent args
EntityUid target
Returns
Type Description
System.Boolean
| Improve this Doc View Source

DisableGloves(EntityUid, NinjaGlovesComponent)

Disable glove abilities and show the popup if they were enabled previously.

Declaration
public void DisableGloves(EntityUid uid, NinjaGlovesComponent comp = null)
Parameters
Type Name Description
EntityUid uid
NinjaGlovesComponent comp
| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾