1
This commit is contained in:
parent
cc94e4a81a
commit
9446c8a096
@ -188,6 +188,8 @@ type MatchMgr interface {
|
||||
}
|
||||
|
||||
type HistoryMgr interface {
|
||||
AddBattle(string, int32, int32)
|
||||
PushLastBattleInfo(Player)
|
||||
}
|
||||
|
||||
type WspListener interface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package history
|
||||
|
||||
import (
|
||||
|
||||
"main/common"
|
||||
)
|
||||
|
||||
type historyMgr struct {
|
||||
@ -13,3 +13,11 @@ func (this *historyMgr) Init() {
|
||||
|
||||
func (this *historyMgr) UnInit() {
|
||||
}
|
||||
|
||||
func (this *historyMgr) AddBattle(accountId string, mapId int32, modeId int32) {
|
||||
|
||||
}
|
||||
|
||||
func (this *historyMgr) PushLastBattleInfo(hum common.Player) {
|
||||
|
||||
}
|
||||
|
5
server/matchserver/history/user.go
Normal file
5
server/matchserver/history/user.go
Normal file
@ -0,0 +1,5 @@
|
||||
package history
|
||||
|
||||
type user struct {
|
||||
accountId string
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user