TeamTalk 5 .NET DLL  Version 5.11A
BearWare.User Struct Reference

A struct containing the properties of a user. More...

Public Attributes

int nUserID
 The user's ID. A value from 1 - BearWare.TeamTalkBase.TT_USERID_MAX. This property is set by the server and will not change after login. More...
 
string szUsername
 The szUsername of the user's BearWare.UserAccount. A user account is created by calling TeamTalkBase.DoNewUserAccount(). This property is set by the server and will not change after login.
More...
 
int nUserData
 The nUserData of the user's BearWare.UserAccount. This field can be use to denote e.g. a database ID. This property is set by the server and will not change after login. More...
 
UserType uUserType
 The uUserType of the user's BearWare.UserAccount. This property is set by the server and will not change after login. More...
 
string szIPAddress
 The user's IP-address. This value is set by the server. More...
 
uint uVersion
 The user's client version. This property is set by the server and will not change after login. Three octets are used for the version number. Third octet is major, second octet is minor and third octet is build. I.e. 0x00050201 is version 5.2.1. More...
 
int nChannelID
 The channel which the user is currently participating in. 0 if none. This value can change as a result of TeamTalkBase.DoJoinChannel() or TeamTalkBase.DoLeaveChannel(). Events ClientEvent.CLIENTEVENT_CMD_USER_JOINED and ClientEvent.CLIENTEVENT_CMD_USER_LEFT are posted when this value changes. More...
 
Subscription uLocalSubscriptions
 A bitmask of what the local user subscribes to from this user. Invoking TeamTalkBase.DoSubscribe() and TeamTalkBase.DoUnsubscribe() on the local client instance can change this value. Event ClientEvent.CLIENTEVENT_CMD_USER_UPDATE is posted if this value changes. More...
 
Subscription uPeerSubscriptions
 A bitmask of what this user subscribes to from local client instance. Invoking TeamTalkBase.DoSubscribe() and TeamTalkBase.DoUnsubscribe() on the remoe client instance can change this value. Event ClientEvent.CLIENTEVENT_CMD_USER_UPDATE is posted if this value changes. More...
 
string szNickname
 The user's nickname. Invoking TeamTalkBase.DoChangeNickname() changes this value. Event ClientEvent.CLIENTEVENT_CMD_USER_UPDATE is posted if this value changes. More...
 
int nStatusMode
 The user's current status mode. Invoke TeamTalkBase.DoChangeStatus() to change this value. Event ClientEvent.CLIENTEVENT_CMD_USER_UPDATE is posted if this value changes. More...
 
string szStatusMsg
 The user's current status message. Invoke TeamTalkBase.DoChangeStatus() to change this value. Event ClientEvent.CLIENTEVENT_CMD_USER_UPDATE is posted if this value changes. More...
 
UserState uUserState
 A bitmask of the user's current state, e.g. talking, muted, etc.
More...
 
string szMediaStorageDir
 Store audio received from this user to this folder. More...
 
int nVolumeVoice
 The user's voice volume level. Note that it's a virtual volume which is being set since the master volume affects the user volume. The value will be between BearWare.SoundLevel.SOUND_VOLUME_MIN and BearWare.SoundLevel.SOUND_VOLUME_MAX. More...
 
int nVolumeMediaFile
 The user's voice volume level. Note that it's a virtual volume which is being set since the master volume affects the user volume. The value will be between BearWare.SoundLevel.SOUND_VOLUME_MIN and BearWare.SoundLevel.SOUND_VOLUME_MAX. More...
 
int nStoppedDelayVoice
 The delay of when a user should no longer be considered as talking. More...
 
int nStoppedDelayMediaFile
 The delay of when a user should no longer be considered playing audio of a media file. More...
 
float[] soundPositionVoice
 User's position when using 3D-sound (DirectSound option). Index 0 is x-axis, index 1 is y-axis and index 2 is Z-axis. More...
 
float[] soundPositionMediaFile
 User's position when using 3D-sound (DirectSound option). Index 0 is x-axis, index 1 is y-axis and index 2 is Z-axis. More...
 
bool[] stereoPlaybackVoice
 Check what speaker a user is outputting to. If index 0 is TRUE then left speaker is playing. If index 1 is TRUE then right speaker is playing. More...
 
