user

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 (
	URLCheckAppOwnership               = "/ISteamUser/CheckAppOwnership/v2/"
	URLGetAppPriceInfo                 = "/ISteamUser/GetAppPriceInfo/v1/"
	URLGetDeletedSteamIds              = "/ISteamUser/GetDeletedSteamIDs/v1/"
	URLGetFriendList                   = "/ISteamUser/GetDeletedSteamIDs/v1/"
	URLGetPlayerBans                   = "/ISteamUser/GetDeletedSteamIDs/v1/"
	URLGetPlayerSummaries              = "/ISteamUser/GetPlayerSummaries/v2/"
	URLGetPublisherAppOwnership        = "/ISteamUser/GetPublisherAppOwnership/v3/"
	URLGetPublisherAppOwnershipChanges = "/ISteamUser/GetPublisherAppOwnershipChanges/v1/"
	URLGetUserGroupList                = "/ISteamUser/GetUserGroupList/v1/"
	URLResolveVanityURL                = "/ISteamUser/ResolveVanityURL/v1/"
)
View Source
const (
	URLAuthenticateUser       = "/ISteamUserAuth/AuthenticateUser/v1/"
	URLAuthenticateUserTicket = "/ISteamUserAuth/AuthenticateUserTicket/v1/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppOwnership

type AppOwnership struct {
	Ownsapp       bool   `json:"ownsapp"`
	Permanent     bool   `json:"permanent"`
	Timestamp     string `json:"timestamp"`
	OwnersSteamId uint   `json:"ownerssteamid"`
	SiteLicense   bool   `json:"sitelicense"`
}

type AppOwnershipChanges

type AppOwnershipChanges struct {
	OwnershipChanges struct {
		SteamIds          []steam.SteamIdString `json:"steamids" mapstructure:"steamids"`
		PackageRowVersion string                `json:"packagerowversion" mapstructure:"packagerowversion"`
		CdKeyRowVersion   string                `json:"cdkeyRowversion" mapstructure:"cdkeyRowversion"`
		MoreData          bool                  `json:"moredata" mapstructure:"moredata"`
	}
}

type AppOwnershipList

type AppOwnershipList struct {
	AppOwnership struct {
		Apps []AppOwnership `json:"apps"`
	} `json:"appownership"`
}

type AppPriceInfoQueryOption

type AppPriceInfoQueryOption struct {
	steam.SteamId
	AppIds string `json:"appids" mapstructure:"appids" valid:"required"`
}

type AuthenticateOpt

type AuthenticateOpt struct {
	SteamId           uint     `json:"steamid" mapstructure:"steamid" valid:"required"`
	SessionKey        [32]byte `json:"sessionkey" mapstructure:"sessionkey" valid:"required"`
	EncryptedLoginKey []byte   `json:"encryptedloginkey" mapstructure:"encryptedloginkey" valid:"required"`
}

type DeletedSteamIdsQueryOption

type DeletedSteamIdsQueryOption struct {
	RowVersion uint `json:"rowersion" mapstructure:"rowersion" valid:"required"`
}

type FriendListQueryOption

type FriendListQueryOption struct {
	steam.SteamId
	Relationship string `json:"relationship" mapstructure:"relationship"`
}

type PlayerSummary

type PlayerSummary struct {
	SteamId                  string `json:"steamid"`
	CommunityVisibilityState uint   `json:"communityvisibilitystate"`
	ProfileState             uint   `json:"profilestate"`
	PersonName               string `json:"person_name"`
	LastLogoff               uint   `json:"lastlogoff"`
	ProfileUrl               string `json:"profileurl"`
	Avatar                   string `json:"avatar"`
	AvatarMedium             string `json:"avatar_medium"`
	AvatarFull               string `json:"avatar_full"`
}

type PlayerSummaryList

type PlayerSummaryList struct {
	Response struct {
		Players []PlayerSummary `json:"players"`
	} `json:"response"`
}

type PublisherAppOwnership

type PublisherAppOwnership struct {
	SteamId uint `json:"steamid" mapstructure:"steamid"`
	AppOwnership
}

type PublisherAppOwnershipChangeQueryOption

type PublisherAppOwnershipChangeQueryOption struct {
	PackageRowVersion string `json:"packagerowversion" mapstructure:"packagerowversion" valid:"required"`
	CdKeyRowVersion   string `json:"cdkeyRowversion" mapstructure:"cdkeyRowversion" valid:"required"`
}

type PublisherAppOwnershipList

type PublisherAppOwnershipList struct {
	AppOwnership struct {
		Apps []PublisherAppOwnership `json:"apps"`
	} `json:"appownership"`
}

type ResolveVanityUrlQueryOption

type ResolveVanityUrlQueryOption struct {
	VanityUrl string `json:"vanityurl" mapstructure:"vanityurl" valid:"required"`
	UrlType   int    `json:"urltype" mapstructure:"urltype"`
}

type TicketAuthenticateOpt

type TicketAuthenticateOpt struct {
	AppId    uint   `json:"appid" mapstructure:"appid" valid:"required"`
	Ticket   string `json:"ticket" mapstructure:"ticket" valid:"required"`
	Identity string `json:"identity" mapstructure:"identity" valid:"required"`
}

Jump to

Keyboard shortcuts

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