1
This commit is contained in:
parent
9889ec6dbc
commit
ccfeb6d228
@ -32,6 +32,8 @@ type LoginRsp struct {
|
|||||||
SpecSkill string `json:"spec_skill"`
|
SpecSkill string `json:"spec_skill"`
|
||||||
Wealth interface{} `json:"wealth"`
|
Wealth interface{} `json:"wealth"`
|
||||||
ValidLefttime interface{} `json:"valid_lefttime"`
|
ValidLefttime interface{} `json:"valid_lefttime"`
|
||||||
|
CurrentTimes interface{} `json:"current_times"`
|
||||||
|
TotalTimes interface{} `json:"total_times"`
|
||||||
} `json:"hero_info"`
|
} `json:"hero_info"`
|
||||||
MapInfo *MapInfoRsp `json:"map_info"`
|
MapInfo *MapInfoRsp `json:"map_info"`
|
||||||
} `json:"info"`
|
} `json:"info"`
|
||||||
@ -59,6 +61,8 @@ type UserRsp struct {
|
|||||||
SpecSkill string `json:"spec_skill"`
|
SpecSkill string `json:"spec_skill"`
|
||||||
Wealth interface{} `json:"wealth"`
|
Wealth interface{} `json:"wealth"`
|
||||||
ValidLefttime interface{} `json:"valid_lefttime"`
|
ValidLefttime interface{} `json:"valid_lefttime"`
|
||||||
|
CurrentTimes interface{} `json:"current_times"`
|
||||||
|
TotalTimes interface{} `json:"total_times"`
|
||||||
} `json:"hero_info"`
|
} `json:"hero_info"`
|
||||||
} `json:"info"`
|
} `json:"info"`
|
||||||
}
|
}
|
||||||
@ -104,6 +108,8 @@ type UpdateBattleInfoRsp struct {
|
|||||||
SpecSkill string `json:"spec_skill"`
|
SpecSkill string `json:"spec_skill"`
|
||||||
Wealth interface{} `json:"wealth"`
|
Wealth interface{} `json:"wealth"`
|
||||||
ValidLefttime interface{} `json:"valid_lefttime"`
|
ValidLefttime interface{} `json:"valid_lefttime"`
|
||||||
|
CurrentTimes interface{} `json:"current_times"`
|
||||||
|
TotalTimes interface{} `json:"total_times"`
|
||||||
} `json:"hero_info"`
|
} `json:"hero_info"`
|
||||||
} `json:"info"`
|
} `json:"info"`
|
||||||
}
|
}
|
||||||
|
@ -19,6 +19,8 @@ type hero struct {
|
|||||||
specSkill int32
|
specSkill int32
|
||||||
wealth int32
|
wealth int32
|
||||||
validLeftTime int32
|
validLeftTime int32
|
||||||
|
currentTimes int32
|
||||||
|
totalTimes int32
|
||||||
}
|
}
|
||||||
|
|
||||||
type player struct {
|
type player struct {
|
||||||
|
@ -110,6 +110,8 @@ message MFHero
|
|||||||
{
|
{
|
||||||
optional int32 hero_id = 1; //英雄id
|
optional int32 hero_id = 1; //英雄id
|
||||||
optional int32 quality = 2; //英雄品阶
|
optional int32 quality = 2; //英雄品阶
|
||||||
|
optional int32 current_times = 3; //当前打金次数
|
||||||
|
optional int32 total_times = 4; //总打金次数
|
||||||
}
|
}
|
||||||
|
|
||||||
//加入房间消息
|
//加入房间消息
|
||||||
|
Loading…
x
Reference in New Issue
Block a user