Exemplo n.º 1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 8: {
                    Status = (global::WUProtos.Networking.Responses.UsePortkeyResponse.Types.Status)input.ReadEnum();
                    break;
                }

                case 18: {
                    if (portkeyRewards_ == null)
                    {
                        PortkeyRewards = new global::WUProtos.Data.Loot.LootCollection();
                    }
                    input.ReadMessage(PortkeyRewards);
                    break;
                }

                case 34: {
                    allBonusNodesRewards_.AddEntriesFrom(input, _repeated_allBonusNodesRewards_codec);
                    break;
                }
                }
            }
        }
Exemplo n.º 2
0
 public void MergeFrom(InventoryCauldronSlot other)
 {
     if (other == null)
     {
         return;
     }
     if (other.rewards_ != null)
     {
         if (rewards_ == null)
         {
             Rewards = new global::WUProtos.Data.Loot.LootCollection();
         }
         Rewards.MergeFrom(other.Rewards);
     }
     if (other.TimeToBrew != 0L)
     {
         TimeToBrew = other.TimeToBrew;
     }
     if (other.RecipeGmtId.Length != 0)
     {
         RecipeGmtId = other.RecipeGmtId;
     }
     if (other.MasterNoteApplied != false)
     {
         MasterNoteApplied = other.MasterNoteApplied;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Exemplo n.º 3
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 8: {
                    Status = (global::WUProtos.Networking.Responses.GiveAwayGreenhouseResponse.Types.Status)input.ReadEnum();
                    break;
                }

                case 18: {
                    if (loot_ == null)
                    {
                        Loot = new global::WUProtos.Data.Loot.LootCollection();
                    }
                    input.ReadMessage(Loot);
                    break;
                }

                case 24: {
                    NextLootTime = input.ReadInt64();
                    break;
                }
                }
            }
        }
                        public void MergeFrom(pb::CodedInputStream input)
                        {
                            uint tag;

                            while ((tag = input.ReadTag()) != 0)
                            {
                                switch (tag)
                                {
                                default:
                                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                                    break;

                                case 8: {
                                    Level = input.ReadUInt32();
                                    break;
                                }

                                case 16: {
                                    LastUpdatedTimestamp = input.ReadInt64();
                                    break;
                                }

                                case 26: {
                                    if (unlockedLevelsCost_ == null)
                                    {
                                        UnlockedLevelsCost = new global::WUProtos.Data.Loot.LootCollection();
                                    }
                                    input.ReadMessage(UnlockedLevelsCost);
                                    break;
                                }
                                }
                            }
                        }
Exemplo n.º 5
0
 public void MergeFrom(MapIngredient other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.loot_ != null)
     {
         if (loot_ == null)
         {
             Loot = new global::WUProtos.Data.Loot.LootCollection();
         }
         Loot.MergeFrom(other.Loot);
     }
     if (other.cost_ != null)
     {
         if (cost_ == null)
         {
             Cost = new global::WUProtos.Data.Loot.LootCollection();
         }
         Cost.MergeFrom(other.Cost);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
 public void MergeFrom(ProfessionNodeLevel other)
 {
     if (other == null)
     {
         return;
     }
     if (other.BuffGmtId.Length != 0)
     {
         BuffGmtId = other.BuffGmtId;
     }
     if (other.prerequisite_ != null)
     {
         if (prerequisite_ == null)
         {
             Prerequisite = new global::WUProtos.Data.Requirements();
         }
         Prerequisite.MergeFrom(other.Prerequisite);
     }
     if (other.cost_ != null)
     {
         if (cost_ == null)
         {
             Cost = new global::WUProtos.Data.Loot.LootCollection();
         }
         Cost.MergeFrom(other.Cost);
     }
     mapAbilities_.Add(other.mapAbilities_);
     if (other.RankPoints != 0)
     {
         RankPoints = other.RankPoints;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
 public void MergeFrom(CollectionFamilyLevel other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Xp != 0L)
     {
         Xp = other.Xp;
     }
     returnedRewards_.Add(other.returnedRewards_);
     if (other.oneTimeRewards_ != null)
     {
         if (oneTimeRewards_ == null)
         {
             OneTimeRewards = new global::WUProtos.Data.Loot.LootCollection();
         }
         OneTimeRewards.MergeFrom(other.OneTimeRewards);
     }
     if (other.LevelDesc.Length != 0)
     {
         LevelDesc = other.LevelDesc;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Exemplo n.º 8
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 8: {
                    Status = (global::WUProtos.Networking.Responses.ContainerConsumptionResponse.Types.Status)input.ReadEnum();
                    break;
                }

                case 18: {
                    if (containerContents_ == null)
                    {
                        ContainerContents = new global::WUProtos.Data.Loot.LootCollection();
                    }
                    input.ReadMessage(ContainerContents);
                    break;
                }
                }
            }
        }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (contents_ == null)
                    {
                        Contents = new global::WUProtos.Data.Loot.LootCollection();
                    }
                    input.ReadMessage(Contents);
                    break;
                }

                case 16: {
                    AutoConsume = input.ReadBool();
                    break;
                }
                }
            }
        }
