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 ¶
type GCReadyEvent ¶
type GCReadyEvent struct{}
type PlayerProfileEvent ¶
type PlayerProfileEvent = protobuf.CMsgGCCStrike15V2_MatchmakingGC2ClientHello
Click to show internal directories.
Click to hide internal directories.