Skip to content

Commit

Permalink
Add 7 suffix to messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ChillerDragon committed Jun 19, 2024
1 parent 8f4004a commit 5fd1c39
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion messages/cl_start_info.go → messages7/cl_start_info.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package message
package messages7

import (
"slices"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package message
package messages7

import (
"reflect"
Expand Down
2 changes: 1 addition & 1 deletion messages/sv_client_info.go → messages7/sv_client_info.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package message
package messages7

import "github.com/teeworlds-go/teeworlds/packer"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package message
package messages7

import (
"reflect"
Expand Down
1 change: 0 additions & 1 deletion network7/network7.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ const (

type ControlMsg int
type NetMsg int

6 changes: 3 additions & 3 deletions protocol7/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import (

"github.com/teeworlds-go/huffman"
"github.com/teeworlds-go/teeworlds/chunk"
message "github.com/teeworlds-go/teeworlds/messages"
"github.com/teeworlds-go/teeworlds/messages7"
"github.com/teeworlds-go/teeworlds/network7"
"github.com/teeworlds-go/teeworlds/packer"
"github.com/teeworlds-go/teeworlds/packet"
)

type Player struct {
Info message.SvClientInfo
Info messages7.SvClientInfo
}

type Connection struct {
Expand Down Expand Up @@ -133,7 +133,7 @@ func (client *Connection) SendInfo() {
}

func (client *Connection) SendStartInfo() {
info := message.ClStartInfo{
info := messages7.ClStartInfo{
Name: "gopher",
Clan: "",
Country: 0,
Expand Down

0 comments on commit 5fd1c39

Please sign in to comment.