皮肤:获取皮肤缺少推送参数
This commit is contained in:
@@ -202,6 +202,7 @@ export async function addItems(roleId: string, roleName: string, sid: string, go
|
||||
let hero = await addSkin(roleId, roleName, role.serverId, sid, skinId, false);
|
||||
skinInfos.push({ id: skinId, hid: hero? hero.hid: 0, count: 1, inc: 1, reason })
|
||||
showItems.push({ id: skinId, count: 1 });
|
||||
if(hero) heroskins.push({ skins: hero.skins, hid: hero.hid });
|
||||
}
|
||||
if (!!skinInfos.length) {
|
||||
pushHeroSkinMsg(heroskins, skinInfos, roleId, sid); // 推送onHeroSkinChange
|
||||
|
||||
Reference in New Issue
Block a user