Summary

Configuration of a <see cref="T:Sandbox.Project" />.

Properties

AssetsDirectory The directory housing this addon (TODO)
Directory The directory housing this addon (TODO)
EditorReferences A list of packages that this package uses but there is no need to install. For example, a map package might use a model package - but there is no need to download that model package because any usage will organically be included in the manifest. However, when loading this item in the editor, it'd make sense to install these 'cloud' packages.
FullIdent Returns a combination of Org and Ident - for example "facepunch.sandbox" or "valve.cs".
Ident The ident of this addon. For example "sandbox", "cs" or "dm98"
IncludeSourceFiles If true then we'll include all the source files
IsStandaloneOnly Whether or not this project is standalone-only, and supports disabling the whitelist, compiling with /unsafe, etc.
Metadata Custom key-value storage for this project.
Mounts A list of mounts that are required
Org The ident of the org that owns this addon. For example "facepunch", "valve".
PackageReferences A list of packages that this package depends on. These should be installed alongside this package.
PackageType Type of the package.
Resources A list of paths in which to look for extra assets to upload with the addon. Note that compiled asset files are automatically included.
Schema The version of the addon file. Allows us to upgrade internally.
Title The human readable title, for example "Sandbox", "Counter-Strike"
Type The type of addon. Current valid values are "game"

Methods

GetMetaOrDefault
SetMeta
ToJson Serialize the entire config to a JSON string.
TryGetMeta
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.