state

package
v0.0.0-...-316a96e Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DACState

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

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

func (*DACState) ClearState

func (s *DACState) ClearState()

ClearState clears everything.

func (*DACState) IsReady

func (s *DACState) 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