コード例 #1
0
 public void MergeFrom(Terminated other)
 {
     if (other == null)
     {
         return;
     }
     if (other.who_ != null)
     {
         if (who_ == null)
         {
             who_ = new global::Proto.PID();
         }
         Who.MergeFrom(other.Who);
     }
     if (other.AddressTerminated != false)
     {
         AddressTerminated = other.AddressTerminated;
     }
 }
コード例 #2
0
 public void MergeFrom(Workout other)
 {
     if (other == null)
     {
         return;
     }
     if (other.who_ != null)
     {
         if (who_ == null)
         {
             who_ = new global::Wobu.Everything.User();
         }
         Who.MergeFrom(other.Who);
     }
     if (other.State != 0)
     {
         State = other.State;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }