Remove cloneData parameter from AutoNetworkedField (#20596)

This commit is contained in:
DrSmugleaf
2023-09-29 22:14:16 -07:00
committed by GitHub
parent 379de4b22a
commit 2f11a749f6
11 changed files with 21 additions and 21 deletions

View File

@@ -19,7 +19,7 @@ public sealed partial class HumanoidAppearanceComponent : Component
[DataField]
public Dictionary<HumanoidVisualLayers, HumanoidSpeciesSpriteLayer> BaseLayers = new();
[DataField, AutoNetworkedField(true)]
[DataField, AutoNetworkedField]
public HashSet<HumanoidVisualLayers> PermanentlyHidden = new();
// Couldn't these be somewhere else?
@@ -36,7 +36,7 @@ public sealed partial class HumanoidAppearanceComponent : Component
/// Stored on the server, this is merged in the client into
/// all layer settings.
/// </summary>
[DataField, AutoNetworkedField(true)]
[DataField, AutoNetworkedField]
public Dictionary<HumanoidVisualLayers, CustomBaseLayerInfo> CustomBaseLayers = new();
/// <summary>
@@ -62,7 +62,7 @@ public sealed partial class HumanoidAppearanceComponent : Component
/// Visual layers currently hidden. This will affect the base sprite
/// on this humanoid layer, and any markings that sit above it.
/// </summary>
[DataField, AutoNetworkedField(true)]
[DataField, AutoNetworkedField]
public HashSet<HumanoidVisualLayers> HiddenLayers = new();
[DataField, AutoNetworkedField]