Documentation ¶
Overview ¶
Provides access to TF2 Game Coordinator functionality.
Index ¶
Constants ¶
View Source
const AppId = 730
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSGO ¶
type CSGO struct {
// contains filtered or unexported fields
}
To use any methods of this, you'll need to SetPlaying(true) and wait for the GCReadyEvent.
func New ¶
func New(client *steam.Client) *CSGO
Creates a new CSGO instance and registers it as a packet handler
func (*CSGO) HandleGCPacket ¶
func (t *CSGO) HandleGCPacket(packet *gamecoordinator.GCPacket)
func (*CSGO) InspectItem ¶
func (*CSGO) SetPlaying ¶
type ClientReady ¶ added in v3.2.0
type ClientReady struct{}
type GCReadyEvent ¶
type GCReadyEvent struct{}
type ItemInfo ¶ added in v3.2.0
type ItemInfo struct { AccountId *uint32 `json:"accountid,omitempty"` ItemId *uint64 `json:"itemid,omitempty"` DefIndex *uint32 `json:"defindex,omitempty"` PaintIndex *uint32 `json:"paintindex,omitempty"` Rarity *uint32 `json:"rarity,omitempty"` Quality *uint32 `json:"quality,omitempty"` PaintWear *uint32 `json:"paintwear,omitempty"` PaintSeed *uint32 `json:"paintseed,omitempty"` KillEaterScoreType *uint32 `json:"killeaterscoretype,omitempty"` KillEaterValue *uint32 `json:"killeatervalue,omitempty"` CustomName *string `json:"customname,omitempty"` Stickers []Sticker `json:"stickers,omitempty"` Inventory *uint32 `json:"inventory,omitempty"` Origin *uint32 `json:"origin,omitempty"` QuestId *uint32 `json:"questid,omitempty"` DropReason *uint32 `json:"dropreason,omitempty"` MusicIndex *uint32 `json:"musicindex,omitempty"` }
Click to show internal directories.
Click to hide internal directories.