1
This commit is contained in:
parent
ed9be693fc
commit
4ce967fb90
@ -13,7 +13,6 @@ import (
|
||||
type roomMgr struct {
|
||||
cs.MsgHandlerImpl
|
||||
currRoomId int32
|
||||
currRoomIdx int64
|
||||
idHash map[string]*room
|
||||
roomList q5.ListHead
|
||||
}
|
||||
@ -22,7 +21,6 @@ func (this *roomMgr) Init() {
|
||||
this.idHash = make(map[string]*room)
|
||||
this.roomList.Init(nil)
|
||||
this.currRoomId = 10000
|
||||
this.currRoomIdx = 10000
|
||||
}
|
||||
|
||||
func (this *roomMgr) UnInit() {
|
||||
@ -127,6 +125,5 @@ func (this *roomMgr) genRoomId() int32 {
|
||||
}
|
||||
|
||||
func (this *roomMgr) genRoomIdx() int64 {
|
||||
this.currRoomIdx++
|
||||
return this.currRoomIdx
|
||||
return f5.GetApp().NewUuid()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user