This commit is contained in:
aozhiwei 2024-06-21 10:58:43 +08:00
parent 9889ec6dbc
commit ccfeb6d228
3 changed files with 10 additions and 0 deletions

View File

@ -32,6 +32,8 @@ type LoginRsp struct {
SpecSkill string `json:"spec_skill"`
Wealth interface{} `json:"wealth"`
ValidLefttime interface{} `json:"valid_lefttime"`
CurrentTimes interface{} `json:"current_times"`
TotalTimes interface{} `json:"total_times"`
} `json:"hero_info"`
MapInfo *MapInfoRsp `json:"map_info"`
} `json:"info"`
@ -59,6 +61,8 @@ type UserRsp struct {
SpecSkill string `json:"spec_skill"`
Wealth interface{} `json:"wealth"`
ValidLefttime interface{} `json:"valid_lefttime"`
CurrentTimes interface{} `json:"current_times"`
TotalTimes interface{} `json:"total_times"`
} `json:"hero_info"`
} `json:"info"`
}
@ -104,6 +108,8 @@ type UpdateBattleInfoRsp struct {
SpecSkill string `json:"spec_skill"`
Wealth interface{} `json:"wealth"`
ValidLefttime interface{} `json:"valid_lefttime"`
CurrentTimes interface{} `json:"current_times"`
TotalTimes interface{} `json:"total_times"`
} `json:"hero_info"`
} `json:"info"`
}

View File

@ -19,6 +19,8 @@ type hero struct {
specSkill int32
wealth int32
validLeftTime int32
currentTimes int32
totalTimes int32
}
type player struct {

View File

@ -110,6 +110,8 @@ message MFHero
{
optional int32 hero_id = 1; //id
optional int32 quality = 2; //
optional int32 current_times = 3; //
optional int32 total_times = 4; //
}
//