Exemplo n.º 10
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 8: {
                    CauldronId = input.ReadInt64();
                    break;
                }

                case 16: {
                    CauldronSlot = input.ReadInt32();
                    break;
                }

                case 26: {
                    if (requestedRewards_ == null)
                    {
                        RequestedRewards = new global::WUProtos.Data.Loot.LootCollection();
                    }
                    input.ReadMessage(RequestedRewards);
                    break;
                }
                }
            }
        }
Exemplo n.º 11
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 13: {
                    TierThreshold = input.ReadFloat();
                    break;
                }

                case 18: {
                    if (bonus_ == null)
                    {
                        Bonus = new global::WUProtos.Data.Loot.LootCollection();
                    }
                    input.ReadMessage(Bonus);
                    break;
                }
                }
            }
        }
Exemplo n.º 12
0
 public void MergeFrom(LootOutpostResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Status != 0)
     {
         Status = other.Status;
     }
     if (other.AwardedFoodKey != 0L)
     {
         AwardedFoodKey = other.AwardedFoodKey;
     }
     if (other.NextLootTime != 0L)
     {
         NextLootTime = other.NextLootTime;
     }
     if (other.loot_ != null)
     {
         if (loot_ == null)
         {
             Loot = new global::WUProtos.Data.Loot.LootCollection();
         }
         Loot.MergeFrom(other.Loot);
     }
     if (other.PartnerId.Length != 0)
     {
         PartnerId = other.PartnerId;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Exemplo n.º 13
0
 public void MergeFrom(ClaimPotionResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Result != 0)
     {
         Result = other.Result;
     }
     if (other.receivedRewards_ != null)
     {
         if (receivedRewards_ == null)
         {
             ReceivedRewards = new global::WUProtos.Data.Loot.LootCollection();
         }
         ReceivedRewards.MergeFrom(other.ReceivedRewards);
     }
     if (other.remainingRewards_ != null)
     {
         if (remainingRewards_ == null)
         {
             RemainingRewards = new global::WUProtos.Data.Loot.LootCollection();
         }
         RemainingRewards.MergeFrom(other.RemainingRewards);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
 public void MergeFrom(ClaimDailyRewardResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.TimeUntilNextClaim != 0UL)
     {
         TimeUntilNextClaim = other.TimeUntilNextClaim;
     }
     if (other.DailyRewardMonthlyScheduleId.Length != 0)
     {
         DailyRewardMonthlyScheduleId = other.DailyRewardMonthlyScheduleId;
     }
     if (other.DaysClaimedThisMonth != 0)
     {
         DaysClaimedThisMonth = other.DaysClaimedThisMonth;
     }
     if (other.reward_ != null)
     {
         if (reward_ == null)
         {
             Reward = new global::WUProtos.Data.Loot.LootCollection();
         }
         Reward.MergeFrom(other.Reward);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Exemplo n.º 15
0
 public void MergeFrom(Quest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.Type != 0)
     {
         Type = other.Type;
     }
     tasks_.Add(other.tasks_);
     if (other.rewards_ != null)
     {
         if (rewards_ == null)
         {
             Rewards = new global::WUProtos.Data.Loot.LootCollection();
         }
         Rewards.MergeFrom(other.Rewards);
     }
     if (other.Version != 0)
     {
         Version = other.Version;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Exemplo n.º 16
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    Id = input.ReadString();
                    break;
                }

                case 18: {
                    if (contents_ == null)
                    {
                        Contents = new global::WUProtos.Data.Loot.LootCollection();
                    }
                    input.ReadMessage(Contents);
                    break;
                }

                case 26: {
                    if (cost_ == null)
                    {
                        Cost = new global::WUProtos.Data.Loot.LootCollection();
                    }
                    input.ReadMessage(Cost);
                    break;
                }

                case 34: {
                    IapId = input.ReadString();
                    break;
                }

                case 42: {
                    if (skuData_ == null)
                    {
                        SkuData = new global::WUProtos.Data.SkuData();
                    }
                    input.ReadMessage(SkuData);
                    break;
                }

                case 50: {
                    if (requirements_ == null)
                    {
                        Requirements = new global::WUProtos.Data.Requirements();
                    }
                    input.ReadMessage(Requirements);
                    break;
                }
                }
            }
        }
