Class NukeSystem
Inheritance
System.Object
NukeSystem
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
|
Improve this Doc
View Source
DisarmBomb(EntityUid, NukeComponent)
Declaration
public void DisarmBomb(EntityUid uid, NukeComponent component = null)
Parameters
|
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)
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)
Declaration
public void ToggleBomb(EntityUid uid, NukeComponent component = null)
Parameters
|
Improve this Doc
View Source
Update(Single)
Declaration
public override void Update(float frameTime)
Parameters
Type |
Name |
Description |
System.Single |
frameTime |
|