mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
chat code
This commit is contained in:
parent
120193fb0b
commit
e6a419aa3d
9 changed files with 51 additions and 9 deletions
|
|
@ -37,3 +37,8 @@ void ChatChannel::say(ServerSocket *player, const QString &s)
|
|||
for (int i = 0; i < size(); ++i)
|
||||
at(i)->msg(str);
|
||||
}
|
||||
|
||||
QString ChatChannel::getChannelListLine() const
|
||||
{
|
||||
return QString("chat|list_channels|%1|%2|%3").arg(name).arg(description).arg(size());
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue