Пример #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: {
                    NextLootTime = input.ReadInt64();
                    break;
                }

                case 18: {
                    if (darkDetectorAmplifier_ == null)
                    {
                        DarkDetectorAmplifier = new global::WUProtos.Data.Client.ClientDarkDetectorAmplifier();
                    }
                    input.ReadMessage(DarkDetectorAmplifier);
                    break;
                }

                case 26: {
                    OutpostTemplateGmtId = input.ReadString();
                    break;
                }
                }
            }
        }
Пример #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 8: {
                    Result = (global::WUProtos.Networking.Responses.AddDarkDetectorResponse.Types.Result)input.ReadEnum();
                    break;
                }

                case 18: {
                    if (darkDetectorAmplifier_ == null)
                    {
                        DarkDetectorAmplifier = new global::WUProtos.Data.Client.ClientDarkDetectorAmplifier();
                    }
                    input.ReadMessage(DarkDetectorAmplifier);
                    break;
                }

                case 42: {
                    PartnerId = input.ReadString();
                    break;
                }
                }
            }
        }
Пример #3
0
 public void MergeFrom(ClientMapOutpost other)
 {
     if (other == null)
     {
         return;
     }
     if (other.NextLootTime != 0L)
     {
         NextLootTime = other.NextLootTime;
     }
     if (other.darkDetectorAmplifier_ != null)
     {
         if (darkDetectorAmplifier_ == null)
         {
             DarkDetectorAmplifier = new global::WUProtos.Data.Client.ClientDarkDetectorAmplifier();
         }
         DarkDetectorAmplifier.MergeFrom(other.DarkDetectorAmplifier);
     }
     if (other.OutpostTemplateGmtId.Length != 0)
     {
         OutpostTemplateGmtId = other.OutpostTemplateGmtId;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Пример #4
0
 public void MergeFrom(AddDarkDetectorResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Result != 0)
     {
         Result = other.Result;
     }
     if (other.darkDetectorAmplifier_ != null)
     {
         if (darkDetectorAmplifier_ == null)
         {
             DarkDetectorAmplifier = new global::WUProtos.Data.Client.ClientDarkDetectorAmplifier();
         }
         DarkDetectorAmplifier.MergeFrom(other.DarkDetectorAmplifier);
     }
     if (other.PartnerId.Length != 0)
     {
         PartnerId = other.PartnerId;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }