示例#1
0
文件: ToxAv.cs 项目: kelumKP/SharpTox
        /// <summary>
        /// Get the friend_number of peer participating in conversation
        /// </summary>
        /// <param name="callIndex"></param>
        /// <param name="peer"></param>
        /// <returns></returns>
        public int GetPeerID(int callIndex, int peer)
        {
            if (_disposed)
            {
                throw new ObjectDisposedException(GetType().FullName);
            }

            return(ToxAvFunctions.GetPeerID(_toxAv, callIndex, peer));
        }
示例#2
0
        /// <summary>
        /// Get the friend_number of peer participating in conversation
        /// </summary>
        /// <param name="callIndex"></param>
        /// <param name="peer"></param>
        /// <returns></returns>
        public int GetPeerID(int callIndex, int peer)
        {
            ThrowIfDisposed();

            return(ToxAvFunctions.GetPeerID(_toxAv, callIndex, peer));
        }