187 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ConnectionRequest>> mPrimaryRequest;
188 ::ll::TypedStorage<8, 64, ::std::unordered_map<::SubClientId, ::std::unique_ptr<::SubClientConnectionRequest>>>
195 MCAPI
void removeSubClientRequest(::SubClientId subClientId);
202 ::ll::TypedStorage<8, 8, ::GameCallbacks&> mGameCallbacks;
203 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::ILevel>> mLevel;
204 ::ll::TypedStorage<8, 8, ::ServerNetworkSystem&> mNetwork;
205 ::ll::TypedStorage<8, 8, ::PrivateKeyManager&> mServerKeys;
206 ::ll::TypedStorage<8, 8, ::ServerLocator&> mServerLocator;
207 ::ll::TypedStorage<8, 8, ::gsl::not_null<::PacketSender*>> mPacketSender;
208 ::ll::TypedStorage<1, 1, bool> mUseAllowList;
209 ::ll::TypedStorage<8, 8, ::AllowList&> mAllowList;
210 ::ll::TypedStorage<8, 8, ::PermissionsFile*> mPermissionsFile;
211 ::ll::TypedStorage<8, 104, ::DenyList> mServerDenyList;
212 ::ll::TypedStorage<8, 72, ::NetworkServerConfig> mNetworkServerConfig;
213 ::ll::TypedStorage<1, 1, bool> mHasDisplayedPackErrors;
214 ::ll::TypedStorage<8, 160, ::NetworkIdentifier> mMyId;
215 ::ll::TypedStorage<4, 4, int const> mMaxChunkRadius;
216 ::ll::TypedStorage<8, 8, ::MinecraftCommands&> mMinecraftCommands;
217 ::ll::TypedStorage<8, 8, ::IMinecraftApp&> mApp;
218 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::TextFilteringProcessor>> mTextFilteringProcessor;
219 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ClientBlobCache::Server::ActiveTransfersManager>> mClientCacheManager;
220 ::ll::TypedStorage<8, 64, ::std::unordered_map<uint64, ::std::string>> mServerStorageForClientsConnectingAttempt;
221 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ClassroomModeNetworkHandler>> mCompanionHandler;
222 ::ll::TypedStorage<8, 80, ::Bedrock::Threading::Mutex> mValidatePlayerMutex;
223 ::ll::TypedStorage<1, 1, bool> mAllowIncoming;
224 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IServerNetworkController>> mServerNetworkController;
225 ::ll::TypedStorage<8, 32, ::std::string> mServerName;
226 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mTrustedKeys;
227 ::ll::TypedStorage<4, 4, int> mMaxNumPlayers;
228 ::ll::TypedStorage<8, 64, ::std::unordered_set<::mce::UUID>> mKnownEmotePieceIdLookup;
229 ::ll::TypedStorage<8, 24, ::std::vector<::mce::UUID>> mKnownEmotePieceIds;
233 ::std::unordered_map<
235 ::std::unordered_map<::std::string, ::std::shared_ptr<::ResourcePackFileUploadManager>>>>
236 mResourceUploadManagers;
237 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mIOTaskGroup;
241 ::std::unordered_map<::NetworkIdentifier, ::std::unique_ptr<::ServerNetworkHandler::Client>>>
243 ::ll::TypedStorage<1, 1, bool> mIsTrial;
244 ::ll::TypedStorage<8, 64, ::std::unordered_map<::PackIdVersion, ::std::string>> mPackIdToContentKey;
245 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::GameSpecificNetEventCallback>> mGameSpecificNetEventCallback;
249 ::std::unordered_map<::NetworkIdentifier, ::std::unique_ptr<::ServerNetworkHandler::TransferBuilderBatcher>>>
250 mTransferBuilderBatcher;
251 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::GameTestNetworkAdapter>> mGameTestAdapter;
252 ::ll::TypedStorage<8, 40, ::ServiceReference<::AppConfigs>> mAppConfigs;
253 ::ll::TypedStorage<8, 40, ::ServiceReference<::Social::MultiplayerServiceManager>> mMultiplayerServiceManager;
254 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CompressedBiomeDefinitionListPacket const>>
255 mCompressedBiomeDefinitionList;
256 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::Identity::IEduAuth>> mEduAuth;
257 ::ll::TypedStorage<8, 32, ::std::string> mServerId;
258 ::ll::TypedStorage<8, 32, ::std::string> mScenarioId;
259 ::ll::TypedStorage<8, 32, ::std::string> mWorldId;
269 virtual void onWebsocketRequest(
270 ::std::string
const& serverAddress,
271 ::std::string
const& payload,
272 ::std::function<
void()> errorCallback
276 virtual void onInvalidPlayerJoinedLobby(
::mce::UUID const& uuid, ::std::string
const& xuid) ;
279 virtual void onXboxUserBlocked(::std::string
const& xuid) ;
282 virtual void onXboxUserUnblocked(::std::string
const& xuid) ;
285 virtual void onPlayerReady(
::Player& player) ;
288 virtual void handlePacketViolation(
289 ::std::shared_ptr<::PacketSecurityController>
const& packetSecurityController,
290 ::std::error_code
const& errorCode,
291 ::PacketViolationResponse
const response,
292 ::MinecraftPacketIds
const packetId,
295 ::SubClientId
const clientSubId,
296 ::SubClientId
const senderSubId,
297 uint
const packetSize
301 virtual void sendPacketViolationWarningPacket(
302 ::std::error_code
const& errorCode,
303 ::PacketViolationResponse violationResponse,
304 ::MinecraftPacketIds violatingPacketId,
307 ::SubClientId clientSubId
311 virtual void sendServerLegacyParticle(::ParticleType name,
::Vec3 const& pos,
::Vec3 const&,
int data) ;
315 onTransferRequest(
::NetworkIdentifier const&
id, ::std::string
const& serverAddress,
int serverPort) ;
319 onDisconnect(
::NetworkIdentifier const&, ::Connection::DisconnectFailReason
const, ::std::string
const&,
bool, ::std::string
const&)
323 virtual ::IncomingPacketFilterResult allowIncomingPacketId(
325 ::MinecraftPacketIds packetId,
330 virtual ::OutgoingPacketFilterResult
331 allowOutgoingPacket(::std::vector<::NetworkIdentifierWithSubId>
const& ids,
::Packet const& packet) ;
344 handle(
::NetworkIdentifier const& source, ::std::shared_ptr<::BlockActorDataPacket> packet) ;
406 handle(
::NetworkIdentifier const& source, ::std::shared_ptr<::InventoryTransactionPacket> packet) ;
576 virtual void onTick() ;
579 virtual ::GameSpecificNetEventCallback* getGameSpecificNetEventCallback() ;
588 virtual ::ServerPlayer* _getServerPlayer(
::NetworkIdentifier const& source, ::SubClientId subId);
608 ::std::unordered_map<::PackIdVersion, ::std::string>
const& packIdToContentKey,
618 SetServerIdentifiers(::std::string
const& serverId, ::std::string
const& worldId, ::std::string
const& scenarioId);
620 MCAPI
void _buildSubChunkPacketData(
626 bool clientCacheEnabled
629 MCAPI ::ServerPlayer& _createNewPlayer(
641 MCAPI
int _getActiveAndInProgressPlayerCount(
::mce::UUID excludePlayer)
const;
644 _getDisplayName(
::GameServerToken const& token,
bool isThirdPartyNameOnly, ::std::string
const& thirdPartyName)
647 MCAPI ::std::optional<::MessToken> _getMessToken(::std::string
const& eduTokenChain,
bool isHostingPlayer);
649 MCAPI ::ResourcePackFileUploadManager&
650 _getResourcePackFileUploadManager(
::NetworkIdentifier const& source, ::std::string
const& resourceName);
652 MCAPI
void _handleCommandBlockUpdatePacket(
658 MCAPI
void _handleSetDefaultGameType(
665 MCAPI
bool _isServerTextEnabled(::ServerTextEvent
const& textEvent)
const;
667 MCAPI
bool _isValidThirdPartyName(
::GameServerToken const& token, ::std::string
const& thirdPartyName)
const;
669 MCAPI
bool _loadNewPlayer(
::ServerPlayer& newPlayer,
bool isXboxLive);
673 MCAPI
void _onPlayerLeft(
::ServerPlayer* player,
bool skipMessage);
675 MCAPI
void _onSubClientAuthenticated(
681 MCAPI
bool _playerHasPermissionToFly(
688 MCAPI
void _processServerAuthPlayerActions(
698 MCAPI
bool _updatePermissions(
706 MCAPI
void addToDenyList(
::mce::UUID const& uuid, ::std::string
const& xuid);
708 MCAPI
void allowIncomingConnections(::std::string
const& serverName,
bool shouldAnnounce);
710 MCAPI ::OwnerPtr<::EntityContext>
713 MCAPI ::OwnerPtr<::EntityContext> createSimulatedPlayer(::std::string
const& name, ::std::string
const& xuid);
715 MCAPI
void disallowIncomingConnections();
717 MCAPI
void disconnectClient(
719 ::Connection::DisconnectFailReason discoReason,
720 ::std::string
const& message,
721 ::std::optional<::std::string> filteredMessage,
725 MCAPI
void disconnectClient(
728 ::Connection::DisconnectFailReason discoReason,
729 ::std::string
const& message,
730 ::std::optional<::std::string> filteredMessage,
737 MCAPI
void engineDownloadingFinishedResponseHelper(
742 MCAPI
void engineDownloadingResponseHelper(
749 MCAPI
void persistPlayerPermissionsToDisk(
751 ::PlayerPermissionLevel playerPermission
754 MCAPI
void removeFromDenyList(
::mce::UUID const& uuid, ::std::string
const& xuid);
756 MCAPI
void sendLoginMessageLocal(
762 MCAPI
void sendSubClientLoginMessageLocal(
774 MCAPI
void updateServerAnnouncement();
780 MCAPI
static void handle(
::ServerPlayer* player, ::std::shared_ptr<::InventoryTransactionPacket> packet);
802 ::std::unordered_map<::PackIdVersion, ::std::string>
const& packIdToContentKey,
821 MCAPI
void $onWebsocketRequest(
822 ::std::string
const& serverAddress,
823 ::std::string
const& payload,
824 ::std::function<
void()> errorCallback
827 MCAPI
void $onInvalidPlayerJoinedLobby(
::mce::UUID const& uuid, ::std::string
const& xuid);
829 MCAPI
void $onXboxUserBlocked(::std::string
const& xuid);
831 MCAPI
void $onXboxUserUnblocked(::std::string
const& xuid);
833 MCFOLD
void $onPlayerReady(
::Player& player);
835 MCAPI
void $handlePacketViolation(
836 ::std::shared_ptr<::PacketSecurityController>
const& packetSecurityController,
837 ::std::error_code
const& errorCode,
838 ::PacketViolationResponse
const response,
839 ::MinecraftPacketIds
const packetId,
842 ::SubClientId
const clientSubId,
843 ::SubClientId
const senderSubId,
844 uint
const packetSize
847 MCAPI
void $sendPacketViolationWarningPacket(
848 ::std::error_code
const& errorCode,
849 ::PacketViolationResponse violationResponse,
850 ::MinecraftPacketIds violatingPacketId,
853 ::SubClientId clientSubId
856 MCAPI
void $sendServerLegacyParticle(::ParticleType name,
::Vec3 const& pos,
::Vec3 const&,
int data);
858 MCAPI
void $onTransferRequest(
::NetworkIdentifier const&
id, ::std::string
const& serverAddress,
int serverPort);
860 MCAPI ::IncomingPacketFilterResult $allowIncomingPacketId(
862 ::MinecraftPacketIds packetId,
866 MCAPI ::OutgoingPacketFilterResult
867 $allowOutgoingPacket(::std::vector<::NetworkIdentifierWithSubId>
const& ids,
::Packet const& packet);
875 MCAPI
void $handle(
::NetworkIdentifier const& source, ::std::shared_ptr<::BlockActorDataPacket> packet);
915 MCAPI
void $handle(
::NetworkIdentifier const& source, ::std::shared_ptr<::InventoryTransactionPacket> packet);
1025 MCAPI
void $onTick();
1027 MCAPI ::GameSpecificNetEventCallback* $getGameSpecificNetEventCallback();
1033 MCAPI ::ServerPlayer* $_getServerPlayer(
::NetworkIdentifier const& source, ::SubClientId subId);
1039 MCAPI
static void** $vftableForNetEventCallback();
1041 MCAPI
static void** $vftableForMultiplayerServiceObserver();
1043 MCAPI
static void** $vftableForXboxLiveUserObserver();
1045 MCAPI
static void** $vftableForLevelListener();
1047 MCAPI
static void** $vftableForEnableQueueForMainThread();