BoredProject
This commit is contained in:
parent
3f2e6fdb4e
commit
b3d06906ff
9 changed files with 195 additions and 3 deletions
18
Chat/private/Chat.cpp
Normal file
18
Chat/private/Chat.cpp
Normal 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");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue