Documentation
¶
Index ¶
- Variables
- func FormatVal(key string, val string, appID int, keys map[string]PicsKey) interface{}
- type AlbumMetaData
- type AlbumTrack
- type AppDepotBranches
- type AppDepotItem
- type Associations
- type DepotConfig
- type DepotManifest
- type Depots
- type EULAs
- type KeyValue
- type LibraryAssets
- type Localisation
- type LocalisationLanguage
- type LocalisationTokens
- type PICSAppConfigLaunchItem
- type PICSController
- type PICSKeyValues
- type PicsKey
- type SupportedLanguages
- type System
Constants ¶
This section is empty.
Variables ¶
View Source
var CommonKeys = map[string]PicsKey{ "allowpurchasefromrestrictedcountries": {FormatType: picsTypeBool}, "app_retired_publisher_request": {FormatType: picsTypeBool}, "associations": {FormatType: picsTypeCustom}, "category": {FormatType: picsTypeCustom, Link: "/games?categories=$val$"}, "clienticns": {FormatType: picsTypeLink, Link: helpers.AppIconBase + "$app$/$val$.icns"}, "clienticon": {FormatType: picsTypeImage, Link: helpers.AppIconBase + "$app$/$val$.ico"}, "clienttga": {FormatType: picsTypeLink, Link: helpers.AppIconBase + "$app$/$val$.tga"}, "community_hub_visible": {FormatType: picsTypeBool}, "community_visible_stats": {FormatType: picsTypeBool}, "controller_support": {FormatType: picsTypeTitle}, "controllervr": {FormatType: picsTypeNumberListJSONKeys}, "disableoverlay": {FormatType: picsTypeBool}, "eulas": {FormatType: picsTypeCustom}, "exfgls": {FormatType: picsTypeBool, Description: "Exclude from game library sharing"}, "freeondemand": {FormatType: picsTypeBool}, "gameid": appIDLinkType, "genres": {FormatType: picsTypeNumberListJSON, Link: "/games?genres=$val$"}, "has_adult_content": {FormatType: picsTypeBool}, "header_image": {FormatType: picsTypeMap}, "icon": {FormatType: picsTypeImage, Link: helpers.AppIconBase + "$app$/$val$.jpg"}, "isplugin": {FormatType: picsTypeBool}, "languages": {FormatType: picsTypeCustom}, "library_assets": {FormatType: picsTypeJSON}, "linuxclienticon": {FormatType: picsTypeLink, Link: helpers.AppIconBase + "$app$/$val$.zip"}, "logo": {FormatType: picsTypeImage, Link: helpers.AppIconBase + "$app$/$val$.jpg"}, "logo_small": {FormatType: picsTypeImage, Link: helpers.AppIconBase + "$app$/$val$.jpg"}, "market_presence": {FormatType: picsTypeBool}, "metacritic_fullurl": {FormatType: picsTypeLink, Link: "$val$"}, "metacritic_score": {FormatType: picsTypePercent}, "name_localized": {FormatType: picsTypeStringListJSON}, "onlyvrsupport": {FormatType: picsTypeBool}, "openvr_controller_bindings": {FormatType: picsTypeJSON}, "openvrsupport": {FormatType: picsTypeBool}, "original_release_date": {FormatType: picsTypeTimestamp}, "oslist": {FormatType: picsTypeTextListString, Link: "/games?platforms=$val$"}, "osvrsupport": {FormatType: picsTypeBool}, "parent": appIDLinkType, "parentappid": appIDLinkType, "playareavr": {FormatType: picsTypeJSON}, "primary_genre": {FormatType: picsTypeLink, Link: "/games?genres=$val$"}, "releasestate": {FormatType: picsTypeTitle}, "releasestateoverrideinverse": {FormatType: picsTypeBool}, "requireskbmouse": {FormatType: picsTypeBool}, "review_percentage": {FormatType: picsTypePercent}, "service_app": {FormatType: picsTypeBool}, "small_capsule": {FormatType: picsTypeMap}, "steam_release_date": {FormatType: picsTypeTimestamp}, "steamchinaapproved": {FormatType: picsTypeBool}, "store_asset_mtime": {FormatType: picsTypeTimestamp}, "store_tags": {FormatType: picsTypeNumberListJSON, Link: "/games?tags=$val$"}, "supported_languages": {FormatType: picsTypeCustom}, "systemprofile": {FormatType: picsTypeBool}, "type": {FormatType: picsTypeTitle}, "visibleonlyonavailableplatforms": {FormatType: picsTypeBool}, "workshop_visible": {FormatType: picsTypeBool}, }
View Source
var ConfigKeys = map[string]PicsKey{
"cegpublickey": {FormatType: picsTypeTooLong},
"checkforupdatesbeforelaunch": {FormatType: picsTypeBool},
"duration_control_show_interstitial": {FormatType: picsTypeBool},
"enable_duration_control": {FormatType: picsTypeBool},
"enabletextfiltering": {FormatType: picsTypeBool},
"gameoverlay_testmode": {FormatType: picsTypeBool},
"installscriptoverride": {FormatType: picsTypeBool},
"installscriptsignature": {FormatType: picsTypeTooLong},
"launchwithoutworkshopupdates": {FormatType: picsTypeBool},
"matchmaking_uptodate": {FormatType: picsTypeBool},
"noupdatesafterinstall": {FormatType: picsTypeBool},
"signaturescheckedonlaunch": {FormatType: picsTypeJSON},
"signedfiles": {FormatType: picsTypeJSON},
"steamcontrollerconfigdetails": {FormatType: picsTypeJSON},
"steamcontrollertemplateindex": {FormatType: picsTypeBool},
"steamcontrollertouchconfigdetails": {FormatType: picsTypeJSON},
"steamcontrollertouchtemplateindex": {FormatType: picsTypeBool},
"systemprofile": {FormatType: picsTypeBool},
"uselaunchcommandline": {FormatType: picsTypeBool},
"usemms": {FormatType: picsTypeBool},
"usesfrenemies": {FormatType: picsTypeBool},
"verifyupdates": {FormatType: picsTypeBool},
"vrcompositorsupport": {FormatType: picsTypeBool},
}
View Source
var ExtendedKeys = map[string]PicsKey{
"aaalaunchredirect": appIDLinkType,
"absolutemousecoordinates": {FormatType: picsTypeBool},
"allowconversion": {FormatType: picsTypeBool},
"allowcrossregiontradingandgifting": {FormatType: picsTypeBool},
"allowelevation": {FormatType: picsTypeBool},
"allowpurchasefromrestrictedcountries": {FormatType: picsTypeBool},
"anti_cheat_support_url": {FormatType: picsTypeLink, Link: "$val$"},
"betaforappid": appIDLinkType,
"canskipinstallappchooser": {FormatType: picsTypeBool},
"checkpkgstate": {FormatType: picsTypeBool},
"curatorconnect": {FormatType: picsTypeBool},
"demoofappid ": appIDLinkType,
"dependantonapp": appIDLinkType,
"dependantonapppreventrecurseholes": {FormatType: picsTypeBool},
"developer_url": {FormatType: picsTypeLink, Link: "$val$"},
"disable_shader_precaching": {FormatType: picsTypeBool},
"disablemanifestiteration": {FormatType: picsTypeBool},
"disableosxdrmloader": {FormatType: picsTypeBool},
"disableoverlay": {FormatType: picsTypeBool},
"disableoverlay_linux": {FormatType: picsTypeBool},
"disableoverlay_macos": {FormatType: picsTypeBool},
"disableoverlay_windows": {FormatType: picsTypeBool},
"disableoverlayinjection": {FormatType: picsTypeBool},
"disablesendclosesignal": {FormatType: picsTypeBool},
"disablestreaming": {FormatType: picsTypeBool},
"dlcavailableonstore": {FormatType: picsTypeBool},
"dlcforappid": appIDLinkType,
"dlcpurchasefromingame": {FormatType: picsTypeBool},
"encrypted_video": {FormatType: picsTypeBool},
"expansionofappid": appIDLinkType,
"externallyupdated": {FormatType: picsTypeBool},
"forcelaunchoptions": {FormatType: picsTypeBool},
"gamemanualurl": {FormatType: picsTypeLink, Link: "$val$"},
"guideappid": appIDLinkType,
"hadthirdpartycdkey": {FormatType: picsTypeBool},
"hasexternalregistrationurl": {FormatType: picsTypeBool},
"hdaddon": appIDLinkType,
"homepage": {FormatType: picsTypeLink, Link: "$val$"},
"ignorechildprocesses": {FormatType: picsTypeBool},
"inhibitautoversionroll": {FormatType: picsTypeBool},
"isconverteddlc": {FormatType: picsTypeBool},
"isfreeapp": {FormatType: picsTypeBool},
"ismediafile": {FormatType: picsTypeBool},
"languages": {FormatType: picsTypeTextListString},
"languages_macos": {FormatType: picsTypeTextListString},
"launchredirect": appIDLinkType,
"legacykeylinkedexternally": {FormatType: picsTypeBool},
"listofdlc": {FormatType: picsTypeNumberListString, Link: "/games/$val$"},
"loadallbeforelaunch": {FormatType: picsTypeBool},
"manage_steamguard_useweb": {FormatType: picsTypeBool},
"musicalbumavailableonstore": {FormatType: picsTypeBool},
"musicalbumforappid": appIDLinkType,
"mustownapptopurchase": appIDLinkType,
"no_revenue_accumlation": {FormatType: picsTypeBool},
"no_revenue_accumulation": {FormatType: picsTypeBool},
"nodefaultenglishcontent": {FormatType: picsTypeBool},
"noservers": {FormatType: picsTypeBool},
"onlyallowrestrictedcountries": {FormatType: picsTypeBool},
"optionaldlc": {FormatType: picsTypeBool},
"overlaymanuallyclearscreen": {FormatType: picsTypeBool},
"purchasedisabledreason": {FormatType: picsTypeBool},
"requiredappid": appIDLinkType,
"requirentfspartition": {FormatType: picsTypeBool},
"requiressse": {FormatType: picsTypeBool},
"retailautostart": {FormatType: picsTypeBool},
"sdk_notownedbydefault": {FormatType: picsTypeBool},
"showcdkeyinmenu": {FormatType: picsTypeBool},
"showcdkeyonlaunch": {FormatType: picsTypeBool},
"sourcegame": {FormatType: picsTypeBool},
"supports64bit": {FormatType: picsTypeBool},
"supportscdkeycopytoclipboard": {FormatType: picsTypeBool},
"suppressims": {FormatType: picsTypeBool},
"thirdpartycdkey": {FormatType: picsTypeBool},
"vacmacmodulecache": appIDLinkType,
"vacmodulecache": appIDLinkType,
"validoslist": {FormatType: picsTypeTextListString, Link: "/games?platforms=$val$"},
"visibleonlywheninstalled": {FormatType: picsTypeBool},
"visibleonlywhensubscribed": {FormatType: picsTypeBool},
"vrheadsetstreaming": {FormatType: picsTypeBool},
}
View Source
var UFSKeys = map[string]PicsKey{
"hidecloudui": {FormatType: picsTypeBool},
"ignoreexternalfiles": {FormatType: picsTypeBool},
"maxnumfiles": {FormatType: picsTypeNumber},
"quota": {FormatType: picsTypeBytes},
"rootoverrides": {FormatType: picsTypeJSON},
"savefiles": {FormatType: picsTypeCustom},
}
Functions ¶
Types ¶
type AlbumMetaData ¶
type AlbumMetaData struct { CDNAssets struct { AlbumCover string `json:"album_cover"` } `json:"cdn_assets"` MetaData struct { Artist map[string]ctypes.String `json:"artist"` Composer map[string]ctypes.String `json:"composer"` Label map[string]ctypes.String `json:"label"` OtherCredits map[string]ctypes.String `json:"othercredits"` } `json:"metadata"` Tracks map[string]AlbumTrack `json:"tracks"` }
func (AlbumMetaData) Albums ¶
func (a AlbumMetaData) Albums() (albums map[string][]AlbumTrack)
func (AlbumMetaData) HasArtist ¶
func (a AlbumMetaData) HasArtist() bool
func (AlbumMetaData) HasComposer ¶
func (a AlbumMetaData) HasComposer() bool
func (AlbumMetaData) HasCredits ¶
func (a AlbumMetaData) HasCredits() bool
func (AlbumMetaData) HasLabel ¶
func (a AlbumMetaData) HasLabel() bool
type AlbumTrack ¶
type AppDepotBranches ¶
type AppDepotBranches struct { Name string `json:"name"` Description string `json:"description"` BuildID int `json:"buildid"` TimeUpdated int64 `json:"timeupdated"` PasswordRequired bool `json:"pwdrequired"` LCSRequired bool `json:"lcsrequired"` DefaultForSubs string `json:"defaultforsubs"` UnlockForSubs string `json:"unlockforsubs"` SCSchinese string `json:"sc_schinese"` }
type AppDepotItem ¶
type AppDepotItem struct { ID int `json:"id"` Name string `json:"name"` Configs map[string]string `json:"config"` Manifests map[string]string `json:"manifests"` EncryptedManifests string `json:"encryptedmanifests"` MaxSize uint64 `json:"maxsize"` App int `json:"depotfromapp"` DLCApp int `json:"dlcappid"` SystemDefined bool `json:"systemdefined"` Optional bool `json:"optional"` LVCache bool `json:"lvcache"` AllowAddRemoveWhileRunning bool `json:"allowaddremovewhilerunning"` }
type Associations ¶
type DepotConfig ¶
type DepotManifest ¶
type Depots ¶
type Depots struct { Depots []AppDepotItem Branches []AppDepotBranches Extra map[string]string }
type KeyValue ¶
type LibraryAssets ¶
type LibraryAssets struct { LibraryCapsule string `json:"library_capsule"` LibraryHero string `json:"library_hero"` LibraryLogo string `json:"library_logo"` LogoPosition struct { HeightPct string `json:"height_pct"` PinnedPosition string `json:"pinned_position"` WidthPct string `json:"width_pct"` } `json:"logo_position"` }
type Localisation ¶
type Localisation struct {
RichPresence map[string]*LocalisationLanguage `json:"richpresence"`
}
func (*Localisation) AddLanguage ¶
func (l *Localisation) AddLanguage(key string, val *LocalisationLanguage)
func (Localisation) HasLanguages ¶
func (l Localisation) HasLanguages() bool
type LocalisationLanguage ¶
type LocalisationLanguage struct {
Tokens LocalisationTokens `json:"tokens"`
}
func (*LocalisationLanguage) AddToken ¶
func (l *LocalisationLanguage) AddToken(key string, val string)
type LocalisationTokens ¶
type PICSAppConfigLaunchItem ¶
type PICSAppConfigLaunchItem struct { Order interface{} `json:"order"` // Int but can be "main", Mongo does not support ctypes package Executable string `json:"executable"` Arguments string `json:"arguments"` Description string `json:"description"` Typex string `json:"type"` OSList string `json:"oslist"` OSArch string `json:"osarch"` OwnsDLCs []string `json:"ownsdlc"` BetaKey string `json:"betakey"` WorkingDir string `json:"workingdir"` VRMode string `json:"vrmode"` VACModuleFilename string `json:"vacmodulefilename"` DescriptionLocation string `json:"description_loc"` Realm string `json:"realm"` }
func (PICSAppConfigLaunchItem) OrderInt ¶
func (li PICSAppConfigLaunchItem) OrderInt() int
type PICSController ¶
type PICSKeyValues ¶
func (PICSKeyValues) Formatted ¶
func (kv PICSKeyValues) Formatted(productID int, keys map[string]PicsKey) (ret []KeyValue)
func (PICSKeyValues) GetValue ¶
func (kv PICSKeyValues) GetValue(key string) string
func (PICSKeyValues) Map ¶
func (kv PICSKeyValues) Map() (m map[string]string)
type SupportedLanguages ¶
Click to show internal directories.
Click to hide internal directories.