This commit is contained in:
zhuguoqing 2022-05-27 09:57:53 +08:00
parent e24664ac2f
commit 098d59b788
2 changed files with 2 additions and 1 deletions

View File

@ -916,6 +916,7 @@ message CMMatchChoose
repeated MFPair skill_list = 4;
repeated int32 baseskin = 5;
optional int32 hero_skin = 6;
optional int32 hero_uniid = 7;
}
message CMMatchStartGame

View File

@ -175,12 +175,12 @@ cc.Class({
if (this.team_mode) {
let data = {
hero_id: v.hero_id,
hero_uniid:this.herodatalist[i].hero_uuid,
weapons: JSON.parse(this.weaponStr),
skins: [],
baseskin: gameConfig.all_ItemConfig[v.hero_skin].skinid,
hero_skin: v.hero_skin,
skill_list: cc.playerData.getbattleskilllist(),
hero_uniid:parseInt(this.herodatalist[i].hero_uuid),
};
this.matchdata = data;