This repository has been archived by the owner on May 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 137
/
StyleMetadata.cs
54 lines (45 loc) · 1.81 KB
/
StyleMetadata.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
using System.Collections.Generic;
namespace Styletor.Jsons
{
public class StyleMetadata
{
/// <summary>
/// User-visible name of this style
/// </summary>
public string Name = UnnamedName;
/// <summary>
/// User-visible description of this style
/// </summary>
public string Description = "";
/// <summary>
/// User-visible author name of this style
/// </summary>
public string Author = "";
/// <summary>
/// VRC build number this style was created for, i.e. "1137"
/// </summary>
public string? VrcBuildNumber;
/// <summary>
/// If true, this style is a mix-in and can be disabled or enabled (as opposed to chosen). It will be applied after VRC base style
/// </summary>
public bool IsMixin;
/// <summary>
/// Sorting priority of this mix-in relative to others.
/// Mixins with larger numbers will override properties from mixins with lower numbers.
/// User-chosen non-mixin style is applied at priority 0
/// </summary>
public int MixinPriority = 1;
/// <summary>
/// If true, this mix-in starts disabled by default.
/// Mostly useful for bundled styles.
/// </summary>
public bool DisabledByDefault;
/// <summary>
/// A list of image names that will be turned into grayscale and overridden.
/// VRChat has some graphics with baked-in colors, which usually makes them non-colorable.
/// Use this so that you don't have to include (copyrighted) VRChat assets turned grayscale into your skin.
/// </summary>
public List<string> SpritesToGrayscale = new();
public const string UnnamedName = "<unnamed>";
}
}