bancho.irc

Provides an IRC connection to Bancho (osu!'s server system) and access to its commands (Multiplayer room creation)

Members

Aliases

HighPriority
alias HighPriority = Flag!"highPriority"

Classes

BanchoBot
class BanchoBot

Represents a Bancho IRC connection.

OsuRoom
class OsuRoom

Represents a multiplayer lobby in osu! Automatically does ratelimiting by not sending more than a message every 2 seconds.

Enums

GameMode
enum GameMode

Represents a gamemode with integer mapping in the osu! api.

Mod
enum Mod
ScoreMode
enum ScoreMode
Team
enum Team
TeamMode
enum TeamMode

Functions

shortForm
string shortForm(Mod mod)

Generates the short form for a mod (eg Hidden -> HD), can be more than 2 characters

Mixin templates

Processor
mixin template Processor(string fn, Arg, size_t backlog)

Utility mixin template implementing dynamic timeout based event subscribing + static backlog Creates methods waitFor<fn>, processfn, fetchOldfnLog, clearfnLog

Static variables

banchoBotNick
string banchoBotNick;

Username of BanchoBot (for sending !mp commands & checking source)

Structs

BeatmapInfo
struct BeatmapInfo
MembershipEvent
struct MembershipEvent

Represents a join/leave event.

Message
struct Message

Represents a simple sent message from bancho

Quit
struct Quit

Represents a user quitting or joining the IRC ingame or via web/irc

TopicChange
struct TopicChange

Represents a topic change event (in the case of a multi room being created)

Meta