SignedPackage
csharp
public static class SignedPackageNamespace NodeWorld.SDK.Editor.
The signed part of a world's package: the file list of manifest.json, and manifest.sig next to it.
Methods
DescribeFiles
csharp
public static WorldManifestFile[] DescribeFiles(string packageFolder, IReadOnlyList<string> relativePaths)The entries of relativePaths (files of the package packageFolder, / between folders): size and SHA-256 read from the disk.
Write
csharp
public static byte[] Write(WorldManifest manifest, CreatorKey key, string packageFolder)Writes manifest as manifest.json in packageFolder (in this SDK's format, with key's public key) and its signature by key as manifest.sig, then checks both as a player's game would. Returns the manifest's bytes.
