优化
This commit is contained in:
parent
6e0d3a2709
commit
5d00d87e18
@ -1,5 +1,10 @@
|
|||||||
package game
|
package game
|
||||||
|
|
||||||
|
import (
|
||||||
|
"encoding/gob"
|
||||||
|
"server/game/mod/limitedTimeEvent"
|
||||||
|
)
|
||||||
|
|
||||||
type PlayerSimpleData struct {
|
type PlayerSimpleData struct {
|
||||||
Uid int
|
Uid int
|
||||||
Name string
|
Name string
|
||||||
@ -46,3 +51,8 @@ type ActivityInfo struct {
|
|||||||
Name string
|
Name string
|
||||||
Info interface{}
|
Info interface{}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
gob.Register(&limitedTimeEvent.MoneyCat{})
|
||||||
|
|
||||||
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user