From 17ea2d8cff57b59545a85b44bdfe3c2079bc6d0d Mon Sep 17 00:00:00 2001 From: 陆恒 Date: Tue, 2 Jun 2020 15:06:06 +0800 Subject: [PATCH] 提交 --- src/HttpServer/logic/datadef.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+), 0 deletions(-) diff --git a/src/HttpServer/logic/datadef.go b/src/HttpServer/logic/datadef.go index c45cb13..6075f10 100644 --- a/src/HttpServer/logic/datadef.go +++ b/src/HttpServer/logic/datadef.go @@ -203,3 +203,21 @@ type UserData struct { PlayerData string //玩家数据 RegTime int //注册时间 } + +//------------------------------------------------------- +type PlayerData struct { + Id int `json:"id"` + CarArr []int `json:"carArr"` + Gold int `json:"gold"` + LastLoginTimestamp float32 `json:"lastLoginTimestamp"` + AllGold int `json:"allGold"` + ShopBuyNums int `json:"shopBuyNums"` + SevenDayNoteData string `json:"sevenDayNoteData"` + CarMaxLevel int `json:"carMaxLevel"` + CurLevel int `json:"curLevel"` + LoginDate string `json:"loginDate"` + CreateCarID int `json:"createCarID"` + KillCount int `json:"killCount"` + HeadShot int `json:"headShot"` + OnLineGold int `json:"onLineGold"` +} -- libgit2 0.21.0