Esempio n. 1
0
 public void MergeFrom(SubmitReportRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.HasAgentId)
     {
         if (!HasAgentId)
         {
             AgentId = new global::Bgs.Protocol.Account.V1.GameAccountHandle();
         }
         AgentId.MergeFrom(other.AgentId);
     }
     if (other.HasReportType)
     {
         if (!HasReportType)
         {
             ReportType = new global::Bgs.Protocol.Report.V1.ReportType();
         }
         ReportType.MergeFrom(other.ReportType);
     }
     if (other.HasProgram)
     {
         Program = other.Program;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Esempio n. 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 10: {
                    if (!HasAgentId)
                    {
                        AgentId = new global::Bgs.Protocol.Account.V1.GameAccountHandle();
                    }
                    input.ReadMessage(AgentId);
                    break;
                }

                case 18: {
                    if (!HasReportType)
                    {
                        ReportType = new global::Bgs.Protocol.Report.V1.ReportType();
                    }
                    input.ReadMessage(ReportType);
                    break;
                }
                }
            }
        }
Esempio n. 3
0
 public void ClearAgentId()
 {
     agentId_ = null;
 }