1
0

GuidebookDataAttribute.cs 537 B

123456789101112
  1. namespace Content.Shared.Guidebook;
  2. /// <summary>
  3. /// Indicates that GuidebookDataSystem should include this field/property when
  4. /// scanning entity prototypes for values to extract.
  5. /// </summary>
  6. /// <remarks>
  7. /// Note that this will not work for client-only components, because the data extraction
  8. /// is done on the server (it uses reflection, which is blocked by the sandbox on clients).
  9. /// </remarks>
  10. [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
  11. public sealed class GuidebookDataAttribute : Attribute { }