LeviLamina
Loading...
Searching...
No Matches
CommonPlatform.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class ActivationUri;
8namespace Bedrock { class ActivationArguments; }
9namespace Bedrock { class IAppHolder; }
10namespace Bedrock { struct PlatformBuildInfo; }
11namespace Bedrock { struct PlatformRuntimeInfo; }
12// clang-format on
13
14namespace Bedrock {
15
16class CommonPlatform {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Bedrock::PlatformRuntimeInfo>> mPlatformRuntimeInfo;
21 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Bedrock::PlatformBuildInfo>> mPlatformBuildInfo;
22 ::ll::TypedStorage<1, 1, ::std::atomic<bool>> mHasInitialized;
23 ::ll::TypedStorage<8, 16, ::gsl::not_null<::std::shared_ptr<::Bedrock::IAppHolder>>> mHolder;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual ~CommonPlatform();
30
31 virtual bool updatePlatformInfo() = 0;
32
33 virtual bool updatePlatformGraphicsInfo() = 0;
34
35 virtual bool _preAppCreation(::Bedrock::ActivationArguments const&) = 0;
36
37 virtual bool _postAppCreation(::Bedrock::ActivationArguments const& actArgs) = 0;
38
39 virtual void _processActivationArguments(::Bedrock::ActivationArguments const& args) = 0;
40
41 virtual bool _update(bool canRender) = 0;
42
43 virtual void notifyUriListeners_Shim(::ActivationUri const& uri) = 0;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI bool startApp(::Bedrock::ActivationArguments const& actArgs);
50 // NOLINTEND
51
52public:
53 // destructor thunk
54 // NOLINTBEGIN
55 MCAPI void $dtor();
56 // NOLINTEND
57
58public:
59 // vftables
60 // NOLINTBEGIN
61 MCNAPI static void** $vftable();
62 // NOLINTEND
63};
64
65} // namespace Bedrock
Definition ActivationUri.h:5
Definition ActivationArguments.h:7
Definition CommonPlatform.h:7
static MCAPI void ** $vftable()
Definition IAppHolder.h:7
Definition PlatformBuildInfo.h:7
Definition PlatformRuntimeInfo.h:7