Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
File
func (*File) Connectionless ¶
Connectionless is this message a connectionless message?
type Generic ¶
type Generic struct {
// contains filtered or unexported fields
}
Generic is a unknown message type. It should still contain the same header structure as known packet types, but the payload is unknown
func (*Generic) Connectionless ¶
Connectionless is this message a connectionless message?
type MsgConnectionlessK ¶
type MsgConnectionlessK struct {
// contains filtered or unexported fields
}
MsgConnectionlessK is the authentication challenge response
func ConnectionlessK ¶
func ConnectionlessK(clientChallenge int32, serverChallenge int32, playerName string, password string, gameVersion string, steamId uint64, steamKey []byte) *MsgConnectionlessK
ConnectionlessK provides the initial authentication packet
func (*MsgConnectionlessK) Connectionless ¶
func (msg *MsgConnectionlessK) Connectionless() bool
Connectionless is this message a connectionless message?
type MsgConnectionlessQ ¶
type MsgConnectionlessQ struct {
// contains filtered or unexported fields
}
MsgConnectionlessQ is the first contact with a server packet
func ConnectionlessQ ¶
func ConnectionlessQ(clientChallenge int32) *MsgConnectionlessQ
ConnectionlessQ returns a new packet
func (*MsgConnectionlessQ) Connectionless ¶
func (msg *MsgConnectionlessQ) Connectionless() bool
Connectionless is this message a connectionless message?
type MsgDisconnect ¶
type MsgDisconnect struct {
// contains filtered or unexported fields
}
func Disconnect ¶
func Disconnect(msg string) *MsgDisconnect
Disconnect returns new disconnect packet data
func (*MsgDisconnect) Connectionless ¶
func (msg *MsgDisconnect) Connectionless() bool
Connectionless: is this message a connectionless message?
type MsgQueryServerInfo ¶
type MsgQueryServerInfo struct {
// contains filtered or unexported fields
}
MsgQueryServerInfo is a connectionless request to a server to obtain basic information about its current status
func QueryServerInfo ¶
func QueryServerInfo() *MsgQueryServerInfo
QueryServerInfo returns a packet to request server information
func (*MsgQueryServerInfo) Connectionless ¶
func (msg *MsgQueryServerInfo) Connectionless() bool
Connectionless is this message a connectionless message?
func (*MsgQueryServerInfo) Data ¶
func (msg *MsgQueryServerInfo) Data() []byte
Data Gets packet data