ft_irc 1.0
読み取り中…
検索中…
一致する文字列を見つけられません
NoticeCommand.cpp
[詳解]
1
8#include "NoticeCommand.hpp"
9#include "CommandUtils.hpp"
10
12
14 handleMessage(_server, client, "NOTICE", args);
15}
void handleMessage(Server *server, Client *sender, const std::string &command, const std::vector< std::string > &args)
Handles sending messages to a target (user or channel) for PRIVMSG and NOTICE commands.
Utility functions for command handling.
Handles the NOTICE command.
Represents an IRC client connected to the server.
Definition Client.hpp:25
Abstract base class (interface) for all IRC commands.
Definition ICommand.hpp:26
Server * _server
Pointer to the IRC server instance.
Definition ICommand.hpp:28
NoticeCommand(Server *server)
Constructs a NoticeCommand object.
void execute(Client *client, const std::vector< std::string > &args)
Executes the NOTICE command.
Implements the core IRC server functionality as a Singleton.
Definition Server.hpp:49