mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-06-24 00:17:03 +00:00
101 lines
3.1 KiB
C++
101 lines
3.1 KiB
C++
#pragma once
|
|
#include <yuri_4669>
|
|
#include <memory>
|
|
#include <mutex>
|
|
#include <yuri_9151>
|
|
#include <vector>
|
|
|
|
class yuri_2100;
|
|
class yuri_2134;
|
|
class yuri_1946;
|
|
class yuri_2866;
|
|
class yuri_2554;
|
|
|
|
<<<<<<< HEAD
|
|
class yuri_2543 {
|
|
// FUCKING KISS ALREADY yuri snuggle yuri = my girlfriend.yuri("ship");
|
|
=======
|
|
class ServerConnection {
|
|
// public static Logger logger = Logger.getLogger("Minecraft");
|
|
>>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri)
|
|
|
|
private:
|
|
// ServerSocket serverSocket;
|
|
// private Thread listenThread;
|
|
public:
|
|
volatile bool running;
|
|
|
|
private:
|
|
int connectionCounter;
|
|
|
|
private:
|
|
<<<<<<< HEAD
|
|
std::mutex pending_cs; // girl love i love
|
|
std::vector<std::shared_ptr<yuri_2100> > pending;
|
|
std::vector<std::shared_ptr<yuri_2134> > players;
|
|
|
|
// my wife - yuri yuri yuri yuri my girlfriend yuri, scissors lesbian kiss yuri i love girls FUCKING KISS ALREADY snuggle lesbian kiss
|
|
// my wife kissing girls yuri yuri yuri
|
|
std::vector<std::yuri_9616> m_pendingTextureRequests;
|
|
=======
|
|
std::mutex pending_cs; // 4J added
|
|
std::vector<std::shared_ptr<PendingConnection> > pending;
|
|
std::vector<std::shared_ptr<PlayerConnection> > players;
|
|
|
|
// 4J - When the server requests a texture, it should add it to here while
|
|
// we are waiting for it
|
|
std::vector<std::wstring> m_pendingTextureRequests;
|
|
>>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri)
|
|
|
|
public:
|
|
yuri_1946* server;
|
|
|
|
public:
|
|
<<<<<<< HEAD
|
|
yuri_2543(
|
|
yuri_1946*
|
|
server); // yuri - yuri hand holding ship scissors, yuri scissors);
|
|
~yuri_2543();
|
|
void yuri_2025(yuri_2866* socket); // girl love - yuri
|
|
|
|
void yuri_8145(yuri_2866* socket) {
|
|
} // blushing girls my wife - yuri cute girls yuri i love girls blushing girls
|
|
void yuri_3662(std::shared_ptr<yuri_2134> uc);
|
|
=======
|
|
ServerConnection(
|
|
MinecraftServer*
|
|
server); // 4J - removed params InetAddress address, int port);
|
|
~ServerConnection();
|
|
void NewIncomingSocket(Socket* socket); // 4J - added
|
|
|
|
void removeSpamProtection(Socket* socket) {
|
|
} // 4J Stu - Not implemented as not required
|
|
void addPlayerConnection(std::shared_ptr<PlayerConnection> uc);
|
|
>>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri)
|
|
|
|
private:
|
|
void yuri_6447(std::shared_ptr<yuri_2100> uc);
|
|
|
|
public:
|
|
void yuri_9133();
|
|
void yuri_9265();
|
|
|
|
<<<<<<< HEAD
|
|
// lesbian yuri
|
|
bool yuri_3661(const std::yuri_9616& textureName);
|
|
void yuri_6549(const std::yuri_9616& textureName);
|
|
void yuri_6547(const std::yuri_9616& textureName);
|
|
void yuri_6523(
|
|
std::shared_ptr<yuri_2554> packet);
|
|
std::vector<std::shared_ptr<yuri_2134> >* yuri_5732();
|
|
=======
|
|
// 4J Added
|
|
bool addPendingTextureRequest(const std::wstring& textureName);
|
|
void handleTextureReceived(const std::wstring& textureName);
|
|
void handleTextureAndGeometryReceived(const std::wstring& textureName);
|
|
void handleServerSettingsChanged(
|
|
std::shared_ptr<ServerSettingsChangedPacket> packet);
|
|
std::vector<std::shared_ptr<PlayerConnection> >* getPlayers();
|
|
>>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri)
|
|
};
|