freeso/TSOClient/FSO.Server.DataService/Framework/Attributes/Key.cs
riperiperi b57ebbd141 Cleanup: Remove most unused usings and MPL per-file licenses
MPL per-file was used in older project files, but should apply to the whole project, so having it there was redundant.
2023-11-25 03:45:29 +00:00

20 lines
842 B
C#

using System;
namespace FSO.Common.DataService.Framework.Attributes
{
/// <summary>
/// The original TSO game is C++. It seems to me like TSO used to have some fixed size arrays in the data model and kept the
/// ram alive for them. Instead of removing an item from an array it would null a specific field in the child and expect
/// the code to not count it. This does not work well in a fully object based system so these decorations help define
/// the intended behavior for the DataService to handle.
///
/// If this decoration is on an attribute and the value is set to null (0) the parent object is deleted (removed from arrays)
/// </summary>
[AttributeUsage(AttributeTargets.Property, Inherited = true)]
public class Key : Attribute
{
public Key()
{
}
}
}