bool[] stereoPlaybackMediaFile
 Check what speaker a user is outputting to. If index 0 is TRUE then left speaker is playing. If index 1 is TRUE then right speaker is playing. More...
 
int nBufferMSecVoice
 The size of the buffer (in msec) to hold voice content. More...
 
int nBufferMSecMediaFile
 The size of the buffer (in msec) to hold media file content. More...
 
int nActiveAdaptiveDelayMSec
 The currently active adaptive jitter delay for received voice streams for this user. More...
 
string szClientName
 The name of the client application which the user is using. This is the value passed as szClientName in TeamTalkBase.DoLoginEx() More...
 

Detailed Description

A struct containing the properties of a user.

See also
BearWare.UserType
BearWare.TeamTalkBase.GetUser

Definition at line 2292 of file TeamTalk.cs.

Member Data Documentation

◆ nUserID

int BearWare.User.nUserID

The user's ID. A value from 1 - BearWare.TeamTalkBase.TT_USERID_MAX. This property is set by the server and will not change after login.

Definition at line 2297 of file TeamTalk.cs.

◆ szUsername

string BearWare.User.szUsername

The szUsername of the user's BearWare.UserAccount. A user account is created by calling TeamTalkBase.DoNewUserAccount(). This property is set by the server and will not change after login.

Definition at line 2303 of file TeamTalk.cs.

◆ nUserData

int BearWare.User.nUserData

The nUserData of the user's BearWare.UserAccount. This field can be use to denote e.g. a database ID. This property is set by the server and will not change after login.

Definition at line 2308 of file TeamTalk.cs.

◆ uUserType

UserType BearWare.User.uUserType

The uUserType of the user's BearWare.UserAccount. This property is set by the server and will not change after login.

Definition at line 2312 of file TeamTalk.cs.

◆ szIPAddress

string BearWare.User.szIPAddress

The user's IP-address. This value is set by the server.

Definition at line 2315 of file TeamTalk.cs.

◆ uVersion

uint BearWare.User.uVersion

The user's client version. This property is set by the server and will not change after login. Three octets are used for the version number. Third octet is major, second octet is minor and third octet is build. I.e. 0x00050201 is version 5.2.1.

Definition at line 2321 of file TeamTalk.cs.

◆ nChannelID

int BearWare.User.nChannelID

The channel which the user is currently participating in. 0 if none. This value can change as a result of TeamTalkBase.DoJoinChannel() or TeamTalkBase.DoLeaveChannel(). Events ClientEvent.CLIENTEVENT_CMD_USER_JOINED and ClientEvent.CLIENTEVENT_CMD_USER_LEFT are posted when this value changes.

Definition at line 2327 of file TeamTalk.cs.

◆ uLocalSubscriptions

Subscription BearWare.User.uLocalSubscriptions

A bitmask of what the local user subscribes to from this user. Invoking TeamTalkBase.DoSubscribe() and TeamTalkBase.DoUnsubscribe() on the local client instance can change this value. Event ClientEvent.CLIENTEVENT_CMD_USER_UPDATE is posted if this value changes.

Definition at line 2333 of file TeamTalk.cs.

◆ uPeerSubscriptions

Subscription BearWare.User.uPeerSubscriptions

A bitmask of what this user subscribes to from local client instance. Invoking TeamTalkBase.DoSubscribe() and TeamTalkBase.DoUnsubscribe() on the remoe client instance can change this value. Event ClientEvent.CLIENTEVENT_CMD_USER_UPDATE is posted if this value changes.

Definition at line 2339 of file TeamTalk.cs.

◆ szNickname

string BearWare.User.szNickname

The user's nickname. Invoking TeamTalkBase.DoChangeNickname() changes this value. Event ClientEvent.CLIENTEVENT_CMD_USER_UPDATE is posted if this value changes.

Definition at line 2345 of file TeamTalk.cs.

◆ nStatusMode

int BearWare.User.nStatusMode

The user's current status mode. Invoke TeamTalkBase.DoChangeStatus() to change this value. Event ClientEvent.CLIENTEVENT_CMD_USER_UPDATE is posted if this value changes.

Definition at line 2350 of file TeamTalk.cs.

◆ szStatusMsg

string BearWare.User.szStatusMsg

The user's current status message. Invoke TeamTalkBase.DoChangeStatus() to change this value. Event ClientEvent.CLIENTEVENT_CMD_USER_UPDATE is posted if this value changes.