Exemplo n.º 17
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 8: {
                    Result = (global::WUProtos.Networking.Responses.CraftPotionResponse.Types.CraftPotionResult)input.ReadEnum();
                    break;
                }

                case 18: {
                    if (rewards_ == null)
                    {
                        Rewards = new global::WUProtos.Data.Loot.LootCollection();
                    }
                    input.ReadMessage(Rewards);
                    break;
                }
                }
            }
        }
Exemplo n.º 18
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 8: {
                    DidLevelUp = input.ReadBool();
                    break;
                }

                case 16: {
                    NewLevel = input.ReadInt32();
                    break;
                }

                case 26: {
                    if (grantedRewards_ == null)
                    {
                        GrantedRewards = new global::WUProtos.Data.Loot.LootCollection();
                    }
                    input.ReadMessage(GrantedRewards);
                    break;
                }
                }
            }
        }
                public void MergeFrom(pb::CodedInputStream input)
                {
                    uint tag;

                    while ((tag = input.ReadTag()) != 0)
                    {
                        switch (tag)
                        {
                        default:
                            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                            break;

                        case 10: {
                            WalkboxGmtTemplate = input.ReadString();
                            break;
                        }

                        case 18: {
                            if (rewards_ == null)
                            {
                                Rewards = new global::WUProtos.Data.Loot.LootCollection();
                            }
                            input.ReadMessage(Rewards);
                            break;
                        }

                        case 26:
                        case 24: {
                            portkeyIds_.AddEntriesFrom(input, _repeated_portkeyIds_codec);
                            break;
                        }
                        }
                    }
                }
Exemplo n.º 20
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    RecipeGmtId = input.ReadString();
                    break;
                }

                case 16: {
                    CauldronId = input.ReadInt64();
                    break;
                }

                case 26: {
                    if (ingredientsToPurchase_ == null)
                    {
                        IngredientsToPurchase = new global::WUProtos.Data.Loot.LootCollection();
                    }
                    input.ReadMessage(IngredientsToPurchase);
                    break;
                }
                }
            }
        }
 public void MergeFrom(DailyRewardMonthlySchedule other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.NumberOfDays != 0)
     {
         NumberOfDays = other.NumberOfDays;
     }
     if (other.defaultReward_ != null)
     {
         if (defaultReward_ == null)
         {
             DefaultReward = new global::WUProtos.Data.Loot.LootCollection();
         }
         DefaultReward.MergeFrom(other.DefaultReward);
     }
     dailyRewards_.Add(other.dailyRewards_);
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Exemplo n.º 22
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    Id = input.ReadString();
                    break;
                }

                case 18: {
                    if (recipe_ == null)
                    {
                        Recipe_ = new global::WUProtos.Data.Loot.LootCollection();
                    }
                    input.ReadMessage(Recipe_);
                    break;
                }

                case 26: {
                    if (rewards_ == null)
                    {
                        Rewards = new global::WUProtos.Data.Loot.LootCollection();
                    }
                    input.ReadMessage(Rewards);
                    break;
                }

                case 32: {
                    TimeToCraft = input.ReadInt64();
                    break;
                }

                case 42: {
                    masterNoteGmtId_.AddEntriesFrom(input, _repeated_masterNoteGmtId_codec);
                    break;
                }

                case 48: {
                    Disabled = input.ReadBool();
                    break;
                }

                case 58: {
                    unlockConditions_.AddEntriesFrom(input, _repeated_unlockConditions_codec);
                    break;
                }
                }
            }
        }
