Class ContentManifest.Manifest
- Namespace
- McServerLauncher.Services
- Assembly
- McServerLauncher.dll
One jar: what it offers under what names, and what it needs to be there.
public record ContentManifest.Manifest : IEquatable<ContentManifest.Manifest>
- Inheritance
-
ContentManifest.Manifest
- Implements
- Inherited Members
Constructors
Manifest(string, IReadOnlyList<string>, IReadOnlyList<string>)
One jar: what it offers under what names, and what it needs to be there.
public Manifest(string FileName, IReadOnlyList<string> Provides, IReadOnlyList<string> Requires)
Parameters
FileNamestringThe jar's own file name, for saying who needs what.
ProvidesIReadOnlyList<string>Every id this jar answers to, including its own.
RequiresIReadOnlyList<string>Ids that must be present for it to load.
Properties
FileName
The jar's own file name, for saying who needs what.
public string FileName { get; init; }
Property Value
IsSilent
True when the jar said nothing this app can act on.
public bool IsSilent { get; }
Property Value
Provides
Every id this jar answers to, including its own.
public IReadOnlyList<string> Provides { get; init; }
Property Value
Requires
Ids that must be present for it to load.
public IReadOnlyList<string> Requires { get; init; }
Property Value
Methods
Empty(string)
public static ContentManifest.Manifest Empty(string fileName)
Parameters
fileNamestring