Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -11,7 +11,7 @@ namespace Content.Shared.Radiation.Components;
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
[Access(typeof(SharedGeigerSystem))]
|
||||
public sealed class GeigerComponent : Component
|
||||
public sealed partial class GeigerComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// If true it will be active only when player equipped it.
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Content.Shared.Radiation.Components;
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
[Access(typeof(RadiationPulseSystem))]
|
||||
public sealed class RadiationPulseComponent : Component
|
||||
public sealed partial class RadiationPulseComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Timestamp when component was assigned to this entity.
|
||||
|
||||
@@ -4,7 +4,7 @@ namespace Content.Shared.Radiation.Components;
|
||||
/// Irradiate all objects in range.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed class RadiationSourceComponent : Component
|
||||
public sealed partial class RadiationSourceComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Radiation intensity in center of the source in rads per second.
|
||||
|
||||
Reference in New Issue
Block a user