Exemplo n.º 23
0
 public void MergeFrom(CollectionItem other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.FamilyId.Length != 0)
     {
         FamilyId = other.FamilyId;
     }
     if (other.ShardCount != 0)
     {
         ShardCount = other.ShardCount;
     }
     if (other.Rarity != 0)
     {
         Rarity = other.Rarity;
     }
     if (other.oneTimeRewards_ != null)
     {
         if (oneTimeRewards_ == null)
         {
             OneTimeRewards = new global::WUProtos.Data.Loot.LootCollection();
         }
         OneTimeRewards.MergeFrom(other.OneTimeRewards);
     }
     if (other.PageId.Length != 0)
     {
         PageId = other.PageId;
     }
     if (other.unlockRequirements_ != null)
     {
         if (unlockRequirements_ == null)
         {
             UnlockRequirements = new global::WUProtos.Data.Requirements();
         }
         UnlockRequirements.MergeFrom(other.UnlockRequirements);
     }
     shardCounts_.Add(other.shardCounts_);
     if (other.StickerDisabled != false)
     {
         StickerDisabled = other.StickerDisabled;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Exemplo n.º 24
0
 public void MergeFrom(StorePack other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.contents_ != null)
     {
         if (contents_ == null)
         {
             Contents = new global::WUProtos.Data.Loot.LootCollection();
         }
         Contents.MergeFrom(other.Contents);
     }
     if (other.cost_ != null)
     {
         if (cost_ == null)
         {
             Cost = new global::WUProtos.Data.Loot.LootCollection();
         }
         Cost.MergeFrom(other.Cost);
     }
     if (other.IapId.Length != 0)
     {
         IapId = other.IapId;
     }
     if (other.skuData_ != null)
     {
         if (skuData_ == null)
         {
             SkuData = new global::WUProtos.Data.SkuData();
         }
         SkuData.MergeFrom(other.SkuData);
     }
     if (other.requirements_ != null)
     {
         if (requirements_ == null)
         {
             Requirements = new global::WUProtos.Data.Requirements();
         }
         Requirements.MergeFrom(other.Requirements);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
 public void MergeFrom(DbgGetLootRollInfoResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.loot_ != null)
     {
         if (loot_ == null)
         {
             Loot = new global::WUProtos.Data.Loot.LootCollection();
         }
         Loot.MergeFrom(other.Loot);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Exemplo n.º 26
0
 public void MergeFrom(DailyReward other)
 {
     if (other == null)
     {
         return;
     }
     if (other.reward_ != null)
     {
         if (reward_ == null)
         {
             Reward = new global::WUProtos.Data.Loot.LootCollection();
         }
         Reward.MergeFrom(other.Reward);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
 public void MergeFrom(PotionIngredientVaultItem other)
 {
     if (other == null)
     {
         return;
     }
     if (other.cost_ != null)
     {
         if (cost_ == null)
         {
             Cost = new global::WUProtos.Data.Loot.LootCollection();
         }
         Cost.MergeFrom(other.Cost);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Exemplo n.º 28
0
 public void MergeFrom(DbgGrantLootCollectionMessage other)
 {
     if (other == null)
     {
         return;
     }
     if (other.lootCollection_ != null)
     {
         if (lootCollection_ == null)
         {
             LootCollection = new global::WUProtos.Data.Loot.LootCollection();
         }
         LootCollection.MergeFrom(other.LootCollection);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
 public void MergeFrom(InventoryEscrowedRewards other)
 {
     if (other == null)
     {
         return;
     }
     if (other.rewards_ != null)
     {
         if (rewards_ == null)
         {
             Rewards = new global::WUProtos.Data.Loot.LootCollection();
         }
         Rewards.MergeFrom(other.Rewards);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Exemplo n.º 30
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    BuffGmtId = input.ReadString();
                    break;
                }

                case 18: {
                    if (prerequisite_ == null)
                    {
                        Prerequisite = new global::WUProtos.Data.Requirements();
                    }
                    input.ReadMessage(Prerequisite);
                    break;
                }

                case 26: {
                    if (cost_ == null)
                    {
                        Cost = new global::WUProtos.Data.Loot.LootCollection();
                    }
                    input.ReadMessage(Cost);
                    break;
                }

                case 34: {
                    mapAbilities_.AddEntriesFrom(input, _repeated_mapAbilities_codec);
                    break;
                }

                case 40: {
                    RankPoints = input.ReadUInt32();
                    break;
                }
                }
            }
        }