Beispiel #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 10: {
                    Id = input.ReadString();
                    break;
                }

                case 18: {
                    if (statBounds_ == null)
                    {
                        StatBounds = new global::WUProtos.Data.Rpgstat.Types.RangeInt64();
                    }
                    input.ReadMessage(StatBounds);
                    break;
                }
                }
            }
        }
Beispiel #2
0
 public void MergeFrom(Rpgstat other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.statBounds_ != null)
     {
         if (statBounds_ == null)
         {
             StatBounds = new global::WUProtos.Data.Rpgstat.Types.RangeInt64();
         }
         StatBounds.MergeFrom(other.StatBounds);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }