mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-11-19 13:17:10 +00:00
clear warnings
This commit is contained in:
2 files changed
+5
-1
No files matched your search
@@ -42,7 +42,10 @@ public class CustomColor(StringNames? nameId, string? rawId, Color32 mainColor,
|
||||
|
||||
return name.GetValueOrDefault();
|
||||
}
|
||||
internal set => name = value;
|
||||
internal set
|
||||
{
|
||||
name = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -5,6 +5,7 @@ namespace MiraAPI.Colors;
|
||||
/// <summary>
|
||||
/// Used to mark a class for <see cref="CustomColor"/> registration.
|
||||
/// </summary>
|
||||
/// <param name="idPrefix">The group translation ID prefix to attach to color names before registration.</param>
|
||||
[AttributeUsage(AttributeTargets.Class)]
|
||||
public class RegisterCustomColorsAttribute(string idPrefix) : Attribute
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user