aboutsummaryrefslogtreecommitdiffstats
path: root/packet/command/s2cconnection/s2cconnection.go
blob: 840f27c350dfe3c352fb1fe6c055846777d60b1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package s2cconnection

import (
	"github.com/osm/quake/common/buffer"
	"github.com/osm/quake/common/context"
	"github.com/osm/quake/protocol"
)

type Command struct{}

func (cmd *Command) Bytes() []byte {
	return []byte{protocol.S2CConnection}
}

func Parse(ctx *context.Context, buf *buffer.Buffer) (*Command, error) {
	return &Command{}, nil
}