Class SharedStunProviderSystem
All interaction logic is implemented serverside. This is in shared for API and access.
Namespace: Content.Shared.Ninja.Systems
Assembly: Content.Shared.dll
Syntax
public abstract class SharedStunProviderSystem : EntitySystem
Methods
| Improve this Doc View SourceSetBattery(EntityUid, Nullable<EntityUid>, StunProviderComponent)
Set the battery field on the stun provider.
Declaration
public void SetBattery(EntityUid uid, EntityUid? battery, StunProviderComponent comp = null)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | uid | |
System.Nullable<EntityUid> | battery | |
StunProviderComponent | comp |
SetNoPowerPopup(EntityUid, String, StunProviderComponent)
Set the no power popup field on the stun provider.
Declaration
public void SetNoPowerPopup(EntityUid uid, string popup, StunProviderComponent comp = null)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | uid | |
System.String | popup | |
StunProviderComponent | comp |