Beispiel #1
0
 /**
  * @brief Move a user from one channel to another.
  *
  * @param nUserID The ID of the user to move.
  * @param lpChannel The channel the user should move to. If the
  * channel already exists then simply set @c nChannelID. To make
  * a user leave a channel set @c nChannelID to 0.
  * @return Returns a #ClientError. */
 public ClientError MoveUser(int nUserID, BearWare.Channel lpChannel)
 {
     return(TTProDLL.TTS_MoveUser(m_ttsInst, nUserID, ref lpChannel));
 }
Beispiel #2
0
 /**
  * @brief Make new channel.
  *
  * Create a new channel on the server. Before starting a server
  * using StartServer() the server MUST have a root
  * channel. I.e. a #BearWare.Channel where @c nParentID is 0.
  *
  * @param lpChannel The new channel to create.
  * @return Returns a #ClientError.
  *
  * @see UpdateChannel()
  * @see RemoveChannel() */
 public virtual ClientError MakeChannel(BearWare.Channel lpChannel)
 {
     return(TTProDLL.TTS_MakeChannel(m_ttsInst, ref lpChannel));
 }