public void Set(LobbyDetailsCopyMemberAttributeByKeyOptions other)
 {
     if (other != null)
     {
         m_ApiVersion = LobbyDetails.LobbydetailsCopymemberattributebykeyApiLatest;
         TargetUserId = other.TargetUserId;
         AttrKey      = other.AttrKey;
     }
 }
        /// <summary>
        /// <see cref="CopyMemberAttributeByKey" /> is used to immediately retrieve a copy of a lobby member attribute from an existing lobby.
        /// If the call returns an <see cref="Result.Success" /> result, the out parameter, OutAttribute, must be passed to <see cref="LobbyInterface.Release" /> to release the memory associated with it.
        /// <seealso cref="Attribute" />
        /// <seealso cref="LobbyDetailsCopyMemberAttributeByKeyOptions" />
        /// <seealso cref="LobbyInterface.Release" />
        /// </summary>
        /// <param name="options">Structure containing the input parameters</param>
        /// <param name="outAttribute">Out parameter used to receive the <see cref="Attribute" /> structure.</param>
        /// <returns>
        /// <see cref="Result.Success" /> if the information is available and passed out in OutAttribute
        /// <see cref="Result.InvalidParameters" /> if you pass a null pointer for the out parameter
        /// <see cref="Result.IncompatibleVersion" /> if the API version passed in is incorrect
        /// </returns>
        public Result CopyMemberAttributeByKey(LobbyDetailsCopyMemberAttributeByKeyOptions options, out Attribute outAttribute)
        {
            System.IntPtr optionsAddress = new System.IntPtr();
            Helper.TryMarshalSet <LobbyDetailsCopyMemberAttributeByKeyOptionsInternal, LobbyDetailsCopyMemberAttributeByKeyOptions>(ref optionsAddress, options);

            var outAttributeAddress = System.IntPtr.Zero;

            var funcResult = EOS_LobbyDetails_CopyMemberAttributeByKey(InnerHandle, optionsAddress, ref outAttributeAddress);

            Helper.TryMarshalDispose(ref optionsAddress);

            if (Helper.TryMarshalGet <AttributeInternal, Attribute>(outAttributeAddress, out outAttribute))
            {
                LobbyInterface.EOS_Lobby_Attribute_Release(outAttributeAddress);
            }

            return(funcResult);
        }