Class AnomalySystem
Inheritance
System.Object
AnomalySystem
Assembly: Content.Server.dll
Syntax
public sealed class AnomalySystem : SharedAnomalySystem
Fields
|
Improve this Doc
View Source
MaxParticleVariation
Declaration
public const float MaxParticleVariation = null
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MinParticleVariation
Declaration
public const float MinParticleVariation = null
Field Value
Type |
Description |
System.Single |
|
Methods
|
Improve this Doc
View Source
GetAnomalyPointValue(EntityUid, AnomalyComponent)
Gets the amount of research points generated per second for an anomaly.
Declaration
public int GetAnomalyPointValue(EntityUid anomaly, AnomalyComponent component = null)
Parameters
Returns
Type |
Description |
System.Int32 |
The amount of points
|
|
Improve this Doc
View Source
GetParticleLocale(AnomalousParticleType)
Gets the localized name of a particle.
Declaration
public string GetParticleLocale(AnomalousParticleType type)
Parameters
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetScannerMessage(AnomalyScannerComponent)
Declaration
public FormattedMessage GetScannerMessage(AnomalyScannerComponent component)
Parameters
Returns
Type |
Description |
Robust.Shared.Utility.FormattedMessage |
|
|
Improve this Doc
View Source
Initialize()
Declaration
public override void Initialize()
Overrides
|
Improve this Doc
View Source
InitializeCommands()
Declaration
public void InitializeCommands()
|
Improve this Doc
View Source
SpawnOnRandomGridLocation(EntityUid, String)
Declaration
public void SpawnOnRandomGridLocation(EntityUid grid, string toSpawn)
Parameters
Type |
Name |
Description |
EntityUid |
grid |
|
System.String |
toSpawn |
|
|
Improve this Doc
View Source
TryGeneratorCreateAnomaly(EntityUid, AnomalyGeneratorComponent)
Declaration
public void TryGeneratorCreateAnomaly(EntityUid uid, AnomalyGeneratorComponent component = null)
Parameters
|
Improve this Doc
View Source
Update(Single)
Declaration
public override void Update(float frameTime)
Parameters
Type |
Name |
Description |
System.Single |
frameTime |
|
Overrides
|
Improve this Doc
View Source
UpdateGeneratorUi(EntityUid, AnomalyGeneratorComponent)
Declaration
public void UpdateGeneratorUi(EntityUid uid, AnomalyGeneratorComponent component)
Parameters
|
Improve this Doc
View Source
UpdateScannerUi(EntityUid, AnomalyScannerComponent)
Declaration
public void UpdateScannerUi(EntityUid uid, AnomalyScannerComponent component = null)
Parameters
|
Improve this Doc
View Source
UpdateScannerWithNewAnomaly(EntityUid, EntityUid, AnomalyScannerComponent, AnomalyComponent)
Declaration
public void UpdateScannerWithNewAnomaly(EntityUid scanner, EntityUid anomaly, AnomalyScannerComponent scannerComp = null, AnomalyComponent anomalyComp = null)
Parameters
|
Improve this Doc
View Source
UpdateVesselAppearance(EntityUid, AnomalyVesselComponent)
Updates the appearance of an anomaly vessel
based on whether or not it has an anomaly
Declaration
public void UpdateVesselAppearance(EntityUid uid, AnomalyVesselComponent component = null)
Parameters