Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
NetworkWorldInfo.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/certificates/identity/ServerSupportedAuthenticationTypes.h"
7#include "mc/client/game/ExternalServer.h"
8#include "mc/client/social/MultiplayerGameInfo.h"
9#include "mc/client/world/WorldInfo.h"
10#include "mc/network/PingedCompatibleServer.h"
11
12// auto generated forward declare list
13// clang-format off
15// clang-format on
16
17struct NetworkWorldInfo : public ::WorldInfo {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 32, ::std::string> mPlayerCount;
22 ::ll::TypedStorage<8, 32, ::std::string> mOwnerName;
23 ::ll::TypedStorage<8, 32, ::std::string> mOwnerXuid;
24 ::ll::TypedStorage<8, 32, ::std::string> mWorldName;
25 ::ll::TypedStorage<8, 32, ::std::string> mGameTypeString;
26 ::ll::TypedStorage<8, 32, ::std::string> mVersion;
27 ::ll::TypedStorage<1, 1, bool> mWasDiscoveredOnLAN;
28 ::ll::TypedStorage<1, 1, bool> mIsHardcore;
29 ::ll::TypedStorage<1, 2, ::ServerSupportedAuthenticationTypes> mAuthNegotiation;
30 ::ll::TypedStorage<8, 232, ::ExternalServer> mExternalServer;
31 ::ll::TypedStorage<8, 400, ::PingedCompatibleServer> mRemoteServer;
32 ::ll::TypedStorage<8, 680, ::Social::MultiplayerGameInfo> mFriendGame;
33 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ThirdPartyServer>> mThirdPartyServer;
34 // NOLINTEND
35
36public:
37 // member functions
38 // NOLINTBEGIN
40
41 MCNAPI explicit NetworkWorldInfo(::ExternalServer& externalServer);
42
43 MCNAPI explicit NetworkWorldInfo(::Social::MultiplayerGameInfo const& friendGame);
44
45 MCNAPI explicit NetworkWorldInfo(::PingedCompatibleServer const& remoteServer);
46
48
49 MCNAPI explicit NetworkWorldInfo(::std::shared_ptr<::ThirdPartyServer> const& server);
50
51 MCNAPI ::std::string const getPingTextureName(bool isNetworkEnabled) const;
52
53 MCNAPI ::std::string getUpdatedHeader() const;
54
55 MCNAPI ::std::string const getWorldName(bool versionRequired) const;
56
57 MCNAPI ::NetworkWorldInfo& operator=(::NetworkWorldInfo const& rhs);
58
59 MCNAPI void updateExternalServer();
60
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCNAPI void* $ctor();
68
69 MCNAPI void* $ctor(::ExternalServer& externalServer);
70
71 MCNAPI void* $ctor(::Social::MultiplayerGameInfo const& friendGame);
72
73 MCNAPI void* $ctor(::PingedCompatibleServer const& remoteServer);
74
75 MCNAPI void* $ctor(::NetworkWorldInfo const& rhs);
76
77 MCNAPI void* $ctor(::std::shared_ptr<::ThirdPartyServer> const& server);
78 // NOLINTEND
79
80public:
81 // destructor thunk
82 // NOLINTBEGIN
83 MCNAPI void $dtor();
84 // NOLINTEND
85};
Definition MultiplayerGameInfo.h:7
Definition ThirdPartyServer.h:10
Definition ExternalServer.h:5
Definition NetworkWorldInfo.h:5
MCAPI void * $ctor(::NetworkWorldInfo const &rhs)
MCAPI NetworkWorldInfo(::PingedCompatibleServer const &remoteServer)
MCAPI void * $ctor(::std::shared_ptr<::ThirdPartyServer > const &server)
MCAPI void * $ctor()
MCAPI void * $ctor(::ExternalServer &externalServer)
MCAPI::std::string getUpdatedHeader() const
MCAPI void $dtor()
MCAPI NetworkWorldInfo(::ExternalServer &externalServer)
MCAPI void * $ctor(::PingedCompatibleServer const &remoteServer)
MCAPI NetworkWorldInfo(::Social::MultiplayerGameInfo const &friendGame)
MCAPI NetworkWorldInfo(::NetworkWorldInfo const &rhs)
MCAPI void updateExternalServer()
MCAPI ~NetworkWorldInfo()
MCAPI::NetworkWorldInfo & operator=(::NetworkWorldInfo const &rhs)
MCAPI::std::string const getWorldName(bool versionRequired) const
MCAPI NetworkWorldInfo()
MCAPI NetworkWorldInfo(::std::shared_ptr<::ThirdPartyServer > const &server)
MCAPI::std::string const getPingTextureName(bool isNetworkEnabled) const
MCAPI void * $ctor(::Social::MultiplayerGameInfo const &friendGame)
Definition PingedCompatibleServer.h:5
Definition WorldInfo.h:5