18class LocalConnector :
public ::Connector {
22 ::ll::TypedStorage<8, 80, ::Bedrock::Threading::Mutex> mMutex;
23 ::ll::TypedStorage<8, 176, ::NetworkIdentifier> mLocalId;
24 ::ll::TypedStorage<8, 16, ::std::set<::LocalConnector*>> mConnections;
25 ::ll::TypedStorage<8, 24, ::std::vector<::std::function<void()>>> mCallbackQueue;
35 virtual ~LocalConnector() =
default;
37 virtual ::std::string getLocalIp() ;
39 virtual ushort getPort()
const ;
41 virtual ::Social::GameConnectionInfo
const& getConnectedGameInfo()
const ;
43 virtual bool isIPv4Supported()
const ;
45 virtual bool isIPv6Supported()
const ;
47 virtual ushort getIPv4Port()
const ;
49 virtual ushort getIPv6Port()
const ;
51 virtual ::TransportLayer getNetworkType()
const ;
61 MCNAPI_C
void connectToClient(::LocalConnector& clientConnector, ::std::shared_ptr<::LocalNetworkPeer> clientPeer);
100 MCNAPI ::TransportLayer $getNetworkType()
const;