mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-04-19 13:59:22 -04:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
16 lines
321 B
C#
16 lines
321 B
C#
using System;
|
|
|
|
namespace Editor;
|
|
|
|
[AttributeUsage( AttributeTargets.Class )]
|
|
public class DropObjectAttribute : System.Attribute
|
|
{
|
|
public string Type { get; }
|
|
public string[] Extensions { get; }
|
|
public DropObjectAttribute( string type, params string[] extensions )
|
|
{
|
|
Type = type;
|
|
Extensions = extensions;
|
|
}
|
|
}
|