Fix CA1018

This commit is contained in:
RoosterDragon
2023-03-12 11:31:17 +00:00
committed by abcdefg30
parent f09241d263
commit ff799303b0
3 changed files with 8 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ namespace OpenRA.Scripting
}
// For traitinfos that provide actor / player commands
[AttributeUsage(AttributeTargets.Class)]
public sealed class ScriptPropertyGroupAttribute : Attribute
{
public readonly string Category;
@@ -40,8 +41,10 @@ namespace OpenRA.Scripting
}
// For property groups that are safe to initialize invoke on destroyed actors
[AttributeUsage(AttributeTargets.Class)]
public sealed class ExposedForDestroyedActors : Attribute { }
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Method)]
public sealed class ScriptActorPropertyActivityAttribute : Attribute { }
public abstract class ScriptActorProperties
@@ -115,6 +118,7 @@ namespace OpenRA.Scripting
}
}
[AttributeUsage(AttributeTargets.Class)]
public sealed class ScriptGlobalAttribute : Attribute
{
public readonly string Name;