Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -7,7 +7,7 @@ namespace Content.Server.Sound.Components
|
||||
/// Whenever a <see cref="TriggerEvent"/> is run play a sound in PVS range.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed class EmitSoundOnTriggerComponent : BaseEmitSoundComponent
|
||||
public sealed partial class EmitSoundOnTriggerComponent : BaseEmitSoundComponent
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace Content.Server.Sound.Components
|
||||
/// Simple sound emitter that emits sound on AfterActivatableUIOpenEvent
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed class EmitSoundOnUIOpenComponent : BaseEmitSoundComponent
|
||||
public sealed partial class EmitSoundOnUIOpenComponent : BaseEmitSoundComponent
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace Content.Server.Sound.Components
|
||||
/// Rolls to play a sound every few seconds.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed class SpamEmitSoundComponent : BaseEmitSoundComponent
|
||||
public sealed partial class SpamEmitSoundComponent : BaseEmitSoundComponent
|
||||
{
|
||||
[DataField("accumulator")]
|
||||
public float Accumulator = 0f;
|
||||
|
||||
Reference in New Issue
Block a user