Beispiel #1
0
 public void Set(LobbyDetailsGetAttributeCountOptions other)
 {
     if (other != null)
     {
         m_ApiVersion = LobbyDetails.LobbydetailsGetattributecountApiLatest;
     }
 }
        /// <summary>
        /// Get the number of attributes associated with this lobby
        /// </summary>
        /// <param name="options">the Options associated with retrieving the attribute count</param>
        /// <returns>
        /// number of attributes on the lobby or 0 if there is an error
        /// </returns>
        public uint GetAttributeCount(LobbyDetailsGetAttributeCountOptions options)
        {
            System.IntPtr optionsAddress = new System.IntPtr();
            Helper.TryMarshalSet <LobbyDetailsGetAttributeCountOptionsInternal, LobbyDetailsGetAttributeCountOptions>(ref optionsAddress, options);

            var funcResult = EOS_LobbyDetails_GetAttributeCount(InnerHandle, optionsAddress);

            Helper.TryMarshalDispose(ref optionsAddress);

            return(funcResult);
        }