package protocol

// Codec types
const (
	CodecSpeexNarrowband    = 0
	CodecSpeexWideband      = 1
	CodecSpeexUltrawideband = 2
	CodecCeltMono           = 3
	CodecOpusVoice          = 4
	CodecOpusMusic          = 5
)

// Reason types for events
type ReasonID int

const (
	ReasonNone                           ReasonID = 0
	ReasonMoved                          ReasonID = 1
	ReasonSubscription                   ReasonID = 2
	ReasonLostConnection                 ReasonID = 3
	ReasonKickChannel                    ReasonID = 4
	ReasonKickServer                     ReasonID = 5
	ReasonKickServerBan                  ReasonID = 6
	ReasonServerStop                     ReasonID = 7
	ReasonClientDisconnect               ReasonID = 8
	ReasonChannelUpdate                  ReasonID = 9
	ReasonChannelEdit                    ReasonID = 10
	ReasonClientDisconnectServerShutdown ReasonID = 11
)

// TextMessageTargetMode identifies who receives the message
type TextMessageTargetMode int

const (
	TextMessageTarget_Unknown TextMessageTargetMode = 0
	TextMessageTarget_Client  TextMessageTargetMode = 1
	TextMessageTarget_Channel TextMessageTargetMode = 2
	TextMessageTarget_Server  TextMessageTargetMode = 3
)
