Class ContentCatalogChecks

Namespace
SurvivorsMaker.Editor
Assembly
SurvivorsMaker.Editor.dll

Checks of the look and sound catalogs a game uses. Findings are warnings: the game still runs, drawing the fallback look or staying silent. Long lists are folded into one issue per kind of problem.

public static class ContentCatalogChecks
Inheritance
ContentCatalogChecks
Inherited Members

Methods

CueKeyFields(SoundCueKeys)

Every string field of SoundCueKeys (event role → cue key), in declaration order.

public static List<KeyValuePair<string, string>> CueKeyFields(SoundCueKeys keys)

Parameters

keys SoundCueKeys

Returns

List<KeyValuePair<string, string>>

HasClip(SoundCue)

public static bool HasClip(SoundCue cue)

Parameters

cue SoundCue

Returns

bool

Sounds(SoundCatalogAsset)

public static List<ContentBrowserIssue> Sounds(SoundCatalogAsset catalog)

Parameters

catalog SoundCatalogAsset

Returns

List<ContentBrowserIssue>

Views(ContentAsset, ViewCatalogAsset)

public static List<ContentBrowserIssue> Views(ContentAsset content, ViewCatalogAsset catalog)

Parameters

content ContentAsset
catalog ViewCatalogAsset

Returns

List<ContentBrowserIssue>