Definition at line 2356 of file TeamTalk.cs.

◆ uUserState

UserState BearWare.User.uUserState

A bitmask of the user's current state, e.g. talking, muted, etc.

Definition at line 2359 of file TeamTalk.cs.

◆ szMediaStorageDir

string BearWare.User.szMediaStorageDir

Store audio received from this user to this folder.

See also
TeamTalkBase.SetUserMediaStorageDir

Definition at line 2363 of file TeamTalk.cs.

◆ nVolumeVoice

int BearWare.User.nVolumeVoice

The user's voice volume level. Note that it's a virtual volume which is being set since the master volume affects the user volume. The value will be between BearWare.SoundLevel.SOUND_VOLUME_MIN and BearWare.SoundLevel.SOUND_VOLUME_MAX.

See also
TeamTalkBase.SetUserVolume

Definition at line 2369 of file TeamTalk.cs.

◆ nVolumeMediaFile

int BearWare.User.nVolumeMediaFile

The user's voice volume level. Note that it's a virtual volume which is being set since the master volume affects the user volume. The value will be between BearWare.SoundLevel.SOUND_VOLUME_MIN and BearWare.SoundLevel.SOUND_VOLUME_MAX.

See also
TeamTalkBase.SetUserVolume

Definition at line 2375 of file TeamTalk.cs.

◆ nStoppedDelayVoice

int BearWare.User.nStoppedDelayVoice

The delay of when a user should no longer be considered as talking.

See also
TeamTalkBase.SetUserStoppedTalkingDelay

Definition at line 2379 of file TeamTalk.cs.

◆ nStoppedDelayMediaFile

int BearWare.User.nStoppedDelayMediaFile

The delay of when a user should no longer be considered playing audio of a media file.

See also
TeamTalkBase.SetUserStoppedTalkingDelay

Definition at line 2383 of file TeamTalk.cs.

◆ soundPositionVoice

float [] BearWare.User.soundPositionVoice

User's position when using 3D-sound (DirectSound option). Index 0 is x-axis, index 1 is y-axis and index 2 is Z-axis.

See also
TeamTalkBase.SetUserPosition
SoundDevice

Definition at line 2389 of file TeamTalk.cs.

◆ soundPositionMediaFile

float [] BearWare.User.soundPositionMediaFile

User's position when using 3D-sound (DirectSound option). Index 0 is x-axis, index 1 is y-axis and index 2 is Z-axis.

See also
TeamTalkBase.SetUserPosition
SoundDevice

Definition at line 2395 of file TeamTalk.cs.

◆ stereoPlaybackVoice

bool [] BearWare.User.stereoPlaybackVoice

Check what speaker a user is outputting to. If index 0 is TRUE then left speaker is playing. If index 1 is TRUE then right speaker is playing.

See also
TeamTalkBase.SetUserStereo

Definition at line 2401 of file TeamTalk.cs.

◆ stereoPlaybackMediaFile

bool [] BearWare.User.stereoPlaybackMediaFile

Check what speaker a user is outputting to. If index 0 is TRUE then left speaker is playing. If index 1 is TRUE then right speaker is playing.

See also
TeamTalkBase.SetUserStereo

Definition at line 2407 of file TeamTalk.cs.

◆ nBufferMSecVoice

int BearWare.User.nBufferMSecVoice

The size of the buffer (in msec) to hold voice content.

See also
TeamTalkBase.SetUserAudioStreamBufferSize()

Definition at line 2411 of file TeamTalk.cs.

◆ nBufferMSecMediaFile

int BearWare.User.nBufferMSecMediaFile

The size of the buffer (in msec) to hold media file content.

See also
TeamTalkBase.SetUserAudioStreamBufferSize()

Definition at line 2415 of file TeamTalk.cs.

◆ nActiveAdaptiveDelayMSec

int BearWare.User.nActiveAdaptiveDelayMSec

The currently active adaptive jitter delay for received voice streams for this user.

See also
TT_SetUserJitterControl

Definition at line 2419 of file TeamTalk.cs.

◆ szClientName

string BearWare.User.szClientName

The name of the client application which the user is using. This is the value passed as szClientName in TeamTalkBase.DoLoginEx()

Definition at line 2424 of file TeamTalk.cs.