Example #1
0
 public void MergeFrom(SpeechBubble other)
 {
     if (other == null)
     {
         return;
     }
     if (other.CharacterPortraitImage.Length != 0)
     {
         CharacterPortraitImage = other.CharacterPortraitImage;
     }
     if (other.CharacterNameLockey.Length != 0)
     {
         CharacterNameLockey = other.CharacterNameLockey;
     }
     if (other.BubblePrefabName.Length != 0)
     {
         BubblePrefabName = other.BubblePrefabName;
     }
     if (other.BubbleContentLockey.Length != 0)
     {
         BubbleContentLockey = other.BubbleContentLockey;
     }
     if (other.soundConfig_ != null)
     {
         if (soundConfig_ == null)
         {
             SoundConfig = new global::WUProtos.Data.SoundConfig();
         }
         SoundConfig.MergeFrom(other.SoundConfig);
     }
     _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: {
                    CharacterPortraitImage = input.ReadString();
                    break;
                }

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

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

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

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

                case 50: {
                    ButtonLockey = input.ReadString();
                    break;
                }
                }
            }
        }
Example #3
0
 public void MergeFrom(StoryboardAdviceInterjectionStep other)
 {
     if (other == null)
     {
         return;
     }
     if (other.CharacterPortraitImage.Length != 0)
     {
         CharacterPortraitImage = other.CharacterPortraitImage;
     }
     if (other.CharacterNameLockey.Length != 0)
     {
         CharacterNameLockey = other.CharacterNameLockey;
     }
     if (other.ContentTextLockey.Length != 0)
     {
         ContentTextLockey = other.ContentTextLockey;
     }
     if (other.ContentImageName.Length != 0)
     {
         ContentImageName = other.ContentImageName;
     }
     if (other.soundConfig_ != null)
     {
         if (soundConfig_ == null)
         {
             SoundConfig = new global::WUProtos.Data.SoundConfig();
         }
         SoundConfig.MergeFrom(other.SoundConfig);
     }
     if (other.ButtonLockey.Length != 0)
     {
         ButtonLockey = other.ButtonLockey;
     }
     _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: {
                    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;
                }
                }
            }
        }
 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);
 }
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 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;
                }
                }
            }
        }
Example #7
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);
 }