Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
PlatformMultiplayerRestrictions Class Referenceabstract

Public Member Functions

virtual bool platformRestrictsMultiplayer () const =0
virtual void displayPlatformRestrictsMultiplayerModal (::std::function< void()> &&onCompleteCallback)=0
virtual void displayPlatformRestrictsUserGeneratedContentModal (::std::function< void()> &&onCompleteCallback)=0
virtual void displayPlatformRestrictsChatModal (::std::function< void()> &&onCompleteCallback)=0

Static Public Member Functions

static MCAPI ::std::unique_ptr<::PlatformMultiplayerRestrictions > create (::std::shared_ptr<::MinecraftScreenModel > model, ::IClientInstance &client)
static MCAPI ::std::function<::std::unique_ptr< ::PlatformMultiplayerRestrictions >(::std::shared_ptr<::MinecraftScreenModel >, ::IClientInstance &)> & sFactory ()

Member Function Documentation

◆ create()

MCAPI ::std::unique_ptr<::PlatformMultiplayerRestrictions > PlatformMultiplayerRestrictions::create ( ::std::shared_ptr<::MinecraftScreenModel > model,
::IClientInstance & client )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ sFactory()

MCAPI ::std::function<::std::unique_ptr< ::PlatformMultiplayerRestrictions >(::std::shared_ptr<::MinecraftScreenModel >, ::IClientInstance &)> & PlatformMultiplayerRestrictions::sFactory ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following files: