public void MergeFrom(CollectionPage other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.FamilyId.Length != 0)
     {
         FamilyId = other.FamilyId;
     }
     items_.Add(other.items_);
     completionRewards_.Add(other.completionRewards_);
     if (other.unlockRequirements_ != null)
     {
         if (unlockRequirements_ == null)
         {
             UnlockRequirements = new global::WUProtos.Data.Requirements();
         }
         UnlockRequirements.MergeFrom(other.UnlockRequirements);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #2
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 (activationReqs_ == null)
                    {
                        ActivationReqs = new global::WUProtos.Data.Requirements();
                    }
                    input.ReadMessage(ActivationReqs);
                    break;
                }
                }
            }
        }
Example #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 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;
                }
                }
            }
        }
 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);
 }
Example #5
0
 public void MergeFrom(DeepLink other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.Category.Length != 0)
     {
         Category = other.Category;
     }
     if (other.requirements_ != null)
     {
         if (requirements_ == null)
         {
             Requirements = new global::WUProtos.Data.Requirements();
         }
         Requirements.MergeFrom(other.Requirements);
     }
     if (other.Item.Length != 0)
     {
         Item = other.Item;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #6
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 (startReqs_ == null)
                    {
                        StartReqs = new global::WUProtos.Data.Requirements();
                    }
                    input.ReadMessage(StartReqs);
                    break;
                }

                case 26: {
                    StepFlagGmtId = input.ReadString();
                    break;
                }

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

                case 42: {
                    storyboardSteps_.AddEntriesFrom(input, _repeated_storyboardSteps_codec);
                    break;
                }

                case 48: {
                    ResetMode = (global::WUProtos.Enums.StoryboardResetMode)input.ReadEnum();
                    break;
                }

                case 58: {
                    if (resetReqs_ == null)
                    {
                        ResetReqs = new global::WUProtos.Data.Requirements();
                    }
                    input.ReadMessage(ResetReqs);
                    break;
                }
                }
            }
        }
Example #7
0
 public void MergeFrom(ChamberTemplate other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.unlockRequirements_ != null)
     {
         if (unlockRequirements_ == null)
         {
             UnlockRequirements = new global::WUProtos.Data.Requirements();
         }
         UnlockRequirements.MergeFrom(other.UnlockRequirements);
     }
     if (other.visibilityRequirements_ != null)
     {
         if (visibilityRequirements_ == null)
         {
             VisibilityRequirements = new global::WUProtos.Data.Requirements();
         }
         VisibilityRequirements.MergeFrom(other.VisibilityRequirements);
     }
     if (other.MinRunestoneLevel != 0)
     {
         MinRunestoneLevel = other.MinRunestoneLevel;
     }
     if (other.MaxRunestoneLevel != 0)
     {
         MaxRunestoneLevel = other.MaxRunestoneLevel;
     }
     if (other.PlayerCap != 0)
     {
         PlayerCap = other.PlayerCap;
     }
     if (other.DurationMs != 0L)
     {
         DurationMs = other.DurationMs;
     }
     if (other.KnockoutTimeMs != 0L)
     {
         KnockoutTimeMs = other.KnockoutTimeMs;
     }
     playerCountMultipliers_.Add(other.playerCountMultipliers_);
     if (other.BaseChamberRating != 0)
     {
         BaseChamberRating = other.BaseChamberRating;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #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 10: {
                    Name = input.ReadString();
                    break;
                }

                case 18: {
                    UnlockedDescription = input.ReadString();
                    break;
                }

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

                case 32: {
                    ShowBadge = input.ReadBool();
                    break;
                }

                case 42: {
                    if (visibilityConditions_ == null)
                    {
                        VisibilityConditions = new global::WUProtos.Data.Requirements();
                    }
                    input.ReadMessage(VisibilityConditions);
                    break;
                }

                case 50: {
                    if (unlockConditions_ == null)
                    {
                        UnlockConditions = new global::WUProtos.Data.Requirements();
                    }
                    input.ReadMessage(UnlockConditions);
                    break;
                }
                }
            }
        }
 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);
 }
Example #10
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);
 }
Example #11
0
 public void MergeFrom(RequirementsQuestTask other)
 {
     if (other == null)
     {
         return;
     }
     if (other.reqs_ != null)
     {
         if (reqs_ == null)
         {
             Reqs = new global::WUProtos.Data.Requirements();
         }
         Reqs.MergeFrom(other.Reqs);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
        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;
                }
                }
            }
        }
        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: {
                    FamilyId = input.ReadString();
                    break;
                }

                case 26: {
                    items_.AddEntriesFrom(input, _repeated_items_codec);
                    break;
                }

                case 34: {
                    completionRewards_.AddEntriesFrom(input, _repeated_completionRewards_codec);
                    break;
                }

                case 42: {
                    if (unlockRequirements_ == null)
                    {
                        UnlockRequirements = new global::WUProtos.Data.Requirements();
                    }
                    input.ReadMessage(UnlockRequirements);
                    break;
                }
                }
            }
        }
 public void MergeFrom(CollectionFamily other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.FamilyType != 0)
     {
         FamilyType = other.FamilyType;
     }
     items_.Add(other.items_);
     levels_.Add(other.levels_);
     pages_.Add(other.pages_);
     if (other.FamilyRuneName.Length != 0)
     {
         FamilyRuneName = other.FamilyRuneName;
     }
     if (other.FamilyRankTableId.Length != 0)
     {
         FamilyRankTableId = other.FamilyRankTableId;
     }
     returnedRewards_.Add(other.returnedRewards_);
     runeId_.Add(other.runeId_);
     apexItems_.Add(other.apexItems_);
     if (other.unlockRequirements_ != null)
     {
         if (unlockRequirements_ == null)
         {
             UnlockRequirements = new global::WUProtos.Data.Requirements();
         }
         UnlockRequirements.MergeFrom(other.UnlockRequirements);
     }
     if (other.SubfeatureType != 0)
     {
         SubfeatureType = other.SubfeatureType;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #15
0
 public void MergeFrom(DisabledFeatureConfig other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.failedReqs_ != null)
     {
         if (failedReqs_ == null)
         {
             FailedReqs = new global::WUProtos.Data.Requirements();
         }
         FailedReqs.MergeFrom(other.FailedReqs);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
 public void MergeFrom(SelfieAvatarAsset other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.unlockConditions_ != null)
     {
         if (unlockConditions_ == null)
         {
             UnlockConditions = new global::WUProtos.Data.Requirements();
         }
         UnlockConditions.MergeFrom(other.UnlockConditions);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #17
0
 public void MergeFrom(Event other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.activationReqs_ != null)
     {
         if (activationReqs_ == null)
         {
             ActivationReqs = new global::WUProtos.Data.Requirements();
         }
         ActivationReqs.MergeFrom(other.ActivationReqs);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #18
0
 public void MergeFrom(Storyboard other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.startReqs_ != null)
     {
         if (startReqs_ == null)
         {
             StartReqs = new global::WUProtos.Data.Requirements();
         }
         StartReqs.MergeFrom(other.StartReqs);
     }
     if (other.StepFlagGmtId.Length != 0)
     {
         StepFlagGmtId = other.StepFlagGmtId;
     }
     if (other.CompleteFlagGmtId.Length != 0)
     {
         CompleteFlagGmtId = other.CompleteFlagGmtId;
     }
     storyboardSteps_.Add(other.storyboardSteps_);
     if (other.ResetMode != 0)
     {
         ResetMode = other.ResetMode;
     }
     if (other.resetReqs_ != null)
     {
         if (resetReqs_ == null)
         {
             ResetReqs = new global::WUProtos.Data.Requirements();
         }
         ResetReqs.MergeFrom(other.ResetReqs);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #19
0
 public void MergeFrom(ClientTitle other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.UnlockedDescription.Length != 0)
     {
         UnlockedDescription = other.UnlockedDescription;
     }
     if (other.Disabled != false)
     {
         Disabled = other.Disabled;
     }
     if (other.ShowBadge != false)
     {
         ShowBadge = other.ShowBadge;
     }
     if (other.visibilityConditions_ != null)
     {
         if (visibilityConditions_ == null)
         {
             VisibilityConditions = new global::WUProtos.Data.Requirements();
         }
         VisibilityConditions.MergeFrom(other.VisibilityConditions);
     }
     if (other.unlockConditions_ != null)
     {
         if (unlockConditions_ == null)
         {
             UnlockConditions = new global::WUProtos.Data.Requirements();
         }
         UnlockConditions.MergeFrom(other.UnlockConditions);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
        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 16: {
                    FamilyType = (global::WUProtos.Enums.CollectionFamilyType)input.ReadEnum();
                    break;
                }

                case 26: {
                    items_.AddEntriesFrom(input, _repeated_items_codec);
                    break;
                }

                case 34: {
                    levels_.AddEntriesFrom(input, _repeated_levels_codec);
                    break;
                }

                case 42: {
                    pages_.AddEntriesFrom(input, _repeated_pages_codec);
                    break;
                }

                case 50: {
                    FamilyRuneName = input.ReadString();
                    break;
                }

                case 58: {
                    FamilyRankTableId = input.ReadString();
                    break;
                }

                case 66: {
                    returnedRewards_.AddEntriesFrom(input, _repeated_returnedRewards_codec);
                    break;
                }

                case 74: {
                    runeId_.AddEntriesFrom(input, _repeated_runeId_codec);
                    break;
                }

                case 82: {
                    apexItems_.AddEntriesFrom(input, _repeated_apexItems_codec);
                    break;
                }

                case 90: {
                    if (unlockRequirements_ == null)
                    {
                        UnlockRequirements = new global::WUProtos.Data.Requirements();
                    }
                    input.ReadMessage(UnlockRequirements);
                    break;
                }

                case 96: {
                    SubfeatureType = (global::WUProtos.Data.Collection.CollectionFamily.Types.SubfeatureType)input.ReadEnum();
                    break;
                }
                }
            }
        }
Example #21
0
 public void MergeFrom(ClientSelfieAvatarAsset other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     unlockConditions_.Add(other.unlockConditions_);
     if (other.AssetScriptName.Length != 0)
     {
         AssetScriptName = other.AssetScriptName;
     }
     if (other.Icon.Length != 0)
     {
         Icon = other.Icon;
     }
     if (other.AssetType != 0)
     {
         AssetType = other.AssetType;
     }
     if (other.LensType != 0)
     {
         LensType = other.LensType;
     }
     if (other.Visible != false)
     {
         Visible = other.Visible;
     }
     if (other.MediaSupportedType != 0)
     {
         MediaSupportedType = other.MediaSupportedType;
     }
     if (other.Animated != false)
     {
         Animated = other.Animated;
     }
     if (other.StorePackId.Length != 0)
     {
         StorePackId = other.StorePackId;
     }
     if (other.OrderId != 0)
     {
         OrderId = other.OrderId;
     }
     if (other.IsFullBodyLens != false)
     {
         IsFullBodyLens = other.IsFullBodyLens;
     }
     if (other.IsEmptyAsset != false)
     {
         IsEmptyAsset = other.IsEmptyAsset;
     }
     if (other.ShowBadge != false)
     {
         ShowBadge = other.ShowBadge;
     }
     if (other.visibilityConditions_ != null)
     {
         if (visibilityConditions_ == null)
         {
             VisibilityConditions = new global::WUProtos.Data.Requirements();
         }
         VisibilityConditions.MergeFrom(other.VisibilityConditions);
     }
     if (other.StockAssetName.Length != 0)
     {
         StockAssetName = other.StockAssetName;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
        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: {
                    FamilyId = input.ReadString();
                    break;
                }

                case 24: {
                    ShardCount = input.ReadInt32();
                    break;
                }

                case 32: {
                    Rarity = input.ReadInt32();
                    break;
                }

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

                case 50: {
                    PageId = input.ReadString();
                    break;
                }

                case 58: {
                    if (unlockRequirements_ == null)
                    {
                        UnlockRequirements = new global::WUProtos.Data.Requirements();
                    }
                    input.ReadMessage(UnlockRequirements);
                    break;
                }

                case 66:
                case 64: {
                    shardCounts_.AddEntriesFrom(input, _repeated_shardCounts_codec);
                    break;
                }

                case 80: {
                    StickerDisabled = input.ReadBool();
                    break;
                }
                }
            }
        }
Example #23
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: {
                    unlockConditions_.AddEntriesFrom(input, _repeated_unlockConditions_codec);
                    break;
                }

                case 26: {
                    AssetScriptName = input.ReadString();
                    break;
                }

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

                case 40: {
                    AssetType = (global::WUProtos.Data.Client.ClientSelfieAvatarAsset.Types.SelfieAvatarAssetType)input.ReadEnum();
                    break;
                }

                case 48: {
                    LensType = (global::WUProtos.Data.Client.ClientSelfieAvatarAsset.Types.SelfieAvatarLensType)input.ReadEnum();
                    break;
                }

                case 56: {
                    Visible = input.ReadBool();
                    break;
                }

                case 64: {
                    MediaSupportedType = (global::WUProtos.Data.Client.ClientSelfieAvatarAsset.Types.SelfieAvatarMediaSupportedType)input.ReadEnum();
                    break;
                }

                case 72: {
                    Animated = input.ReadBool();
                    break;
                }

                case 82: {
                    StorePackId = input.ReadString();
                    break;
                }

                case 88: {
                    OrderId = input.ReadInt32();
                    break;
                }

                case 96: {
                    IsFullBodyLens = input.ReadBool();
                    break;
                }

                case 104: {
                    IsEmptyAsset = input.ReadBool();
                    break;
                }

                case 112: {
                    ShowBadge = input.ReadBool();
                    break;
                }

                case 122: {
                    if (visibilityConditions_ == null)
                    {
                        VisibilityConditions = new global::WUProtos.Data.Requirements();
                    }
                    input.ReadMessage(VisibilityConditions);
                    break;
                }

                case 130: {
                    StockAssetName = input.ReadString();
                    break;
                }
                }
            }
        }
Example #24
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 (unlockRequirements_ == null)
                    {
                        UnlockRequirements = new global::WUProtos.Data.Requirements();
                    }
                    input.ReadMessage(UnlockRequirements);
                    break;
                }

                case 26: {
                    if (visibilityRequirements_ == null)
                    {
                        VisibilityRequirements = new global::WUProtos.Data.Requirements();
                    }
                    input.ReadMessage(VisibilityRequirements);
                    break;
                }

                case 32: {
                    MinRunestoneLevel = input.ReadUInt32();
                    break;
                }

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

                case 48: {
                    PlayerCap = input.ReadUInt32();
                    break;
                }

                case 56: {
                    DurationMs = input.ReadInt64();
                    break;
                }

                case 80: {
                    KnockoutTimeMs = input.ReadInt64();
                    break;
                }

                case 90: {
                    playerCountMultipliers_.AddEntriesFrom(input, _map_playerCountMultipliers_codec);
                    break;
                }

                case 96: {
                    BaseChamberRating = input.ReadUInt32();
                    break;
                }
                }
            }
        }