Add Serializable, NetSerializable attributes to DecalPaintMode (#38921)
Serializable, Net" on DecalPaintMode
This commit is contained in:
@@ -2,6 +2,7 @@ using Content.Shared.Decals;
|
|||||||
using Robust.Shared.Audio;
|
using Robust.Shared.Audio;
|
||||||
using Robust.Shared.GameStates;
|
using Robust.Shared.GameStates;
|
||||||
using Robust.Shared.Prototypes;
|
using Robust.Shared.Prototypes;
|
||||||
|
using Robust.Shared.Serialization;
|
||||||
|
|
||||||
namespace Content.Shared.SprayPainter.Components;
|
namespace Content.Shared.SprayPainter.Components;
|
||||||
|
|
||||||
@@ -109,6 +110,7 @@ public sealed partial class SprayPainterComponent : Component
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// A set of operating modes for decal painting.
|
/// A set of operating modes for decal painting.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Serializable, NetSerializable]
|
||||||
public enum DecalPaintMode : byte
|
public enum DecalPaintMode : byte
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user