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

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 > > &)
virtual void load (::std::string const &)
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 bool read (::std::string const &valueString, bool &output)
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, uint64 const > VALUE_MAX
::ll::TypedStorage< 8, 8, uint64 const > VALUE_MIN
::ll::TypedStorage< 8, 8, uint64 > mValue
::ll::TypedStorage< 8, 8, uint64 > mDefaultValue
::ll::TypedStorage< 1, 1, bool > mClampToRange
::ll::TypedStorage< 8, 24, ::std::vector< uint64 > > mPossibleValues
::ll::TypedStorage< 8, 64, ::std::function< int(int)> > mCoerceSaveValueCallback
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::Option::Impl > > mImpl

Member Function Documentation

◆ save()

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

Implements Option.

◆ load()

virtual void UInt64Option::load ( ::std::string const & )
virtual

Implements Option.

◆ $vftable()

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