Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Content.Client.Toggleable;
|
||||
/// visuals. This will modify the color of any attached point lights.
|
||||
/// </remarks>
|
||||
[RegisterComponent]
|
||||
public sealed class ToggleableLightVisualsComponent : Component
|
||||
public sealed partial class ToggleableLightVisualsComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Sprite layer that will have its visibility toggled when this item is toggled.
|
||||
@@ -28,5 +28,5 @@ public sealed class ToggleableLightVisualsComponent : Component
|
||||
/// Layers to add to the sprite of the player that is wearing this entity (while the component is toggled on).
|
||||
/// </summary>
|
||||
[DataField("clothingVisuals")]
|
||||
public readonly Dictionary<string, List<PrototypeLayerData>> ClothingVisuals = new();
|
||||
public Dictionary<string, List<PrototypeLayerData>> ClothingVisuals = new();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user