PackageManifestclass

object→PackageManifest
Namespace
global
Assembly
Sandbox.Tools
Declaration
public class Editor.ProjectPublisher.PackageManifest

Constructors1

Showing 1 constructors

Methods6

Showing 6 methods

public System.Threading.Tasks.Task AddTextFile(string contents, string relativePath)PUBLIC

ParameterTypeDescription
contentsstring—
relativePathstring—
Returns:Task—

public System.Threading.Tasks.Task BuildFromAssets(Sandbox.Project project, Editor.IProgress progress = null, System.Threading.CancellationToken cancel = null)PUBLIC

ParameterTypeDescription
projectProject—
progress = nullIProgress—
cancel = nullCancellationToken—
Returns:Task—

public System.Threading.Tasks.Task BuildFromSource(Sandbox.Project addon, Editor.IProgress progress = null, System.Threading.CancellationToken cancel = null)PUBLIC

ParameterTypeDescription
addonProject—
progress = nullIProgress—
cancel = nullCancellationToken—
Returns:Task—

public static bool LooseFileAllowed(string file, bool allowSourceFiles)PUBLICSTATIC

ParameterTypeDescription
filestring—
allowSourceFilesbool—
Returns:bool—

public string ToJson()PUBLIC

Returns:string—

Properties5

Showing 5 properties

public System.Collections.Generic.HashSet`1<string> Editor.ProjectPublisher.PackageManifest.CodePackageReferences { get; set; }PUBLICGETSET

List of packages that the code references

Returns:HashSet<string>—

On this page