LeviLamina
Loading...
Searching...
No Matches
SpawnGroupRegistry Class Reference

Public Types

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

Public Member Functions

MCAPI void _addSpawnRules (::std::string const &identifier, ::MobSpawnRules &spawnRules)
 
MCAPI void _getResources (::ResourcePackManager &resourcePackManager, ::std::function< void(::std::string const &, int, ::BiomeFilterGroup &, ::MobSpawnRules &, ::SemVersion const &)> callback)
 
MCAPI bool _readJson (::std::string &&data, ::std::unordered_map<::std::string, ::ActorSpawnRuleData > &dataMap)
 
MCAPI void readResourceFiles (::ResourcePackManager &resourcePackManager, ::std::unordered_map<::std::string, ::ActorSpawnRuleData > &dataMap)
 

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
 

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:16
Definition SemVersion.h:15

Member Function Documentation

◆ _addSpawnRules()

MCAPI void SpawnGroupRegistry::_addSpawnRules ( ::std::string const & identifier,
::MobSpawnRules & spawnRules )
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.

◆ _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.

◆ _readJson()

MCAPI bool SpawnGroupRegistry::_readJson ( ::std::string && data,
::std::unordered_map<::std::string, ::ActorSpawnRuleData > & dataMap )
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.

◆ readResourceFiles()

MCAPI void SpawnGroupRegistry::readResourceFiles ( ::ResourcePackManager & resourcePackManager,
::std::unordered_map<::std::string, ::ActorSpawnRuleData > & dataMap )
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 ** 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: