Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
MultiplayerGameInfo.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/services/live_events/ExperienceJoinRequestInfo.h"
7#include "mc/client/social/MultiplayerServiceIdentifier.h"
8#include "mc/deps/core/file/Path.h"
9#include "mc/network/GamePublishSetting.h"
10#include "mc/network/TransportLayer.h"
11
12// auto generated forward declare list
13// clang-format off
14namespace Json { class Value; }
15namespace Social { class GameConnectionInfo; }
16namespace Social { struct Nonce; }
17// clang-format on
18
19namespace Social {
20
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 24, ::std::vector<::Social::GameConnectionInfo>> supportedConnections;
26 ::ll::TypedStorage<8, 32, ::std::string> ownerId;
27 ::ll::TypedStorage<8, 24, ::std::vector<uint64>> playerIds;
28 ::ll::TypedStorage<8, 32, ::std::string> ownerNickname;
29 ::ll::TypedStorage<8, 32, ::std::string> handleId;
30 ::ll::TypedStorage<8, 32, ::std::string> levelId;
31 ::ll::TypedStorage<8, 32, ::std::string> sessionId;
32 ::ll::TypedStorage<8, 32, ::std::string> rakNetGUID;
33 ::ll::TypedStorage<8, 32, ::std::string> worldName;
34 ::ll::TypedStorage<8, 32, ::std::string> gameType;
35 ::ll::TypedStorage<8, 32, ::std::string> version;
36 ::ll::TypedStorage<8, 8, int64> realmId;
37 ::ll::TypedStorage<8, 32, ::std::string> thirdPartyServerId;
38 ::ll::TypedStorage<8, 32, ::std::string> thirdPartyServerIp;
39 ::ll::TypedStorage<4, 4, int> thirdPartyServerPort;
40 ::ll::TypedStorage<8, 128, ::std::optional<::ExperienceJoinRequestInfo>> experienceJoinRequest;
41 ::ll::TypedStorage<4, 4, int> protocol;
42 ::ll::TypedStorage<4, 4, int> maxMemberCount;
43 ::ll::TypedStorage<4, 4, int> memberCount;
44 ::ll::TypedStorage<4, 4, ::Social::MultiplayerServiceIdentifier> serviceProvider;
45 ::ll::TypedStorage<8, 32, ::Core::Path> serviceIconPath;
46 ::ll::TypedStorage<4, 4, ::Social::GamePublishSetting> broadcastSetting;
47 ::ll::TypedStorage<1, 1, bool> lanGame;
48 ::ll::TypedStorage<1, 1, bool> onlineCrossPlatformGame;
49 ::ll::TypedStorage<4, 4, ::TransportLayer> transportLayer;
50 ::ll::TypedStorage<4, 4, uint> titleId;
51 ::ll::TypedStorage<1, 1, bool> crossPlayDisabled;
52 ::ll::TypedStorage<1, 1, bool> isEditorWorld;
53 ::ll::TypedStorage<1, 1, bool> isHardcore;
54 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::Social::Nonce>> playerNonces;
55 // NOLINTEND
56
57public:
58 // member functions
59 // NOLINTBEGIN
61
63
65
66 MCNAPI MultiplayerGameInfo(::Social::MultiplayerServiceIdentifier service, ::std::string const& inviteHandle);
67
68 MCNAPI void getConnectionsAsJson(::Json::Value& props) const;
69
70 MCNAPI ::Social::GameConnectionInfo getOptimumConnection(bool ipV6Supported) const;
71
72 MCNAPI ::Social::MultiplayerGameInfo& operator=(::Social::MultiplayerGameInfo const&);
73
74 MCNAPI ::Social::MultiplayerGameInfo& operator=(::Social::MultiplayerGameInfo&&);
75
77 // NOLINTEND
78
79public:
80 // static functions
81 // NOLINTBEGIN
82 MCNAPI static ::Social::MultiplayerGameInfo createFromSessionProperties(::Json::Value const& properties);
83 // NOLINTEND
84
85public:
86 // constructor thunks
87 // NOLINTBEGIN
88 MCNAPI void* $ctor();
89
91
93
94 MCNAPI void* $ctor(::Social::MultiplayerServiceIdentifier service, ::std::string const& inviteHandle);
95 // NOLINTEND
96
97public:
98 // destructor thunk
99 // NOLINTBEGIN
100 MCNAPI void $dtor();
101 // NOLINTEND
102};
103
104} // namespace Social
Definition Value.h:16
Definition GameConnectionInfo.h:24
Definition MultiplayerGameInfo.h:7
MCAPI void * $ctor(::Social::MultiplayerServiceIdentifier service, ::std::string const &inviteHandle)
MCAPI MultiplayerGameInfo(::Social::MultiplayerServiceIdentifier service, ::std::string const &inviteHandle)
static MCAPI ::Social::MultiplayerGameInfo createFromSessionProperties(::Json::Value const &properties)
MCAPI::Social::MultiplayerGameInfo & operator=(::Social::MultiplayerGameInfo &&)
MCAPI MultiplayerGameInfo(::Social::MultiplayerGameInfo const &)
MCAPI::Social::GameConnectionInfo getOptimumConnection(bool ipV6Supported) const
MCAPI void getConnectionsAsJson(::Json::Value &props) const
MCAPI::Social::MultiplayerGameInfo & operator=(::Social::MultiplayerGameInfo const &)
MCAPI void * $ctor(::Social::MultiplayerGameInfo &&)
MCAPI void * $ctor(::Social::MultiplayerGameInfo const &)
MCAPI MultiplayerGameInfo(::Social::MultiplayerGameInfo &&)
Definition Nonce.h:10