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
14
class
Server
;
15
class
Client
;
16
28
void
handleMessage
(
Server
*server,
Client
*sender,
const
std::string
&command,
const
std::vector<std::string>
&args);
35
std::vector<std::string>
split
(
const
std::string
&s,
char
delimiter);
36
37
#endif
split
std::vector< std::string > split(const std::string &s, char delimiter)
Splits a string into a vector of strings based on a delimiter.
Definition
CommandUtils.cpp:15
handleMessage
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.
Definition
CommandUtils.cpp:25
std::string
Client
Represents an IRC client connected to the server.
Definition
Client.hpp:25
Server
Implements the core IRC server functionality as a Singleton.
Definition
Server.hpp:49
string
vector
inc
CommandUtils.hpp
構築:
1.9.8