Exemple #1
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: {
                RoleUUID = input.ReadString();
                break;
            }

            case 18: {
                if (address_ == null)
                {
                    Address = new global::RoleAddress();
                }
                input.ReadMessage(Address);
                break;
            }
            }
        }
    }
Exemple #2
0
 public void MergeFrom(UpdateRoleAddressNTF other)
 {
     if (other == null)
     {
         return;
     }
     if (other.RoleUUID.Length != 0)
     {
         RoleUUID = other.RoleUUID;
     }
     if (other.address_ != null)
     {
         if (address_ == null)
         {
             Address = new global::RoleAddress();
         }
         Address.MergeFrom(other.Address);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Exemple #3
0
 public void MergeFrom(RoleSessionInfo other)
 {
     if (other == null)
     {
         return;
     }
     if (other.RoleUUID.Length != 0)
     {
         RoleUUID = other.RoleUUID;
     }
     if (other.address_ != null)
     {
         if (address_ == null)
         {
             Address = new global::RoleAddress();
         }
         Address.MergeFrom(other.Address);
     }
     if (other.State != global::SessionState.Offline)
     {
         State = other.State;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }