示例#1
0
        /// <summary>
        /// <see cref="GetMemberAttributeCount" /> is used to immediately retrieve the attribute count for members in a lobby.
        /// <seealso cref="GetMemberCount" />
        /// <seealso cref="LobbyDetailsGetMemberAttributeCountOptions" />
        /// </summary>
        /// <param name="options">Structure containing the input parameters</param>
        /// <returns>
        /// the number of attributes associated with a given lobby member or 0 if that member is invalid
        /// </returns>
        public uint GetMemberAttributeCount(LobbyDetailsGetMemberAttributeCountOptions options)
        {
            var optionsInternal = Helper.CopyProperties <LobbyDetailsGetMemberAttributeCountOptionsInternal>(options);

            var funcResult = EOS_LobbyDetails_GetMemberAttributeCount(InnerHandle, ref optionsInternal);

            Helper.TryMarshalDispose(ref optionsInternal);

            var funcResultReturn = Helper.GetDefault <uint>();

            Helper.TryMarshalGet(funcResult, out funcResultReturn);
            return(funcResultReturn);
        }