| | |
| | | } |
| | | } |
| | | |
| | | public int otherPlayerRealm { get; private set; } |
| | | public int playerId { get; private set; } |
| | | public int playerJob { get; private set; } |
| | | public int playerRealm { get; private set; } |
| | | |
| | | public event Action selectedLevelChangeEvent; |
| | | Dictionary<int, EquipDetailsGroup> equipDetailsGroups = new Dictionary<int, EquipDetailsGroup>(); |
| | | |
| | |
| | | |
| | | public override void UnInit() |
| | | { |
| | | } |
| | | |
| | | public void ViewPlayerEquip(int playerId, int job, int realmLevel) |
| | | { |
| | | this.playerId = playerId; |
| | | this.playerJob = job; |
| | | this.playerRealm = realmLevel; |
| | | } |
| | | |
| | | public void SelectLevel(int level) |
| | |
| | | |
| | | public void OnGetEquipDetails(HA719_tagSCPlayerEquipCacheResult info) |
| | | { |
| | | |
| | | equipDetailsGroups[info.EquipClassLV] = new EquipDetailsGroup(info.EquipClassLV, info.ItemData); |
| | | } |
| | | |
| | | public Dictionary<int, EquipBrief> GetEquipBriefs() |
| | |
| | | return default(ItemTipUtility.OtherPlayerEquipInfo); |
| | | } |
| | | |
| | | // public int job; |
| | | // public int itemId; |
| | | // public int sorce; |
| | | // public List<Int2> legendProperties; |
| | | // public List<int> suitPlaces; |
| | | // public Dictionary<EquipSuitType, int> suitLevels; |
| | | // public int strengthenLevel; |
| | | // public int starLevel; |
| | | // public List<Int2> trainProperties; |
| | | // public Dictionary<int, bool> gemHoleActiveStates; |
| | | // public Dictionary<int, int> gems; |
| | | // public List<int> skills; |
| | | |
| | | var details = equipDetailsGroups[level].equips[place]; |
| | | |
| | | var equipInfo = new ItemTipUtility.OtherPlayerEquipInfo(); |
| | | equipInfo.job = playerJob; |
| | | equipInfo.itemId = details.itemId; |
| | | |
| | | var legendIds = new List<int>(); |
| | | var legendValues = new List<int>(); |
| | | var userData = new Dictionary<int, List<int>>(); |
| | | |
| | | if (!details.legendProperties.IsNullOrEmpty()) |
| | | { |
| | | foreach (var property in details.legendProperties) |
| | | { |
| | | legendIds.Add(property.x); |
| | | legendValues.Add(property.y); |
| | | } |
| | | |
| | | userData[17] = legendIds; |
| | | userData[19] = legendValues; |
| | | } |
| | | |
| | | equipInfo.sorce = ItemLogicUtility.Instance.GetEquipScore(PackType.Item, details.itemId, userData); |
| | | equipInfo.legendProperties = details.legendProperties; |
| | | |
| | | |
| | | return new ItemTipUtility.OtherPlayerEquipInfo(); |
| | | } |
| | | |