mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-03 00:05:34 +00:00
22 lines
719 B
C++
22 lines
719 B
C++
///
|
|
/// Created by Anonymous275 on 7/31/2020
|
|
///
|
|
#pragma once
|
|
#include "Client.hpp"
|
|
#include <string>
|
|
void TCPServerMain();
|
|
void UpdatePlayers();
|
|
void OnConnect(Client* c);
|
|
void TCPClient(Client* c);
|
|
std::string TCPRcv(Client* c);
|
|
void SyncResources(Client* c);
|
|
[[noreturn]] void UDPServerMain();
|
|
void OnDisconnect(Client* c, bool kicked);
|
|
void UDPSend(Client* c, std::string Data);
|
|
void SendLarge(Client* c, std::string Data);
|
|
bool TCPSend(Client* c, const std::string& Data);
|
|
void GParser(Client* c, const std::string& Packet);
|
|
std::string StaticReason(bool Set,const std::string& R);
|
|
void Respond(Client* c, const std::string& MSG, bool Rel);
|
|
void SendToAll(Client* c, const std::string& Data, bool Self, bool Rel);
|