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
11class PersonaClient;
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, ::PersonaClient&> mPersonaClient;
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 bool _isCrossPlatformPlayEnabled() const;
58
59 MCAPI bool _isPlatformServiceMultiplayerConnected() const;
60
61 MCAPI bool isMultiplayerSupported() const;
62
63 MCAPI bool isPlatformBroadcastFriendsOfFriendsOptionSupported() const;
64
65 MCAPI ~WorldSettingsRules();
66 // NOLINTEND
67
68public:
69 // destructor thunk
70 // NOLINTBEGIN
71 MCAPI void $dtor();
72 // NOLINTEND
73};
Definition MinecraftCommands.h:33
Definition PersonaClient.h:5
Definition IUserManager.h:7
Definition MultiplayerServiceManager.h:7
Definition User.h:7
Definition TrialManager.h:5
Definition WorldSettingsRules.h:5