mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
* Debug connection screen * [ContentAccessAllowed] so I can use IStateManager on engine types. * Implement a default engine stylesheet. * awa * Fix an issue that can cause hangs when resolving a color. --------- Co-authored-by: moonheart08 <moonheart08@users.noreply.github.com> Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
18 lines
608 B
C#
18 lines
608 B
C#
using System;
|
|
using Robust.Shared.IoC;
|
|
|
|
namespace Robust.Shared.ContentPack;
|
|
|
|
// Yes this attribute is a crappy workaround because I cba to automatically infer this
|
|
// based on constructors or something. I'm lazy and want to code editor dockers, deal with it.
|
|
|
|
/// <summary>
|
|
/// Mark this type as content safe, which means <see cref="ModLoaderExt.IsContentTypeAccessAllowed"/> will pass for it.
|
|
/// This means it can be spawned dynamically with <see cref="IDynamicTypeFactory"/>.
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Class)]
|
|
internal sealed class ContentAccessAllowedAttribute : Attribute
|
|
{
|
|
|
|
}
|