mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-12 16:30:53 +01:00
13 lines
296 B
C++
13 lines
296 B
C++
#include <TiltedOnlinePCH.h>
|
|
|
|
#include <Games/IFormFactory.h>
|
|
|
|
IFormFactory* IFormFactory::GetForType(const FormType aId) noexcept
|
|
{
|
|
if (aId >= FormType::Count)
|
|
return nullptr;
|
|
|
|
POINTER_SKYRIMSE(IFormFactory*, s_factories, 400508);
|
|
|
|
return s_factories.Get()[(uint32_t)aId];
|
|
}
|