ShareFacts¶
Namespace Nfty.Core.Publish.Community in assembly Nfty.Core.
What ShareCheck.CheckAsync() learned about a packed Set.
Constructors¶
ShareFacts(IReadOnlyList<string>, int, int, int, bool, bool, string?, string, string, string)¶
public ShareFacts(IReadOnlyList<string> Problems, int Assets, int Width, int Height, bool Models, bool IncludesCookBook, string? CookbookSha256, string Collection, string Fingerprint, string FileSha256);
Parameters
Problems(IReadOnlyList<string>) - What keeps the Set out of the gallery, inShareRules' words; empty when it may be shared. When not empty every other member is a default.Assets(int) - How many assets the Set holds.Width(int) - Canvas width in pixels.Height(int) - Canvas height in pixels.Models(bool) - Whether the Set carries 3D models.IncludesCookBook(bool) - Whether the Set's own CookBook rides inside it.CookbookSha256(string?) - The hash of the CookBook that made the Set, asset.jsonrecords it, or null.Collection(string) - The collection's name.Fingerprint(string) - Lowercase hex SHA-256 of the assets' DNA in number order: the same for the same assets whatever else was packed with them, different once the Set is extended.FileSha256(string) - Lowercase hex SHA-256 of the.setfile itself, which is what a download is checked against.
Properties¶
Assets¶
How many assets the Set holds.
Collection¶
The collection's name.
CookbookSha256¶
The hash of the CookBook that made the Set, as set.json records it, or null.
FileSha256¶
Lowercase hex SHA-256 of the .set file itself, which is what a download is checked against.
Fingerprint¶
Lowercase hex SHA-256 of the assets' DNA in number order: the same for the same assets whatever else was packed with them, different once the Set is extended.
Height¶
Canvas height in pixels.
IncludesCookBook¶
Whether the Set's own CookBook rides inside it.
Models¶
Whether the Set carries 3D models.
Problems¶
What keeps the Set out of the gallery, in ShareRules' words; empty when it may be shared. When not empty every other member is a default.
Width¶
Canvas width in pixels.