LeviLamina
Loading...
Searching...
No Matches
ServerCommunicationInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7struct NetworkAddress;
8namespace Json { class Value; }
9// clang-format on
10
12public:
13 // member variables
14 // NOLINTBEGIN
17 // NOLINTEND
18
19public:
20 // prevent constructor by default
24
25public:
26 // member functions
27 // NOLINTBEGIN
28 MCNAPI void communicate(::std::string const& method, ::Json::Value const& params);
29
31 uint64 connectionTotalBytesReceived,
32 uint64 connectionTotalBytesSent,
33 uint64 playerDeltaBytesReceived,
34 uint64 playerDeltaBytesSent,
35 ::std::string const& xuid
36 );
37
38 MCNAPI void sendServerStarted();
39 // NOLINTEND
40
41public:
42 // static functions
43 // NOLINTBEGIN
44 MCNAPI static ::std::unique_ptr<::ServerCommunicationInterface> create(::NetworkAddress const& address);
45 // NOLINTEND
46};
Definition Value.h:16
Definition ServerCommunicationInterface.h:11
static MCAPI ::std::unique_ptr<::ServerCommunicationInterface > create(::NetworkAddress const &address)
MCAPI void communicate(::std::string const &method, ::Json::Value const &params)
MCAPI void sendBandwidthMetric(uint64 connectionTotalBytesReceived, uint64 connectionTotalBytesSent, uint64 playerDeltaBytesReceived, uint64 playerDeltaBytesSent, ::std::string const &xuid)
Definition NetworkAddress.h:5
Definition Alias.h:14