ft_irc 1.0
読み取り中…
検索中…
一致する文字列を見つけられません
CommandUtils.hpp
[詳解]
1
8#ifndef COMMAND_UTILS_HPP
9#define COMMAND_UTILS_HPP
10
11#include <string>
12#include <vector>
13
14class Server;
15class Client;
16
28void handleMessage(Server *server, Client *sender, const std::string &command, const std::vector<std::string> &args);
35std::vector<std::string> split(const std::string &s, char delimiter);
36
37#endif
std::vector< std::string > split(const std::string &s, char delimiter)
Splits a string into a vector of strings based on a delimiter.
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.
Represents an IRC client connected to the server.
Definition Client.hpp:25
Implements the core IRC server functionality as a Singleton.
Definition Server.hpp:49