Class SingularityLevelChangedEvent
An event raised whenever a singularity changes its level.
Inheritance
System.Object
SingularityLevelChangedEvent
Namespace: Content.Shared.Singularity.Events
Assembly: Content.Shared.dll
Syntax
public sealed class SingularityLevelChangedEvent : EntityEventArgs
Constructors
| Improve this Doc View SourceSingularityLevelChangedEvent(Byte, Byte, SingularityComponent)
Declaration
public SingularityLevelChangedEvent(byte newValue, byte oldValue, SingularityComponent singularity)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | newValue | |
System.Byte | oldValue | |
SingularityComponent | singularity |
Fields
| Improve this Doc View SourceNewValue
The new level of the singularity.
Declaration
public readonly byte NewValue
Field Value
Type | Description |
---|---|
System.Byte |
OldValue
The previous level of the singularity.
Declaration
public readonly byte OldValue
Field Value
Type | Description |
---|---|
System.Byte |
Singularity
The singularity that just changed level.
Declaration
public readonly SingularityComponent Singularity
Field Value
Type | Description |
---|---|
SingularityComponent |