LeviLamina
Loading...
Searching...
No Matches
StringListOption Class Reference
Inheritance diagram for StringListOption:

Public Types

using BoolFilter = ::std::function<bool(bool)>
using SaveIntCallback = ::std::function<int(int)>
using StringFilter = ::std::function<::std::string(::std::string const&)>

Public Member Functions

virtual void save (::std::vector<::std::pair<::std::string, ::std::string > > &propertyVector)
virtual void load (::std::string const &valueString)
virtual void load (::std::map<::std::string, ::std::string > &propertyMap)
virtual void load (::Json::Value const &valueJson)
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, ::GameVersion version)
MCFOLD void $dtor ()
MCAPI void $load (::std::map<::std::string, ::std::string > &propertyMap)
MCAPI void $load (::Json::Value const &valueJson)

Static Public Member Functions

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

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::std::string > > mValue
::ll::TypedStorage< 8, 24, ::std::vector<::std::string > > mDefaultValue
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::Option::Impl > > mImpl

Member Function Documentation

◆ save()

virtual void StringListOption::save ( ::std::vector<::std::pair<::std::string, ::std::string > > & propertyVector)
virtual

Implements Option.

◆ load()

virtual void StringListOption::load ( ::std::string const & valueString)
virtual

Implements Option.

◆ $vftable()

MCAPI void ** StringListOption::$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: