public void MergeFrom(ClientBonusCategory other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.color_ != null)
     {
         if (color_ == null)
         {
             Color = new global::WUProtos.Data.Color();
         }
         Color.MergeFrom(other.Color);
     }
     if (other.NameLocKey.Length != 0)
     {
         NameLocKey = other.NameLocKey;
     }
     if (other.BackgroundImage.Length != 0)
     {
         BackgroundImage = other.BackgroundImage;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
예제 #2
0
 public void MergeFrom(ClientRecipe other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.Description.Length != 0)
     {
         Description = other.Description;
     }
     if (other.Icon.Length != 0)
     {
         Icon = other.Icon;
     }
     if (other.Model.Length != 0)
     {
         Model = other.Model;
     }
     if (other.CollectFx.Length != 0)
     {
         CollectFx = other.CollectFx;
     }
     if (other.CraftingFx.Length != 0)
     {
         CraftingFx = other.CraftingFx;
     }
     if (other.RevealFx.Length != 0)
     {
         RevealFx = other.RevealFx;
     }
     if (other.primaryColor_ != null)
     {
         if (primaryColor_ == null)
         {
             PrimaryColor = new global::WUProtos.Data.Color();
         }
         PrimaryColor.MergeFrom(other.PrimaryColor);
     }
     if (other.secondaryColor_ != null)
     {
         if (secondaryColor_ == null)
         {
             SecondaryColor = new global::WUProtos.Data.Color();
         }
         SecondaryColor.MergeFrom(other.SecondaryColor);
     }
     if (other.Index != 0)
     {
         Index = other.Index;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
예제 #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 (textColor_ == null)
                    {
                        TextColor = new global::WUProtos.Data.Color();
                    }
                    input.ReadMessage(TextColor);
                    break;
                }

                case 26: {
                    Title = input.ReadString();
                    break;
                }
                }
            }
        }
예제 #4
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: {
                    BorderImage = input.ReadString();
                    break;
                }

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

                case 26: {
                    if (color_ == null)
                    {
                        Color = new global::WUProtos.Data.Color();
                    }
                    input.ReadMessage(Color);
                    break;
                }

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

                case 42: {
                    FrameMesh = input.ReadString();
                    break;
                }

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

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

                case 69: {
                    Roughness = input.ReadFloat();
                    break;
                }
                }
            }
        }
예제 #5
0
 public void MergeFrom(StoreCategory other)
 {
     if (other == null)
     {
         return;
     }
     if (other.IconPath.Length != 0)
     {
         IconPath = other.IconPath;
     }
     if (other.Title.Length != 0)
     {
         Title = other.Title;
     }
     if (other.Header.Length != 0)
     {
         Header = other.Header;
     }
     if (other.headerColor_ != null)
     {
         if (headerColor_ == null)
         {
             HeaderColor = new global::WUProtos.Data.Color();
         }
         HeaderColor.MergeFrom(other.HeaderColor);
     }
     if (other.Background.Length != 0)
     {
         Background = other.Background;
     }
     if (other.backgroundColor_ != null)
     {
         if (backgroundColor_ == null)
         {
             BackgroundColor = new global::WUProtos.Data.Color();
         }
         BackgroundColor.MergeFrom(other.BackgroundColor);
     }
     storeSubcategories_.Add(other.storeSubcategories_);
     if (other.HeaderPrefab.Length != 0)
     {
         HeaderPrefab = other.HeaderPrefab;
     }
     if (other.itemColor_ != null)
     {
         if (itemColor_ == null)
         {
             ItemColor = new global::WUProtos.Data.Color();
         }
         ItemColor.MergeFrom(other.ItemColor);
     }
     if (other.Enabled != false)
     {
         Enabled = other.Enabled;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
예제 #6
0
 public void MergeFrom(ClientHouse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.Description.Length != 0)
     {
         Description = other.Description;
     }
     if (other.Icon.Length != 0)
     {
         Icon = other.Icon;
     }
     if (other.AnimIn.Length != 0)
     {
         AnimIn = other.AnimIn;
     }
     if (other.AnimLoop.Length != 0)
     {
         AnimLoop = other.AnimLoop;
     }
     if (other.AnimOut.Length != 0)
     {
         AnimOut = other.AnimOut;
     }
     if (other.color_ != null)
     {
         if (color_ == null)
         {
             Color = new global::WUProtos.Data.Color();
         }
         Color.MergeFrom(other.Color);
     }
     if (other.SoundSelect.Length != 0)
     {
         SoundSelect = other.SoundSelect;
     }
     if (other.IntroSoundSelect.Length != 0)
     {
         IntroSoundSelect = other.IntroSoundSelect;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
예제 #7
0
 public void MergeFrom(CollectionPrestigeLevel other)
 {
     if (other == null)
     {
         return;
     }
     if (other.BorderImage.Length != 0)
     {
         BorderImage = other.BorderImage;
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.color_ != null)
     {
         if (color_ == null)
         {
             Color = new global::WUProtos.Data.Color();
         }
         Color.MergeFrom(other.Color);
     }
     if (other.IsMetallic != false)
     {
         IsMetallic = other.IsMetallic;
     }
     if (other.FrameMesh.Length != 0)
     {
         FrameMesh = other.FrameMesh;
     }
     if (other.NormalMap.Length != 0)
     {
         NormalMap = other.NormalMap;
     }
     if (other.AlbedoMap.Length != 0)
     {
         AlbedoMap = other.AlbedoMap;
     }
     if (other.Roughness != 0F)
     {
         Roughness = other.Roughness;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
예제 #8
0
 public void MergeFrom(ClientTeamControl other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.TeamName.Length != 0)
     {
         TeamName = other.TeamName;
     }
     if (other.TeamIcon.Length != 0)
     {
         TeamIcon = other.TeamIcon;
     }
     if (other.teamColor_ != null)
     {
         if (teamColor_ == null)
         {
             TeamColor = new global::WUProtos.Data.Color();
         }
         TeamColor.MergeFrom(other.TeamColor);
     }
     if (other.TeamHeaderIcon.Length != 0)
     {
         TeamHeaderIcon = other.TeamHeaderIcon;
     }
     if (other.TeamBanner.Length != 0)
     {
         TeamBanner = other.TeamBanner;
     }
     if (other.TeamFlag.Length != 0)
     {
         TeamFlag = other.TeamFlag;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
예제 #9
0
 public void MergeFrom(StoreRarity other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.textColor_ != null)
     {
         if (textColor_ == null)
         {
             TextColor = new global::WUProtos.Data.Color();
         }
         TextColor.MergeFrom(other.TextColor);
     }
     if (other.Title.Length != 0)
     {
         Title = other.Title;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
예제 #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 10: {
                    Id = input.ReadString();
                    break;
                }

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

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

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

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

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

                case 66: {
                    LandmarkDescription = input.ReadString();
                    break;
                }

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

                case 90: {
                    LandmarkIcon = input.ReadString();
                    break;
                }

                case 98: {
                    if (color_ == null)
                    {
                        Color = new global::WUProtos.Data.Color();
                    }
                    input.ReadMessage(Color);
                    break;
                }

                case 106: {
                    if (colorHighlight_ == null)
                    {
                        ColorHighlight = new global::WUProtos.Data.Color();
                    }
                    input.ReadMessage(ColorHighlight);
                    break;
                }

                case 114: {
                    TracePrefab = input.ReadString();
                    break;
                }

                case 122: {
                    borderImages_.AddEntriesFrom(input, _repeated_borderImages_codec);
                    break;
                }

                case 130: {
                    FamilyRunestoneIcon = input.ReadString();
                    break;
                }

                case 138: {
                    if (sound_ == null)
                    {
                        Sound = new global::WUProtos.Data.SoundConfig();
                    }
                    input.ReadMessage(Sound);
                    break;
                }
                }
            }
        }
예제 #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 10: {
                    Name = input.ReadString();
                    break;
                }

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

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

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

                case 42: {
                    AnimLoop = input.ReadString();
                    break;
                }

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

                case 58: {
                    if (color_ == null)
                    {
                        Color = new global::WUProtos.Data.Color();
                    }
                    input.ReadMessage(Color);
                    break;
                }

                case 66: {
                    SoundSelect = input.ReadString();
                    break;
                }

                case 74: {
                    IntroSoundSelect = input.ReadString();
                    break;
                }
                }
            }
        }
예제 #12
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: {
                    Name = input.ReadString();
                    break;
                }

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

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

                case 40: {
                    Rarity = input.ReadInt64();
                    break;
                }

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

                case 64: {
                    ShowInVaultItemMenu = input.ReadBool();
                    break;
                }

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

                case 80: {
                    ShowInRewardsFlow = input.ReadBool();
                    break;
                }

                case 90: {
                    if (color_ == null)
                    {
                        Color = new global::WUProtos.Data.Color();
                    }
                    input.ReadMessage(Color);
                    break;
                }

                case 98: {
                    Background = input.ReadString();
                    break;
                }

                case 104: {
                    Ordering = input.ReadInt32();
                    break;
                }

                case 114: {
                    if (rewardSound_ == null)
                    {
                        RewardSound = new global::WUProtos.Data.SoundConfig();
                    }
                    input.ReadMessage(RewardSound);
                    break;
                }

                case 120: {
                    RewardSoundPriority = input.ReadInt32();
                    break;
                }

                case 130: {
                    SpineAnimatedIcon = input.ReadString();
                    break;
                }
                }
            }
        }
예제 #13
0
 public void MergeFrom(ClientVaultItem other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.Icon.Length != 0)
     {
         Icon = other.Icon;
     }
     if (other.Prefab.Length != 0)
     {
         Prefab = other.Prefab;
     }
     if (other.Rarity != 0L)
     {
         Rarity = other.Rarity;
     }
     if (other.Description.Length != 0)
     {
         Description = other.Description;
     }
     if (other.ShowInVaultItemMenu != false)
     {
         ShowInVaultItemMenu = other.ShowInVaultItemMenu;
     }
     if (other.Deletable != false)
     {
         Deletable = other.Deletable;
     }
     if (other.ShowInRewardsFlow != false)
     {
         ShowInRewardsFlow = other.ShowInRewardsFlow;
     }
     if (other.color_ != null)
     {
         if (color_ == null)
         {
             Color = new global::WUProtos.Data.Color();
         }
         Color.MergeFrom(other.Color);
     }
     if (other.Background.Length != 0)
     {
         Background = other.Background;
     }
     if (other.Ordering != 0)
     {
         Ordering = other.Ordering;
     }
     if (other.rewardSound_ != null)
     {
         if (rewardSound_ == null)
         {
             RewardSound = new global::WUProtos.Data.SoundConfig();
         }
         RewardSound.MergeFrom(other.RewardSound);
     }
     if (other.RewardSoundPriority != 0)
     {
         RewardSoundPriority = other.RewardSoundPriority;
     }
     if (other.SpineAnimatedIcon.Length != 0)
     {
         SpineAnimatedIcon = other.SpineAnimatedIcon;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
예제 #14
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: {
                    IconPath = input.ReadString();
                    break;
                }

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

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

                case 34: {
                    if (headerColor_ == null)
                    {
                        HeaderColor = new global::WUProtos.Data.Color();
                    }
                    input.ReadMessage(HeaderColor);
                    break;
                }

                case 42: {
                    Background = input.ReadString();
                    break;
                }

                case 50: {
                    if (backgroundColor_ == null)
                    {
                        BackgroundColor = new global::WUProtos.Data.Color();
                    }
                    input.ReadMessage(BackgroundColor);
                    break;
                }

                case 58: {
                    storeSubcategories_.AddEntriesFrom(input, _repeated_storeSubcategories_codec);
                    break;
                }

                case 66: {
                    HeaderPrefab = input.ReadString();
                    break;
                }

                case 74: {
                    if (itemColor_ == null)
                    {
                        ItemColor = new global::WUProtos.Data.Color();
                    }
                    input.ReadMessage(ItemColor);
                    break;
                }

                case 80: {
                    Enabled = input.ReadBool();
                    break;
                }
                }
            }
        }
예제 #15
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: {
                    Name = input.ReadString();
                    break;
                }

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

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

                case 42: {
                    Model = input.ReadString();
                    break;
                }

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

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

                case 66: {
                    RevealFx = input.ReadString();
                    break;
                }

                case 74: {
                    if (primaryColor_ == null)
                    {
                        PrimaryColor = new global::WUProtos.Data.Color();
                    }
                    input.ReadMessage(PrimaryColor);
                    break;
                }

                case 82: {
                    if (secondaryColor_ == null)
                    {
                        SecondaryColor = new global::WUProtos.Data.Color();
                    }
                    input.ReadMessage(SecondaryColor);
                    break;
                }

                case 88: {
                    Index = input.ReadInt32();
                    break;
                }
                }
            }
        }
