4201 【BUG】【2.0】查看其他玩家信息,套装特效没有显示
| | |
| | | secondaryId = secondaryId,
|
| | | fashionClothesId = fashionClothesId,
|
| | | fashionSecondaryId = fashionSecondaryId,
|
| | | suitLevel = (int)(viewPlayerData.rolePropData.EquipShowSwitch % 10)
|
| | | };
|
| | |
|
| | | if (m_Player != null)
|
| | |
| | | for (int i = 0; i < m_SalaryItemList.Count; i++)
|
| | | {
|
| | | var _index = i;
|
| | | m_SalaryItemList[i].button.onClick.AddListener(()=> |
| | | m_SalaryItemList[i].button.onClick.AddListener(() =>
|
| | | {
|
| | | OnSalaryItem(_index);
|
| | | });
|
| | |
| | | {
|
| | | var _itemArray = model.salaryAwardItems[i];
|
| | | m_SalaryItemList[i].gameObject.SetActive(true);
|
| | | ItemCellModel cellModel2 = new ItemCellModel(_itemArray[0],false, (ulong)_itemArray[1]);
|
| | | ItemCellModel cellModel2 = new ItemCellModel(_itemArray[0], false, (ulong)_itemArray[1]);
|
| | | m_SalaryItemList[i].Init(cellModel2);
|
| | | }
|
| | | else
|
| | |
| | | m_LeaderMob.gameObject.SetActive(_hasLeaderData);
|
| | | if (_hasLeaderData)
|
| | | {
|
| | | int _suitEffect = 0;
|
| | | var _leaderData = model.kingFairyData.leaderData;
|
| | | int _suitEffect = (int)(_leaderData.rolePropData.EquipShowSwitch % 10);
|
| | | int clothes = _leaderData.GetItemId(RoleEquipType.Clothes);
|
| | | int weapon = _leaderData.GetItemId(RoleEquipType.Weapon);
|
| | | int wing = _leaderData.GetItemId(RoleEquipType.Wing);
|
| | |
| | | fashionClothesId = fashionClothes,
|
| | | fashionWeaponId = fashionWeapon,
|
| | | fashionSecondaryId = fashionWeapon2,
|
| | | clothesId = clothes,
|
| | | clothesId = clothes,
|
| | | suitLevel = _suitEffect,
|
| | | weaponId = weapon,
|
| | | weaponId = weapon,
|
| | | wingsId = wing,
|
| | | secondaryId = weapon2,
|
| | | secondaryId = weapon2,
|
| | | isDialogue = false,
|
| | | };
|
| | |
|
| | |
| | | namespace Snxxz.UI
|
| | | {
|
| | |
|
| | | public class RoleParticularsWin : Window ,SecondWindowInterface
|
| | | public class RoleParticularsWin : Window, SecondWindowInterface
|
| | | {
|
| | | [SerializeField] Button m_AddFriend;
|
| | | [SerializeField] Button m_ViewHorse;
|
| | |
| | | private void ViewRealmEquip()
|
| | | {
|
| | | var viewPlayerData = model.GetViewPlayerData(model.viewPlayer);
|
| | | var wing = viewPlayerData.GetItemId(RoleEquipType.Wing);
|
| | | var wing = viewPlayerData.GetItemId(RoleEquipType.Wing);
|
| | |
|
| | | otherPlayerEquipModel.ViewPlayerEquip(new OtherPlayerEquipModel.PlayerBriefInfo()
|
| | | {
|
| | | viewType=model.viewPlayerType,
|
| | | viewType = model.viewPlayerType,
|
| | | id = model.viewPlayer,
|
| | | realm = viewPlayerData.rolePropData.RealmLV,
|
| | | job = viewPlayerData.rolePropData.Job,
|
| | |
| | | m_PlayerName.text = StringUtility.Contact(viewPlayerData.rolePropData.Name, "Lv. ", viewPlayerData.rolePropData.LV);
|
| | | m_FightPower.text = StringUtility.Contact(Language.Get("RoleParticularWin_2"), viewPlayerData.rolePropData.FightPower);
|
| | |
|
| | | int _suitLevel = 0;
|
| | | int _suitLevel = (int)(viewPlayerData.rolePropData.EquipShowSwitch % 10);
|
| | | int clothes = viewPlayerData.GetItemId(RoleEquipType.Clothes);
|
| | | int weapon = viewPlayerData.GetItemId(RoleEquipType.Weapon);
|
| | | int wing = viewPlayerData.GetItemId(RoleEquipType.Wing);
|