csgo

package
v4.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Provides access to CSGO 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) GetPlayerProfile

func (cs *CSGO) GetPlayerProfile(accountId uint32) (*PlayerProfileEvent, error)

func (*CSGO) HandleGCPacket

func (cs *CSGO) HandleGCPacket(packet *gamecoordinator.GCPacket)

func (*CSGO) SetPlaying

func (cs *CSGO) SetPlaying(playing bool)

type GCReadyEvent

type GCReadyEvent struct{}

Directories

Path Synopsis
protocol

Jump to

Keyboard shortcuts

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