#include <modchannels.h>
◆ ModChannelMgr()
ModChannelMgr::ModChannelMgr |
( |
| ) |
|
|
default |
◆ ~ModChannelMgr()
ModChannelMgr::~ModChannelMgr |
( |
| ) |
|
|
default |
◆ canWriteOnChannel()
bool ModChannelMgr::canWriteOnChannel |
( |
const std::string & |
channel | ) |
const |
This function check if a local mod can write on the channel.
- Parameters
-
- Returns
- true if write is allowed
References m_registered_channels.
◆ channelRegistered()
bool ModChannelMgr::channelRegistered |
( |
const std::string & |
channel | ) |
const |
◆ getChannelPeers()
const std::vector< u16 > & ModChannelMgr::getChannelPeers |
( |
const std::string & |
channel | ) |
const |
◆ getModChannel()
ModChannel * ModChannelMgr::getModChannel |
( |
const std::string & |
channel | ) |
|
◆ joinChannel()
bool ModChannelMgr::joinChannel |
( |
const std::string & |
channel, |
|
|
session_t |
peer_id |
|
) |
| |
◆ leaveAllChannels()
void ModChannelMgr::leaveAllChannels |
( |
session_t |
peer_id | ) |
|
◆ leaveChannel()
bool ModChannelMgr::leaveChannel |
( |
const std::string & |
channel, |
|
|
session_t |
peer_id |
|
) |
| |
◆ registerChannel()
void ModChannelMgr::registerChannel |
( |
const std::string & |
channel | ) |
|
◆ removeChannel()
bool ModChannelMgr::removeChannel |
( |
const std::string & |
channel | ) |
|
|
private |
◆ setChannelState()
bool ModChannelMgr::setChannelState |
( |
const std::string & |
channel, |
|
|
ModChannelState |
state |
|
) |
| |
◆ m_registered_channels
std::unordered_map<std::string, std::unique_ptr<ModChannel> > ModChannelMgr::m_registered_channels |
|
private |
The documentation for this class was generated from the following files: