LeviLamina
Loading...
Searching...
No Matches
WorldSettingsRules.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
12class TrialManager;
13namespace Social { class IUserManager; }
14namespace Social { class MultiplayerServiceManager; }
15namespace Social { class User; }
16// clang-format on
17
19public:
20 // WorldSettingsRules inner types define
21 enum class GeneralMultiplayerWarningState : int {
22 None = 0,
23 CheckInternetConnection = 1,
24 DisconnectedThirdPartyWithSubscription = 2,
25 DisconnectedThirdParty = 3,
26 LocalMultiplayerPrivilegesBlockedThirdParty = 4,
27 MultiplayerPrivilegesBlockedThirdParty = 5,
28 MultiplayerPrivilegesBlocked = 6,
29 MultiplayerPrivilegesBlockedOnConsole = 7,
30 CrossPlatformDisabled = 8,
31 NonMultiplayerSkinEquipped = 9,
32 Max = 10,
33 };
34
35public:
36 // member variables
37 // NOLINTBEGIN
38 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::TrialManager>> mTrialManager;
39 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::Social::IUserManager>> mUserManager;
40 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::Social::MultiplayerServiceManager>>
41 mMultiplayerServiceManager;
42 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::Social::User>> mUser;
43 ::ll::TypedStorage<8, 8, ::MinecraftCommands&> mCommands;
44 ::ll::TypedStorage<8, 8, ::SkinRepositoryClientInterface&> mSkinRepositoryClientInterface;
45 ::ll::TypedStorage<1, 1, bool> mIsEditorModeEnabled;
46 // NOLINTEND
47
48public:
49 // prevent constructor by default
50 WorldSettingsRules& operator=(WorldSettingsRules const&);
51 WorldSettingsRules(WorldSettingsRules const&);
52 WorldSettingsRules();
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCAPI WorldSettingsRules(::WorldSettingsRules&&);
58
59 MCAPI WorldSettingsRules(
60 ::MinecraftCommands& commands,
61 ::SkinRepositoryClientInterface& skinRepositoryClientInterface,
62 ::Bedrock::NotNullNonOwnerPtr<::TrialManager> const& trialManager,
63 ::Bedrock::NotNullNonOwnerPtr<::Social::IUserManager> const& userManager,
64 ::Bedrock::NotNullNonOwnerPtr<::Social::MultiplayerServiceManager> const& multiplayerServiceManager,
65 ::std::shared_ptr<::Social::User> user,
66 bool isEditorModeEnabled
67 );
68
69 MCAPI bool _isAdhocEnabled() const;
70
71 MCAPI ~WorldSettingsRules();
72 // NOLINTEND
73
74public:
75 // constructor thunks
76 // NOLINTBEGIN
77 MCAPI void* $ctor(::WorldSettingsRules&&);
78
79 MCAPI void* $ctor(
80 ::MinecraftCommands& commands,
81 ::SkinRepositoryClientInterface& skinRepositoryClientInterface,
82 ::Bedrock::NotNullNonOwnerPtr<::TrialManager> const& trialManager,
83 ::Bedrock::NotNullNonOwnerPtr<::Social::IUserManager> const& userManager,
84 ::Bedrock::NotNullNonOwnerPtr<::Social::MultiplayerServiceManager> const& multiplayerServiceManager,
85 ::std::shared_ptr<::Social::User> user,
86 bool isEditorModeEnabled
87 );
88 // NOLINTEND
89
90public:
91 // destructor thunk
92 // NOLINTBEGIN
93 MCAPI void $dtor();
94 // NOLINTEND
95};
Definition MinecraftCommands.h:34
Definition SkinRepositoryClientInterface.h:5
Definition IUserManager.h:34
Definition MultiplayerServiceManager.h:7
Definition User.h:7
Definition TrialManager.h:5
Definition WorldSettingsRules.h:5