ChannelManager
Functions
Returns the ids of every existing channel the player belongs to.
Creates a new channel.
Retrieves all channels.
Retrieves a channel by its ID.
Retrieves members of a channel.
Gets the active channel of a player.
Gets the full channel context (channel and members) of a player's active channel.
Retrieves all public channels, sorted by name.
Initializes the ChannelManager by loading data from storage.
Checks if a player is banned from a channel.
Removes a member from a channel.
Restores the active channel of a player based on their channel membership. If the player is a member of multiple channels, the most recently joined one is selected.
Sets the active channel of a player.
Unbans a player from a channel.
Updates the channel owner.
Updates a member's role in a channel.