publisheditem

package
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	URLRankedByPublicationOrder = "/ISteamPublishedItemSearch/RankedByPublicationOrder/v1/"
	URLRankedByTrend            = "/ISteamPublishedItemSearch/RankedByTrend/v1/"
	URLRankedByVote             = "/ISteamPublishedItemSearch/RankedByVote/v1/"
	URLResultSetSummary         = "/ISteamPublishedItemSearch/ResultSetSummary/v1/"
)
View Source
const (
	URLItemVoteSummary = "/ISteamPublishedItemVoting/ItemVoteSummary/v1/"
	URLUserVoteSummary = "/ISteamPublishedItemVoting/UserVoteSummary/v1/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ItemVoteOption

type ItemVoteOption struct {
	SteamId        uint `json:"steamid" mapstructure:"steamid" valid:"required"`
	AppId          uint `json:"appid" mapstructure:"appid" valid:"required"`
	Count          uint `json:"count" mapstructure:"count"`
	PublishedFile0 uint `json:"publishedfile[0]" mapstructure:"publishedfile[0]"`
}

type RankOption

type RankOption struct {
	StartIndex        uint `json:"startidx" mapstructure:"startidx"`
	HasAppAdminAccess bool `json:"hasappadminaccess" mapstructure:"hasappadminaccess"`
	RankSummaryOption
}

type RankSummaryOption

type RankSummaryOption struct {
	SteamId uint `json:"steamid" mapstructure:"steamid" valid:"required"`
	AppId   uint `json:"appid" mapstructure:"appid" valid:"required"`

	Count        uint `json:"count" mapstructure:"count"`
	TagCount     uint `json:"tagcount" mapstructure:"tagcount"`
	UserTagCount uint `json:"usertagcount" mapstructure:"usertagCount"`

	FileType publishedfile.EPublishedFileInfoMatchingFileType `json:"filetype" mapstructure:"filetype"`
	Tag0     string                                           `json:"tag[0]" mapstructure:"tag[0]"`
	UserTag0 string                                           `json:"usertag[0]" mapstructure:"usertag[0]"`
}

type UserVoteOption

type UserVoteOption struct {
	SteamId        uint `json:"steamid" mapstructure:"steamid" valid:"required"`
	Count          uint `json:"count" mapstructure:"count"`
	PublishedFile0 uint `json:"publishedfile[0]" mapstructure:"publishedfile[0]"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL