LeviLamina
Loading...
Searching...
No Matches
IntProvider Struct Reference
Inheritance diagram for IntProvider:

Public Member Functions

IntProvideroperator= (IntProvider const &)
 IntProvider (IntProvider const &)
virtual int sample (::IRandom &random) const
virtual int maxValue () const
virtual int minValue () const
MCAPI::IntProvider & operator= (::IntProvider &&)
MCAPI void $dtor ()
MCAPI int $sample (::IRandom &random) const
MCAPI int $maxValue () const
MCAPI int $minValue () const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 4, 24, ::std::variant<::ConstantInt, ::UniformInt > > mProvider

Member Function Documentation

◆ sample()

virtual int IntProvider::sample ( ::IRandom & random) const
virtual

Implements IntProviderType.

◆ maxValue()

virtual int IntProvider::maxValue ( ) const
virtual

Implements IntProviderType.

◆ minValue()

virtual int IntProvider::minValue ( ) const
virtual

Implements IntProviderType.

◆ $vftable()

MCAPI void ** IntProvider::$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 struct was generated from the following file: