Show / Hide Table of Contents

Class NukeSystem

Inheritance
System.Object
NukeSystem
Namespace: Content.Server.Nuke
Assembly: Content.Server.dll
Syntax
public sealed class NukeSystem : EntitySystem

Methods

| Improve this Doc View Source

ActivateBomb(EntityUid, NukeComponent, Nullable<TransformComponent>)

Force bomb to explode immediately

Declaration
public void ActivateBomb(EntityUid uid, NukeComponent component = null, TransformComponent? transform = null)
Parameters
Type Name Description
EntityUid uid
NukeComponent component
System.Nullable<TransformComponent> transform
| Improve this Doc View Source

ArmBomb(EntityUid, NukeComponent)

Force a nuclear bomb to start a countdown timer

Declaration
public void ArmBomb(EntityUid uid, NukeComponent component = null)
Parameters
Type Name Description
EntityUid uid
NukeComponent component
| Improve this Doc View Source

DisarmBomb(EntityUid, NukeComponent)

Stop nuclear bomb timer

Declaration
public void DisarmBomb(EntityUid uid, NukeComponent component = null)
Parameters
Type Name Description
EntityUid uid
NukeComponent component
| Improve this Doc View Source

GenerateRandomNumberString(Int32)

Declaration
public string GenerateRandomNumberString(int length)
Parameters
Type Name Description
System.Int32 length
Returns
Type Description
System.String
| Improve this Doc View Source

Initialize()

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

SetRemainingTime(EntityUid, Single, NukeComponent)

Set remaining time value

Declaration
public void SetRemainingTime(EntityUid uid, float timer, NukeComponent component = null)
Parameters
Type Name Description
EntityUid uid
System.Single timer
NukeComponent component
| Improve this Doc View Source

ToggleBomb(EntityUid, NukeComponent)

Toggle bomb arm button

Declaration
public void ToggleBomb(EntityUid uid, NukeComponent component = null)
Parameters
Type Name Description
EntityUid uid
NukeComponent component
| Improve this Doc View Source

Update(Single)

Declaration
public override void Update(float frameTime)
Parameters
Type Name Description
System.Single frameTime
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