Ejemplo n.º 1
0
 public void Set(LobbyModificationRemoveMemberAttributeOptions other)
 {
     if (other != null)
     {
         m_ApiVersion = LobbyModification.LobbymodificationRemovememberattributeApiLatest;
         Key          = other.Key;
     }
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Remove an attribute associated with of member of the lobby
        /// </summary>
        /// <param name="options">Specify the key of the member attribute to remove</param>
        /// <returns>
        /// <see cref="Result.Success" /> if removing this parameter was successful
        /// <see cref="Result.InvalidParameters" /> if the key is null or empty
        /// <see cref="Result.IncompatibleVersion" /> if the API version passed in is incorrect
        /// </returns>
        public Result RemoveMemberAttribute(LobbyModificationRemoveMemberAttributeOptions options)
        {
            System.IntPtr optionsAddress = new System.IntPtr();
            Helper.TryMarshalSet <LobbyModificationRemoveMemberAttributeOptionsInternal, LobbyModificationRemoveMemberAttributeOptions>(ref optionsAddress, options);

            var funcResult = EOS_LobbyModification_RemoveMemberAttribute(InnerHandle, optionsAddress);

            Helper.TryMarshalDispose(ref optionsAddress);

            return(funcResult);
        }