mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-03 18:47:10 +02:00
17 lines
539 B
C#
17 lines
539 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>
|
|
public sealed class MapSaveIdComponent : Component
|
|
{
|
|
public int Uid { get; set; }
|
|
}
|
|
}
|