mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-08-28 21:10:59 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5db5561a30 | |||
| 626f919df0 |
@@ -61,6 +61,10 @@ void GameSend(std::string_view Data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void ServerSend(std::string Data, bool Rel) {
|
void ServerSend(std::string Data, bool Rel) {
|
||||||
|
if (Data.length() > 1 && Data[0] == 't') {
|
||||||
|
debug("hey");
|
||||||
|
}
|
||||||
|
|
||||||
if (Terminate || Data.empty())
|
if (Terminate || Data.empty())
|
||||||
return;
|
return;
|
||||||
if (Data.find("Zp") != std::string::npos && Data.size() > 500) {
|
if (Data.find("Zp") != std::string::npos && Data.size() > 500) {
|
||||||
@@ -198,6 +202,10 @@ void ParserAsync(std::string_view Data) {
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (Data.length() > 1 && Data[0] == 't') {
|
||||||
|
debug("omg?");
|
||||||
|
debug(Data.data());
|
||||||
|
}
|
||||||
GameSend(Data);
|
GameSend(Data);
|
||||||
}
|
}
|
||||||
void ServerParser(std::string_view Data) {
|
void ServerParser(std::string_view Data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user