clean up a bunch of R&D code (#13071)
* clean up a bunch of R&D code * don't store components * brug * speedrun some sloth review
This commit is contained in:
@@ -1,24 +1,12 @@
|
||||
namespace Content.Server.Research.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
public sealed class ResearchPointSourceComponent : ResearchClientComponent
|
||||
public sealed class ResearchPointSourceComponent : Component
|
||||
{
|
||||
[DataField("pointspersecond")]
|
||||
private int _pointsPerSecond;
|
||||
[DataField("active")]
|
||||
private bool _active;
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public int PointsPerSecond
|
||||
{
|
||||
get => _pointsPerSecond;
|
||||
set => _pointsPerSecond = value;
|
||||
}
|
||||
[DataField("pointspersecond"), ViewVariables(VVAccess.ReadWrite)]
|
||||
public int PointsPerSecond;
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public bool Active
|
||||
{
|
||||
get => _active;
|
||||
set => _active = value;
|
||||
}
|
||||
[DataField("active"), ViewVariables(VVAccess.ReadWrite)]
|
||||
public bool Active;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user