Summary

Represents an on-disk project.

Properties

Active True if this project is active
Broken True if this project failed to load properly for some reason
Config Configuration of the project.
ConfigFilePath Absolute path to the .addon file
EditUrl The URL to the package's page for editing
HasCompiler Whether the project's code has a compiler assigned.
IsBuiltIn If true this project isn't a 'real' project. It's likely a temporary project created with the intention to configure and publish a single asset.
IsPublished Returns true if this project has previously been published. This is kind of a guess though because all it does is look to see if we have a published package cached with the same ident.
IsTransient If true this project isn't a 'real' project. It's likely a temporary project created with the intention to configure and publish a single asset.
LastOpened When did the user last open this project?
Package The package for this project. This is a mock up of the actual package.
Pinned True if this project is pinned, we'll prioritise it when sorting
RootDirectory Root directory of this project
ViewUrl The URL to the package's page for viewing/linking

Methods

GetAssetsPath Absolute path to the assets folder of the project, or <see langword="null" /> if not set.
GetCodePath Absolute path to the code folder of the project.
GetLocalizationPath Absolute path to the localization folder of the project, or <see langword="null" /> if not set.
GetRootPath Absolute path to the location of the <c>.sbproj</c> file of the project.
HasAssetsPath Returns true if the Assets path exists
HasCodePath Returns true if the Code path exists
IsSourcePublish Return true if this project type uploads all the source files when it's published

Static Properties

Current Current open project.

Static Methods

Load
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.