LeviLamina
Loading...
Searching...
No Matches
Option Class Referenceabstract
+ Inheritance diagram for Option:

Classes

class  Impl
 

Public Member Functions

Optionoperator= (Option const &)
 
 Option (Option const &)
 
virtual void save (::std::vector<::std::pair<::std::string, ::std::string > > &)=0
 
virtual void load (::std::string const &)=0
 
virtual void load (::std::map<::std::string, ::std::string > &propertyMap)
 
virtual void load (::Json::Value const &valueJson)
 
MCAPI Option (::OptionID id, ::OptionOwnerType ownerType, ::OptionResetFlags resetFlags, ::std::string const &captionId, ::std::string const &saveTag, ::OptionType optionType)
 
MCAPI void _updatePropertyVector (::std::vector<::std::pair<::std::string, ::std::string > > &propertyVector, ::std::string const &value)
 
MCAPI bool getBool () const
 
MCAPI::Bedrock::PubSub::Subscription registerLock (::std::function< void(bool &)> isModifiableCondition)
 
MCAPI::Bedrock::PubSub::Subscription registerObserver (::std::function< void(::Option const &)> onValueChangedCallback)
 
MCAPI void * $ctor (::OptionID id, ::OptionOwnerType ownerType, ::OptionResetFlags resetFlags, ::std::string const &captionId, ::std::string const &saveTag, ::OptionType optionType)
 
MCAPI void $load (::std::map<::std::string, ::std::string > &propertyMap)
 
MCAPI void $load (::Json::Value const &valueJson)
 

Static Public Member Functions

static MCAPI bool read (::std::string const &valueString, bool &output)
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::UntypedStorage< 8, 8 > mUnk46f565
 

Constructor & Destructor Documentation

◆ Option()

MCAPI Option::Option ( ::OptionID id,
::OptionOwnerType ownerType,
::OptionResetFlags resetFlags,
::std::string const & captionId,
::std::string const & saveTag,
::OptionType optionType )
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.

Member Function Documentation

◆ _updatePropertyVector()

MCAPI void Option::_updatePropertyVector ( ::std::vector<::std::pair<::std::string, ::std::string > > & propertyVector,
::std::string const & value )
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.

◆ getBool()

MCAPI bool Option::getBool ( ) const
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.

◆ registerLock()

MCAPI::Bedrock::PubSub::Subscription Option::registerLock ( ::std::function< void(bool &)> isModifiableCondition)
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.

◆ registerObserver()

MCAPI::Bedrock::PubSub::Subscription Option::registerObserver ( ::std::function< void(::Option const &)> onValueChangedCallback)
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.

◆ read()

static MCAPI bool Option::read ( ::std::string const & valueString,
bool & output )
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.

◆ $ctor()

MCAPI void * Option::$ctor ( ::OptionID id,
::OptionOwnerType ownerType,
::OptionResetFlags resetFlags,
::std::string const & captionId,
::std::string const & saveTag,
::OptionType optionType )
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.

◆ $load() [1/2]

MCAPI void Option::$load ( ::std::map<::std::string, ::std::string > & propertyMap)
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.

◆ $load() [2/2]

MCAPI void Option::$load ( ::Json::Value const & valueJson)
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.

◆ $vftable()

static MCAPI void ** Option::$vftable ( )
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 file: