This commit is contained in:
aozhiwei 2023-09-11 18:49:40 +08:00
parent 3dd89a637c
commit c5a6ac4777
3 changed files with 26 additions and 4 deletions

View File

@ -16,9 +16,9 @@ type member struct {
}
func (this *member) init(hum common.Player) {
m := new(member)
m.hum = hum
m.joinTime = f5.GetApp().GetNowSeconds()
this.entry.Init(this)
this.hum = hum
this.joinTime = f5.GetApp().GetNowSeconds()
}
func (this *member) fillMFMember(pb *cs.MFMember) {

View File

@ -22,7 +22,7 @@ type room struct {
entry q5.ListHead
config roomConfg
owner *member
teams map[string][]q5.ListHead
teams map[string]*team
members map[string]*member
}

View File

@ -0,0 +1,22 @@
package room
import (
"q5"
//"f5"
"cs"
"main/common"
//"github.com/golang/protobuf/proto"
)
type team struct {
joinTime int64
state int32
entry q5.ListHead
hum common.Player
}
func (this team) init(hum common.Player) {
}
func (this team) fillMFMember(pb *cs.MFMember) {
}