Navigation
API > API/Plugins > API/Plugins/MassGameplayEditor > API/Plugins/MassGameplayEditor/UMassTraitRepository
Description
The method gathers all existing trait classes and processed them. We don't do that on subsystem's init since very often the data won't be needed during the given editor run. We call the function lazily the first time the data is needed.
| Name | InitRepository |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MassGameplay/Source/MassGameplayEditor/Public/MassTraitRepository.h |
| Include Path | #include "MassTraitRepository.h" |
| Source | /Engine/Plugins/Runtime/MassGameplay/Source/MassGameplayEditor/Private/MassTraitRepository.cpp |
void InitRepository()