Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connector ¶
type Connector struct {
// contains filtered or unexported fields
}
Connector is a standard mechanism for connecting to source engine servers Many games implement the same communication, particularly early games. It will handle connectionless back-and-forth with a server, until we get a successfully connected message back from the server.
func NewConnector ¶
func NewConnector(playerName string, password string, gameVersion string, clientChallenge int32) *Connector
NewConnector returns a new connector object.
func (*Connector) InitialMessage ¶
InitialMessage Get the first message to initialize server authentication before connection.
Click to show internal directories.
Click to hide internal directories.