|
@@ -1634,11 +1634,13 @@ func GetUserMoneyReq(ws *websocket.Conn, data []byte) {
|
|
|
//return userrsp.Data[0].GoldCoins
|
|
//return userrsp.Data[0].GoldCoins
|
|
|
sendData(ws, int16(message.MSGID_Get_User_Money_Rsp), rData4)
|
|
sendData(ws, int16(message.MSGID_Get_User_Money_Rsp), rData4)
|
|
|
}
|
|
}
|
|
|
|
|
+//创建飞机
|
|
|
func createPlane(j int, uid string) GamePlane {
|
|
func createPlane(j int, uid string) GamePlane {
|
|
|
var gamePlane = GamePlane{Id: strconv.Itoa(j), Uid: uid, IsFly: 0}
|
|
var gamePlane = GamePlane{Id: strconv.Itoa(j), Uid: uid, IsFly: 0}
|
|
|
return gamePlane
|
|
return gamePlane
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+//设置下一个人
|
|
|
func setNextTurn(canmove bool, player *GamePlayer, rsp *message.ThrowTheDiceRsp) {
|
|
func setNextTurn(canmove bool, player *GamePlayer, rsp *message.ThrowTheDiceRsp) {
|
|
|
if canmove {
|
|
if canmove {
|
|
|
skip := uint32(0)
|
|
skip := uint32(0)
|