s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Classes
Package
chevron_left
Classes
class
Package
search
Constructors
functions
Package
Properties
data_object
ApiVersion
data_object
Archived
data_object
CanEdit
data_object
Collections
data_object
Created
data_object
Description
data_object
EditorReferences
data_object
EngineVersion
data_object
ErrorRate
data_object
Favourited
data_object
FileSize
data_object
FullIdent
data_object
Ident
data_object
Interaction
data_object
IsFavourite
data_object
IsRemote
data_object
LatestNewsPost
data_object
LoadingScreen
data_object
Org
data_object
PackageReferences
remove_circle
PackageType
data_object
PrimaryAsset
data_object
Public
data_object
Referenced
data_object
Referencing
data_object
Reviews
data_object
Revision
data_object
Screenshots
remove_circle
Source
data_object
Summary
data_object
Tags
data_object
Thumb
data_object
ThumbTall
data_object
ThumbWide
data_object
Title
data_object
TypeName
data_object
Updated
data_object
Url
data_object
Usage
data_object
VideoThumb
data_object
VotesDown
data_object
VotesUp
Methods
functions
GetAchievements
functions
GetCachedMeta
functions
GetMeta
functions
GetValue
functions
IsMounted
functions
MountAsync
Static Methods
functions
Fetch
functions
FetchAsync
functions
FetchVersions
functions
FindAsync
functions
FormatIdent
functions
GetCachedTitle
functions
ListAsync
functions
SetFavouriteAsync
functions
SetVoteAsync
functions
SortByReferences
functions
TryGetCached
functions
TryParseIdent
functions
UpdateValue
functions
UploadFile
Package
Represents an asset on Asset Party.
class
Sandbox
.
Sandbox.Engine
build
Constructors
1
Package
(
)
data_object
Properties
42
ApiVersion
int
For game extension compatibility. Game targeting extensions are only compatible with that game if the API Versions match.
Archived
bool
Whether this package is archived or not.
CanEdit
bool
True if we're a member of this package's organization.
Collections
int
How many collections we're in (roughly)
Created
DateTimeOffset
When the package was originally created.
Description
string
Full description of the package.
EditorReferences
String[]
List of packages that this package depended on during editing.
EngineVersion
int
Engine version this package was uploaded with. This is useful for when the base game undergoes large API changes.
ErrorRate
float
What fraction of users got errors from this package in the last day
Favourited
int
Number of players who added this package to their favourites.
FileSize
float
The total size of this package in MB. This only applies to packages from Asset Party, the total file size of local packages are not calculated.
FullIdent
string
Full unique identity of this package.
Ident
string
Unique identity of this package within its
organization.
.
Interaction
PackageInteraction
Describes the authenticated user's interactions with this package. This is only available clientside for specific users in order to show things like play history state, favourite status and whether they have rated the item or not.
IsFavourite
bool
True if this asset is in our favourite list.
IsRemote
bool
Whether this is a remote or a locally installed package.
LatestNewsPost
News
The latest news post created by this package
LoadingScreen
LoadingScreenSetup
If this package is a game, it can provide media to show on the loading screen
Org
Organization
The owner of this package.
PackageReferences
String[]
List of packages that this package depends on. These will be downloaded and installed when installing this package.
PackageType
obsolete
Type
What kind of package it is.
PrimaryAsset
string
Gets the name of the primary asset path stored in the package metadata. This could be null or empty.
Public
bool
Whether this package is public or hidden.
Referenced
int
How many packages we're referenced by (roughly)
Referencing
int
How many packages we're referencing (roughly)
Reviews
ReviewStats
Stats for the reviews. Gives the number of reviews, and the fraction of the total score.
Revision
IRevision
Information about the current package revision/version.
Screenshots
Screenshot[]
A list of screenshots
Source
obsolete
string
Link to this package's sources, if set.
Summary
string
A short summary of the package.
Tags
String[]
List of tags for this package.
Thumb
string
Link to the thumbnail image of this package.
ThumbTall
string
Link to the thumbnail image of this package.
ThumbWide
string
Link to the thumbnail image of this package.
Title
string
A "nice" name of this package, which will be shown to players in UI.
TypeName
string
What kind of package it is.
Updated
DateTimeOffset
When the entry was last updated. If these are different between packages then something updated on the backend.
Url
string
A link to this asset on our backend
Usage
PackageUsageStats
Statistics for user interactions with this package
VideoThumb
string
Link to the thumbnail video of this package.
VotesDown
int
Number of players who voted this package down.
VotesUp
int
Number of players who voted this package up.
functions
Methods
6
GetAchievements
(
)
ValueTask`1
Get a list of achievements
GetCachedMeta
(
keyName
,
defaultValue
)
T
Sandbox.Package.GetMeta``1(System.String,``0) but with cache.
GetMeta
(
keyName
,
defaultValue
)
T
Get metadata value from this package for given key. This will be specific to each Sandbox.Package.Type.
GetValue
(
name
,
defaultValue
)
T
Get a data value. These are usually set on the backend, and are package type specific. These are generally values that are used to configure behaviour in the menu system.
IsMounted
(
)
bool
Check if the package is installed and mounted
MountAsync
(
withCode
)
Task`1
Download and mount this package. If withCode is true we'll try to load the assembly if it exists.
functions
Static Methods
14
Fetch
(
identString
,
partial
)
Task`1
Find package information
FetchAsync
(
identString
,
partial
)
Task`1
Find package information
FetchVersions
(
identString
,
token
)
Task`1
Get package version list
FindAsync
(
query
,
take
,
skip
,
token
)
Task`1
Retrieve a list of packages
FormatIdent
(
org
,
package
,
version
,
local
)
string
GetCachedTitle
(
ident
)
string
If we have this package information, try to get its name
ListAsync
(
id
,
token
)
Task`1
Retrieve a list of packages, organised into groups, for discovery
SetFavouriteAsync
(
package
,
state
)
Task
Mark this package as a favourite
SetVoteAsync
(
package
,
up
)
Task
Add your vote for this package
SortByReferences
(
unordered
)
IEnumerable`1
TryGetCached
(
identString
,
package
,
allowPartial
)
bool
Find package information
TryParseIdent
(
ident
,
parsed
)
bool
UpdateValue
(
package
,
key
,
value
,
token
)
Task
Update a value on this package
UploadFile
(
package
,
absolutePath
,
relativePath
,
progress
,
token
)
Task`1
Mark this package as a favourite
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.