aboutsummaryrefslogtreecommitdiffstats
path: root/packet/command/nopc/nopc.go
diff options
context:
space:
mode:
Diffstat (limited to 'packet/command/nopc/nopc.go')
-rw-r--r--packet/command/nopc/nopc.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/packet/command/nopc/nopc.go b/packet/command/nopc/nopc.go
new file mode 100644
index 0000000..5610433
--- /dev/null
+++ b/packet/command/nopc/nopc.go
@@ -0,0 +1,17 @@
+package nopc
+
+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.CLCNOP}
+}
+
+func Parse(ctx *context.Context, buf *buffer.Buffer) (*Command, error) {
+ return &Command{}, nil
+}