Also includes some (non critical) changes to the solution file to re-organize the Roslyn components.
20 lines
649 B
C#
20 lines
649 B
C#
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
|
|
|
namespace Content.Shared.Materials;
|
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState, AutoGenerateComponentPause]
|
|
public sealed partial class InsertingMaterialStorageComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The time when insertion ends.
|
|
/// </summary>
|
|
[DataField(customTypeSerializer: typeof(TimeOffsetSerializer)), AutoNetworkedField]
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
[AutoPausedField]
|
|
public TimeSpan EndTime;
|
|
|
|
[ViewVariables, AutoNetworkedField]
|
|
public Color? MaterialColor;
|
|
}
|