Replace usages of customTypeSerializer PrototypeIdListSerializer with something that doesn't take 20 separate words to type out (#37959)
* Replace usages of customTypeSerializer PrototypeIdListSerializer with something that doesn't take 20 separate words to type out * Missed one * Missed another * Fix data field ids
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
using Content.Shared.Maps;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Shared.Tiles
|
||||
{
|
||||
@@ -12,8 +12,8 @@ namespace Content.Shared.Tiles
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public sealed partial class FloorTileComponent : Component
|
||||
{
|
||||
[DataField("outputs", customTypeSerializer: typeof(PrototypeIdListSerializer<ContentTileDefinition>))]
|
||||
public List<string>? OutputTiles;
|
||||
[DataField]
|
||||
public List<ProtoId<ContentTileDefinition>>? Outputs;
|
||||
|
||||
[DataField("placeTileSound")] public SoundSpecifier PlaceTileSound =
|
||||
new SoundPathSpecifier("/Audio/Items/genhit.ogg")
|
||||
|
||||
Reference in New Issue
Block a user