Add 7 suffix to messages
This commit is contained in:
parent
8f4004a2ce
commit
5fd1c39039
|
@ -1,4 +1,4 @@
|
|||
package message
|
||||
package messages7
|
||||
|
||||
import (
|
||||
"slices"
|
|
@ -1,4 +1,4 @@
|
|||
package message
|
||||
package messages7
|
||||
|
||||
import (
|
||||
"reflect"
|
|
@ -1,4 +1,4 @@
|
|||
package message
|
||||
package messages7
|
||||
|
||||
import "github.com/teeworlds-go/teeworlds/packer"
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package message
|
||||
package messages7
|
||||
|
||||
import (
|
||||
"reflect"
|
|
@ -22,4 +22,3 @@ const (
|
|||
|
||||
type ControlMsg int
|
||||
type NetMsg int
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
@ -133,7 +133,7 @@ func (client *Connection) SendInfo() {
|
|||
}
|
||||
|
||||
func (client *Connection) SendStartInfo() {
|
||||
info := message.ClStartInfo{
|
||||
info := messages7.ClStartInfo{
|
||||
Name: "gopher",
|
||||
Clan: "",
|
||||
Country: 0,
|
||||
|
|
Loading…
Reference in a new issue