コード例 #1
0
 public CharacterViewInfoMessage(long id, CharacterSummary summary, IDictionary <string, int> stat, QuickSlotInfo qslot, IDictionary <int, ColoredEquipment> equip, int silverCoin, int platinumCoin, IDictionary <int, DurabilityEquipment> durability)
 {
     this.QueryID       = id;
     this.Summary       = summary;
     this.Stat          = stat;
     this.QuickSlotInfo = qslot;
     this.Equipment     = equip;
     this.SilverCoin    = silverCoin;
     this.PlatinumCoin  = platinumCoin;
     this.Durability    = durability;
 }
コード例 #2
0
        public InventoryInfoMessage(ICollection <StorageInfo> storages, ICollection <SlotInfo> infos, IDictionary <int, long> equips, QuickSlotInfo qinfo, ICollection <int> unequippableParts)
        {
            Log <InventoryInfoMessage> .Logger.DebugFormat("inventory size : [{0}, {1}, {2}, {3}]", new object[]
            {
                storages.Count,
                infos.Count,
                equips.Count,
                qinfo.ToString()
            });

            this.StorageInfos      = storages;
            this.SlotInfos         = infos;
            this.EquipmentInfo     = equips;
            this.QuickSlotInfo     = qinfo;
            this.UnequippableParts = unequippableParts;
        }