Esempio n. 1
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _signUpResponseFieldNames;
            if (hasErrorCode)
            {
                output.WriteInt32(1, field_names[0], ErrorCode);
            }
            if (hasVersion)
            {
                output.WriteFloat(2, field_names[1], Version);
            }
            UnknownFields.WriteTo(output);
        }
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _attentionMessageFieldNames;
     if (hasMessage)
     {
         output.WriteString(1, field_names[0], Message);
     }
     if (hasTimeToShow)
     {
         output.WriteFloat(2, field_names[2], TimeToShow);
     }
     if (hasTeam)
     {
         output.WriteString(3, field_names[1], Team);
     }
     UnknownFields.WriteTo(output);
 }