Exemplo n.º 1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 8: {
                    UserId = input.ReadSInt32();
                    break;
                }

                case 16: {
                    drawPoolType_ = (global::DrawPoolTypePB)input.ReadEnum();
                    break;
                }

                case 24: {
                    drawType_ = (global::DrawTypePB)input.ReadEnum();
                    break;
                }

                case 32: {
                    RefreshTime = input.ReadSInt64();
                    break;
                }
                }
            }
        }
Exemplo n.º 2
0
 public void MergeFrom(DrawReq other)
 {
     if (other == null)
     {
         return;
     }
     if (other.DrawPoolType != 0)
     {
         DrawPoolType = other.DrawPoolType;
     }
     if (other.DrawType != 0)
     {
         DrawType = other.DrawType;
     }
 }