Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
RecentlyPlayedTarget.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/world/RecentlyPlayedTargetType.h"
7
8namespace World {
9
11public:
12 // member variables
13 // NOLINTBEGIN
14 ::ll::TypedStorage<1, 1, ::World::RecentlyPlayedTargetType> mType;
15 ::ll::TypedStorage<8, 32, ::std::string> mCanonicalId;
16 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mLevelId;
17 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mIsEditorWorld;
18 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mNetherNetId;
19 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mRakNetGuid;
20 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mWebRtcNetworkId;
21 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mHostGuid;
22 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mRealmId;
23 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mExternalServerAddress;
24 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mThirdPartyServerId;
25 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mExperienceId;
26 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mWorldId;
27 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mFriendId;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 RecentlyPlayedTarget& operator=(RecentlyPlayedTarget const&);
33 RecentlyPlayedTarget();
34
35public:
36 // member functions
37 // NOLINTBEGIN
39
41
42 MCNAPI bool isSameDestination(::World::RecentlyPlayedTarget const& other) const;
43
44 MCNAPI ::World::RecentlyPlayedTarget mergeDestinationIdentity(::World::RecentlyPlayedTarget const& other) const;
45
46 MCNAPI ::World::RecentlyPlayedTarget& operator=(::World::RecentlyPlayedTarget&&);
47
49 // NOLINTEND
50
51public:
52 // static functions
53 // NOLINTBEGIN
54 MCNAPI static ::World::RecentlyPlayedTarget experience(
55 ::std::string experienceId,
56 ::std::optional<::std::string> worldId,
57 ::std::optional<::std::string> friendId
58 );
59
60 MCNAPI static ::World::RecentlyPlayedTarget externalServer(::std::string address, int port);
61
62 MCNAPI static ::World::RecentlyPlayedTarget friendWorld(
63 ::std::string levelId,
64 int64 realmId,
65 ::std::optional<::std::string> netherNetId,
66 ::std::optional<::std::string> rakNetGuid
67 );
68
69 MCNAPI static ::World::RecentlyPlayedTarget
70 lanWorld(::std::string hostGuid, ::std::optional<::std::string> webRtcNetworkId);
71
72 MCNAPI static ::World::RecentlyPlayedTarget localWorld(::std::string levelId, bool isEditorWorld);
73
74 MCNAPI static ::World::RecentlyPlayedTarget realmWorld(int64 realmId);
75
76 MCNAPI static ::World::RecentlyPlayedTarget thirdPartyServer(::std::string productId);
77 // NOLINTEND
78
79public:
80 // constructor thunks
81 // NOLINTBEGIN
83
85 // NOLINTEND
86
87public:
88 // destructor thunk
89 // NOLINTBEGIN
90 MCNAPI void $dtor();
91 // NOLINTEND
92};
93
94} // namespace World
Definition RecentlyPlayedTarget.h:7
static MCAPI ::World::RecentlyPlayedTarget localWorld(::std::string levelId, bool isEditorWorld)
MCAPI RecentlyPlayedTarget(::World::RecentlyPlayedTarget &&)
static MCAPI ::World::RecentlyPlayedTarget friendWorld(::std::string levelId, int64 realmId, ::std::optional<::std::string > netherNetId, ::std::optional<::std::string > rakNetGuid)
static MCAPI ::World::RecentlyPlayedTarget thirdPartyServer(::std::string productId)
static MCAPI ::World::RecentlyPlayedTarget lanWorld(::std::string hostGuid, ::std::optional<::std::string > webRtcNetworkId)
MCAPI bool isSameDestination(::World::RecentlyPlayedTarget const &other) const
MCAPI void * $ctor(::World::RecentlyPlayedTarget &&)
MCAPI::World::RecentlyPlayedTarget & operator=(::World::RecentlyPlayedTarget &&)
static MCAPI ::World::RecentlyPlayedTarget realmWorld(int64 realmId)
MCAPI void * $ctor(::World::RecentlyPlayedTarget const &)
static MCAPI ::World::RecentlyPlayedTarget experience(::std::string experienceId, ::std::optional<::std::string > worldId, ::std::optional<::std::string > friendId)
MCAPI::World::RecentlyPlayedTarget mergeDestinationIdentity(::World::RecentlyPlayedTarget const &other) const
static MCAPI ::World::RecentlyPlayedTarget externalServer(::std::string address, int port)
MCAPI RecentlyPlayedTarget(::World::RecentlyPlayedTarget const &)