BoredProject

This commit is contained in:
IlyaShurupov 2023-09-01 22:44:47 +03:00
parent 3f2e6fdb4e
commit b3d06906ff
9 changed files with 195 additions and 3 deletions

18
Chat/private/Chat.cpp Normal file
View file

@ -0,0 +1,18 @@
#include "Chat.hpp"
#include "Graphics.hpp"
using namespace tp;
static ModuleManifest* deps[] = { &gModuleGraphics, nullptr };
ModuleManifest tp::gModuleChat = ModuleManifest("Chat", nullptr, nullptr, deps );
bool ChatAPI::isLogged() const {
return mLogged;
}
void ChatAPI::login(const Credentials& credentials) {
mLogged = String::Logic::isEqualLogic(credentials.name, "111");
}