state

package
v0.0.0-...-e8f1728 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dota2State

type Dota2State struct {
	// ConnectionStatus is the status of the connection to the GC.
	ConnectionStatus gcsdkm.GCConnectionStatus
	// Lobby is the current lobby object.
	Lobby *gcmm.CSODOTALobby
	// Party is the current party object.
	Party *gcmm.CSODOTAParty
	// PartyInvite is the active incoming party invite.
	PartyInvite *gcmm.CSODOTAPartyInvite
	// LastConnectionStatusUpdate is the last connection state update we received.
	LastConnectionStatusUpdate *gcsdkm.CMsgConnectionStatus
}

Dota2State is a snapshot of the client state at a point in time.

func (*Dota2State) ClearState

func (s *Dota2State) ClearState()

ClearState clears everything.

func (*Dota2State) IsReady

func (s *Dota2State) IsReady() bool

IsReady checks if the client is ready to receive requests.

Jump to

Keyboard shortcuts

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