mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-15 14:52:35 +02:00
Should allow something like OpenDream to provide unsandboxed-only DLLs easily.
19 lines
596 B
C#
19 lines
596 B
C#
using System;
|
|
|
|
namespace Robust.Shared.ContentPack;
|
|
|
|
/// <summary>
|
|
/// If defined on an assembly, causes Robust to skip trying to load this assembly if running on sandboxed mode.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// If you have some sandbox-unsafe code you want to optionally enable for your project,
|
|
/// you can put the code in a leaf project,
|
|
/// tag the assembly with this attribute,
|
|
/// and then detect at runtime whether the assembly was loaded to enable these features.
|
|
/// </remarks>
|
|
[AttributeUsage(AttributeTargets.Assembly)]
|
|
public sealed class SkipIfSandboxedAttribute : Attribute
|
|
{
|
|
|
|
}
|