Home Previous Up Next Index

Channel

Overview

struct Channel

A channel.

Used By

ChannelList
ChannelMap
Server::getChannelState
Server::setChannelState
ServerCallback::channelCreated
ServerCallback::channelRemoved
ServerCallback::channelStateChanged
Tree::c

Data Member Index

id
Channel ID.
name
Name of the channel.
parent
ID of parent channel, or -1 if this is the root channel.
links
List of id of linked channels.

Data Members

int id;

Channel ID. This is unique per channel, and the root channel is always id 0.

string name;

Name of the channel. There can not be two channels with the same parent that has the same name.

int parent;

ID of parent channel, or -1 if this is the root channel.

IntList links;

List of id of linked channels.


Home Previous Up Next Index