Modules/Chat/private/Chat.cpp
2023-09-01 22:44:47 +03:00

18 lines
No EOL
388 B
C++

#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");
}