コード例 #1
0
ファイル: CS2LS.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 16: {
                    result_ = (global::Protos.CS2LS_GCLoginRet.Types.EResult)input.ReadEnum();
                    break;
                }
                }
            }
        }
コード例 #2
0
ファイル: CS2LS.g.cs プロジェクト: niuniuzhu/KOW
 public void MergeFrom(CS2LS_GCLoginRet other)
 {
     if (other == null)
     {
         return;
     }
     if (other.opts_ != null)
     {
         if (opts_ == null)
         {
             opts_ = new global::Protos.MsgOpts();
         }
         Opts.MergeFrom(other.Opts);
     }
     if (other.Result != 0)
     {
         Result = other.Result;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }