|
@@ -125,8 +125,8 @@ namespace GFGGame
|
|
|
{
|
|
|
_onCompleteStoryDialogCallParam = datas[3];
|
|
|
}
|
|
|
- if ((bool)datas[4])
|
|
|
- IsTeaParty = true;
|
|
|
+
|
|
|
+ IsTeaParty = (bool)datas[4];
|
|
|
|
|
|
if (LauncherConfig.netType == LauncherConfig.EnumNetType.TEMP && !InstanceZonesDataManager.CheckLevelPass(MainStoryDataManager.currentLevelCfgId))
|
|
|
{
|
|
@@ -632,21 +632,18 @@ namespace GFGGame
|
|
|
|
|
|
private void UpdateRoleObj(string value)
|
|
|
{
|
|
|
- if (IsTeaParty) {
|
|
|
+ if (IsTeaParty)
|
|
|
+ {
|
|
|
var roleContainerList = LeagueDataManager.Instance.RoleContainerList;
|
|
|
MyDressUpHelper.dressUpObj.setSceneObj(_sceneObject, false, false);
|
|
|
-
|
|
|
- for (int i = 0; i < roleContainerList.Count; i++) {
|
|
|
- for (int j = 0; j < roleContainerList[i].EquipIds.Count; j++) {
|
|
|
- ET.Log.Debug("打印测试-----六个人物------服装数据----" + roleContainerList[i].EquipIds[j]);
|
|
|
- }
|
|
|
- if (value == (i+1).ToString() && roleContainerList[i].EquipIds.Count > 0)
|
|
|
+ for (int i = 0; i < roleContainerList.Count; i++)
|
|
|
+ {
|
|
|
+ if (value == (i + 1).ToString() && roleContainerList[i].EquipIds.Count > 0)
|
|
|
{
|
|
|
MyDressUpHelper.dressUpObj.PutOnItemList(roleContainerList[i].EquipIds);
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
MyDressUpHelper.dressUpObj.PutOnDefaultDressUpData(IsTeaParty);
|
|
|
}
|
|
|
}
|