Documentation
¶
Overview ¶
Deals with services related to the ROBLOX catalog.
Index ¶
Constants ¶
View Source
const ( CatFeatured byte = 0 CatAll byte = 1 CatCollectibles byte = 2 CatClothing byte = 3 CatBodyParts byte = 4 CatGear byte = 5 CatModels byte = 6 CatPlugins byte = 7 CatDecals byte = 8 CatAudio byte = 9 )
Used with the Category field of a Query.
View Source
const ( SubcatFeatured byte = 0 SubcatAll byte = 1 SubcatCollectibles byte = 2 SubcatClothing byte = 3 SubcatBodyParts byte = 4 SubcatGear byte = 5 SubcatModels byte = 6 SubcatDecals byte = 7 SubcatHats byte = 8 SubcatFaces byte = 9 SubcatPackages byte = 10 SubcatShirts byte = 11 SubcatTshirts byte = 12 SubcatPants byte = 13 SubcatHeads byte = 14 SubcatAudio byte = 15 SubcatRobloxCreated byte = 16 )
Used with the Subcategory field of a Query.
View Source
const ( GearMeleeWeapon byte = 1 GearRangedWeapon byte = 2 GearExplosive byte = 3 GearPowerUp byte = 4 GearMusicalInstrument byte = 6 GearSocialItem byte = 7 GearBuildingTool byte = 8 GearPersonalTransport byte = 9 )
Used with the Gears field of a Query.
View Source
const ( GenreTownandCity byte = 1 GenreMedieval byte = 2 GenreSciFi byte = 3 GenreFighting byte = 4 GenreHorror byte = 5 GenreAdventure byte = 7 GenreSports byte = 8 GenreComedy byte = 9 GenreWestern byte = 10 GenreMilitary byte = 11 GenreBuilding byte = 13 GenreFPS byte = 14 GenreRPG byte = 15 )
Used with the Genres field of a Query.
View Source
const ( CurrencyAll byte = 0 CurrencyRobux byte = 1 CurrencyTickets byte = 2 CurrencyCustomRobux byte = 3 CurrencyCustomTickets byte = 4 CurrencyFree byte = 5 )
Used with the CurrencyType field of a Query.
View Source
const ( SortRelevance byte = 0 SortMostFavorited byte = 1 SortBestselling byte = 2 SortRecentlyUpdated byte = 3 SortPriceLowToHigh byte = 4 SortPriceHighToLow byte = 5 )
Used wuth SortType field of a Query.
View Source
const ( AggrPastDay byte = 0 AggrPastWeek byte = 1 AggrPastMonth byte = 2 AggrAllTime byte = 3 )
Used with the AggregationFrequency field of a Query.
View Source
const ( SortCurrencyRobux byte = 0 SortCurrencyTickets byte = 1 )
Used with the SortCurrency field of a Query.
View Source
const MaxResults = 42
This is the maximum number of results that can be returned by the catalog search.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Query ¶
type Query struct {
Gears []byte
Genres []byte
Subcategory byte
Category byte
CurrencyType byte
SortType byte
AggregationFrequency byte
SortCurrency byte
Keyword string
CreatorID int
PxMin int
PxMax int
IncludeNotForSale bool
PageNumber int
ResultsPerPage int
}
Query is used with Search and SearchAll to query assets.
type Result ¶
type Result struct {
AssetId int64
Name string
Url string
PriceInRobux string
PriceInTickets string
Updated string
Favorited string
Sales string
Remaining string
Creator string
CreatorUrl string
PrivateSales string
PriceView int32
BestPrice string
ContentRatingTypeID int32
AssetTypeID int32
CreatorID int32
CreatedDate string
UpdatedDate string
IsForSale bool
IsPublicDomain bool
IsLimited bool
IsLimitedUnique bool
MinimumMembershipLevel int32
}
Result represents a single asset returned from a call to Search or SearchAll.
Click to show internal directories.
Click to hide internal directories.