Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
CloudSyncJsonUiPresenter.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7
8// auto generated forward declare list
9// clang-format off
11class IClientInstance;
12// clang-format on
13
15public:
16 // CloudSyncJsonUiPresenter inner types define
17 using ClientProvider = ::std::function<::Bedrock::NonOwnerPointer<::IClientInstance>()>;
18
19 using ShouldDisplayQuery = ::std::function<bool()>;
20
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 8, ::CloudSyncTrigger&> mCloudSyncTrigger;
25 ::ll::TypedStorage<8, 64, ::std::function<::Bedrock::NonOwnerPointer<::IClientInstance>()>> mClientProvider;
26 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mShouldDisplay;
27 ::ll::TypedStorage<1, 1, bool> mHasPresentedThisSync;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 CloudSyncJsonUiPresenter& operator=(CloudSyncJsonUiPresenter const&);
33 CloudSyncJsonUiPresenter(CloudSyncJsonUiPresenter const&);
34 CloudSyncJsonUiPresenter();
35
36public:
37 // member functions
38 // NOLINTBEGIN
40 ::CloudSyncTrigger& cloudSyncTrigger,
41 ::std::function<::Bedrock::NonOwnerPointer<::IClientInstance>()> clientProvider,
42 ::std::function<bool()> shouldDisplay
43 );
44
45 MCNAPI void tick();
46 // NOLINTEND
47
48public:
49 // constructor thunks
50 // NOLINTBEGIN
51 MCNAPI void* $ctor(
52 ::CloudSyncTrigger& cloudSyncTrigger,
53 ::std::function<::Bedrock::NonOwnerPointer<::IClientInstance>()> clientProvider,
54 ::std::function<bool()> shouldDisplay
55 );
56 // NOLINTEND
57};
Definition NonOwnerPointer.h:9
Definition CloudSyncJsonUiPresenter.h:5
MCAPI void * $ctor(::CloudSyncTrigger &cloudSyncTrigger, ::std::function<::Bedrock::NonOwnerPointer<::IClientInstance >()> clientProvider, ::std::function< bool()> shouldDisplay)
MCAPI CloudSyncJsonUiPresenter(::CloudSyncTrigger &cloudSyncTrigger, ::std::function<::Bedrock::NonOwnerPointer<::IClientInstance >()> clientProvider, ::std::function< bool()> shouldDisplay)
Definition CloudSyncTrigger.h:5
Definition IClientInstance.h:5