mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
18 lines
571 B
C#
18 lines
571 B
C#
using Robust.Shared.GameObjects;
|
|
|
|
namespace Robust.Server.GameObjects
|
|
{
|
|
/// <summary>
|
|
/// Metadata component used to keep consistent UIDs inside map files cross saving.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// This component stores the previous map UID of entities from map load.
|
|
/// This can then be used to re-serialize the entity with the same UID for the merge driver to recognize.
|
|
/// </remarks>
|
|
[RegisterComponent]
|
|
public sealed partial class MapSaveIdComponent : Component
|
|
{
|
|
public int Uid { get; set; }
|
|
}
|
|
}
|