26 lines
424 B
Go
26 lines
424 B
Go
package thirteen
|
|
|
|
import (
|
|
"mongo.games.com/game/gamesrv/base"
|
|
)
|
|
|
|
type GameData struct {
|
|
Shake int32 // 震动次数
|
|
Refresh int64 // 刷新次数
|
|
Power int64 // 能量值
|
|
Base int64 // 底注
|
|
}
|
|
|
|
type PlayerEx struct {
|
|
*base.Player //玩家信息
|
|
*GameData
|
|
}
|
|
|
|
func NewPushCoinPlayerData(p *base.Player, data *GameData) *PlayerEx {
|
|
playerEx := &PlayerEx{
|
|
Player: p,
|
|
GameData: data,
|
|
}
|
|
return playerEx
|
|
}
|