ArchivesManager class

Manages the extraction and handling of game archive files.

Responsible for extracting native libraries from JAR files and organizing them for use by the Minecraft client.

Constructors

ArchivesManager.new({OperationProgressCallback? onOperationProgress, int progressReportRate = 10})
Creates a new archives manager instance.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

calculateSha1Hash(String filePath) Future<String>
Calculates SHA-1 hash of a file.
extractNativeLibraries({required List<Library> libraries, required String versionId, required String gameDir, required String librariesDir, required dynamic getNativesDir(String path), required dynamic downloadFile(String url, String path, {int? expectedSize, String? resourceName}), List<String>? additionalJars}) Future<String>
Extracts platform-specific native libraries from JAR files.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited