Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
SpawnGroupRegistry Class Reference

Public Types

using SpawnGroupLookupMap = ::std::unordered_map<::std::string, ::SpawnGroupData*>
using SpawnGroupRegistryMap = ::std::vector<::std::unique_ptr<::SpawnGroupData>>
using SpawnRulesHandler

Public Member Functions

SpawnGroupRegistry & operator= (SpawnGroupRegistry const &)
 SpawnGroupRegistry (SpawnGroupRegistry const &)
MCAPI void _getResources (::ResourcePackManager &resourcePackManager, ::std::function< void(::std::string const &, int, ::BiomeFilterGroup &, ::MobSpawnRules &, ::SemVersion const &)> callback)
MCAPI::SpawnGroupData const * getSpawnGroup (::std::string const &identifier) const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::SpawnGroupData > > > mSpawnGroupRegistry
::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::SpawnGroupData * > > mSpawnGroupLookupMap
::ll::TypedStorage< 8, 8, ::IMinecraftEventing & > mEventing

Member Typedef Documentation

◆ SpawnRulesHandler

using SpawnGroupRegistry::SpawnRulesHandler
Initial value:
::std::function<void(::std::string const&, int, ::BiomeFilterGroup&, ::MobSpawnRules&, ::SemVersion const&)>
Definition BiomeFilterGroup.h:13
Definition MobSpawnRules.h:21
Definition SemVersion.h:15

Member Function Documentation

◆ _getResources()

MCAPI void SpawnGroupRegistry::_getResources ( ::ResourcePackManager & resourcePackManager,
::std::function< void(::std::string const &, int, ::BiomeFilterGroup &, ::MobSpawnRules &, ::SemVersion const &)> callback )
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.

◆ getSpawnGroup()

MCAPI::SpawnGroupData const * SpawnGroupRegistry::getSpawnGroup ( ::std::string const & identifier) 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.

◆ $vftable()

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