Struct LauncherPathEntry
- Namespace
- Hi3Helper.Plugin.Core.Management.Api
- Assembly
- Hi3Helper.Plugin.Core.dll
Entry of the path used by the launcher assets.
public struct LauncherPathEntry : IDisposable
- Implements
- Inherited Members
- Extension Methods
Constructors
LauncherPathEntry()
Entry of the path used by the launcher assets.
public LauncherPathEntry()
Properties
FileHash
The hash of the file. This is used to verify the integrity of the file.
public readonly PluginDisposableMemory<byte> FileHash { get; }
Property Value
Path
The local path of where the asset is stored.
public readonly string? Path { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Write(ReadOnlySpan<char>, Span<byte>)
Write the strings into the current struct.
public void Write(ReadOnlySpan<char> path, Span<byte> fileHash)
Parameters
pathReadOnlySpan<char>The local path of where the asset is stored.
fileHashSpan<byte>The hash of the file. This is used to verify the integrity of the file.