예제 #16
0
 public void MergeFrom(ClientCollectionFamily other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.Description.Length != 0)
     {
         Description = other.Description;
     }
     if (other.Icon.Length != 0)
     {
         Icon = other.Icon;
     }
     if (other.LandmarkTexture.Length != 0)
     {
         LandmarkTexture = other.LandmarkTexture;
     }
     if (other.LandmarkPrefab.Length != 0)
     {
         LandmarkPrefab = other.LandmarkPrefab;
     }
     if (other.LandmarkDescription.Length != 0)
     {
         LandmarkDescription = other.LandmarkDescription;
     }
     if (other.ShowInUi != false)
     {
         ShowInUi = other.ShowInUi;
     }
     if (other.LandmarkIcon.Length != 0)
     {
         LandmarkIcon = other.LandmarkIcon;
     }
     if (other.color_ != null)
     {
         if (color_ == null)
         {
             Color = new global::WUProtos.Data.Color();
         }
         Color.MergeFrom(other.Color);
     }
     if (other.colorHighlight_ != null)
     {
         if (colorHighlight_ == null)
         {
             ColorHighlight = new global::WUProtos.Data.Color();
         }
         ColorHighlight.MergeFrom(other.ColorHighlight);
     }
     if (other.TracePrefab.Length != 0)
     {
         TracePrefab = other.TracePrefab;
     }
     borderImages_.Add(other.borderImages_);
     if (other.FamilyRunestoneIcon.Length != 0)
     {
         FamilyRunestoneIcon = other.FamilyRunestoneIcon;
     }
     if (other.sound_ != null)
     {
         if (sound_ == null)
         {
             Sound = new global::WUProtos.Data.SoundConfig();
         }
         Sound.MergeFrom(other.Sound);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
예제 #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 10: {
                    Id = input.ReadString();
                    break;
                }

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

                case 26: {
                    encounterSearchingIdleTimelines_.AddEntriesFrom(input, _repeated_encounterSearchingIdleTimelines_codec);
                    break;
                }

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

                case 42: {
                    EncounterTarget = input.ReadString();
                    break;
                }

                case 50: {
                    stages_.AddEntriesFrom(input, _repeated_stages_codec);
                    break;
                }

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

                case 66: {
                    SearchTargetLayout = input.ReadString();
                    break;
                }

                case 74: {
                    encounterAssets_.AddEntriesFrom(input, _repeated_encounterAssets_codec);
                    break;
                }

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

                case 90: {
                    encounterMusicParams_.AddEntriesFrom(input, _repeated_encounterMusicParams_codec);
                    break;
                }

                case 98: {
                    Name = input.ReadString();
                    break;
                }

                case 106: {
                    EncounterMapSpriteFrame = input.ReadString();
                    break;
                }

                case 114: {
                    if (mapHealthBarColor_ == null)
                    {
                        MapHealthBarColor = new global::WUProtos.Data.Color();
                    }
                    input.ReadMessage(MapHealthBarColor);
                    break;
                }

                case 122: {
                    if (hudHealthBarColor_ == null)
                    {
                        HudHealthBarColor = new global::WUProtos.Data.Color();
                    }
                    input.ReadMessage(HudHealthBarColor);
                    break;
                }
                }
            }
        }
예제 #18
0
 public void MergeFrom(ClientEncounter other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.EncounterSearchingTimeline.Length != 0)
     {
         EncounterSearchingTimeline = other.EncounterSearchingTimeline;
     }
     encounterSearchingIdleTimelines_.Add(other.encounterSearchingIdleTimelines_);
     if (other.EncounterFleeTimeline.Length != 0)
     {
         EncounterFleeTimeline = other.EncounterFleeTimeline;
     }
     if (other.EncounterTarget.Length != 0)
     {
         EncounterTarget = other.EncounterTarget;
     }
     stages_.Add(other.stages_);
     if (other.EncounterTargetLayout.Length != 0)
     {
         EncounterTargetLayout = other.EncounterTargetLayout;
     }
     if (other.SearchTargetLayout.Length != 0)
     {
         SearchTargetLayout = other.SearchTargetLayout;
     }
     encounterAssets_.Add(other.encounterAssets_);
     if (other.EncounterMapSprite.Length != 0)
     {
         EncounterMapSprite = other.EncounterMapSprite;
     }
     encounterMusicParams_.Add(other.encounterMusicParams_);
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.EncounterMapSpriteFrame.Length != 0)
     {
         EncounterMapSpriteFrame = other.EncounterMapSpriteFrame;
     }
     if (other.mapHealthBarColor_ != null)
     {
         if (mapHealthBarColor_ == null)
         {
             MapHealthBarColor = new global::WUProtos.Data.Color();
         }
         MapHealthBarColor.MergeFrom(other.MapHealthBarColor);
     }
     if (other.hudHealthBarColor_ != null)
     {
         if (hudHealthBarColor_ == null)
         {
             HudHealthBarColor = new global::WUProtos.Data.Color();
         }
         HudHealthBarColor.MergeFrom(other.HudHealthBarColor);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }