예제 #1
0
파일: GS2CS.g.cs 프로젝트: niuniuzhu/KOW
        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: {
                    if (opts_ == null)
                    {
                        opts_ = new global::Protos.MsgOpts();
                    }
                    input.ReadMessage(opts_);
                    break;
                }

                case 18: {
                    if (gsInfo_ == null)
                    {
                        gsInfo_ = new global::Protos.GSInfo();
                    }
                    input.ReadMessage(gsInfo_);
                    break;
                }
                }
            }
        }
예제 #2
0
파일: GS2CS.g.cs 프로젝트: niuniuzhu/KOW
 public void MergeFrom(GS2CS_ReportState other)
 {
     if (other == null)
     {
         return;
     }
     if (other.opts_ != null)
     {
         if (opts_ == null)
         {
             opts_ = new global::Protos.MsgOpts();
         }
         Opts.MergeFrom(other.Opts);
     }
     if (other.gsInfo_ != null)
     {
         if (gsInfo_ == null)
         {
             gsInfo_ = new global::Protos.GSInfo();
         }
         GsInfo.MergeFrom(other.GsInfo);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }