2026-06-14 10:23:09 +01:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
2020-12-22 03:13:43 +00:00
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
|
|
using System;
|
2020-03-22 19:05:26 +00:00
|
|
|
|
2020-04-09 10:33:16 +01:00
|
|
|
[AttributeUsage(AttributeTargets.Class)]
|
|
|
|
|
public class EntityTypeRestrictionAttribute : Attribute
|
|
|
|
|
{
|
2020-04-11 19:18:02 +01:00
|
|
|
public readonly HullType Type;
|
2020-04-09 10:33:16 +01:00
|
|
|
|
2020-04-11 19:18:02 +01:00
|
|
|
public EntityTypeRestrictionAttribute(HullType type)
|
2020-04-09 10:33:16 +01:00
|
|
|
{
|
|
|
|
|
Type = type;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-05-23 01:19:07 +01:00
|
|
|
// public class CategoryAttribute : Attribute
|
|
|
|
|
// {
|
|
|
|
|
// public readonly Type Type;
|
|
|
|
|
//
|
|
|
|
|
// public CategoryAttribute(Type type)
|
|
|
|
|
// {
|
|
|
|
|
// Type = type;
|
|
|
|
|
// }
|
|
|
|
|
// }
|