Support for getting type names from TypeLibrary.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
@@ -69,9 +69,9 @@ GrowthRateLibrary* TestLibrary::BuildGrowthRateLibrary() {
|
||||
|
||||
TypeLibrary* TestLibrary::BuildTypeLibrary() {
|
||||
auto l = new TypeLibrary();
|
||||
l->RegisterType("testType1"_cnc.GetHash());
|
||||
l->RegisterType("testType2"_cnc.GetHash());
|
||||
l->RegisterType("testType3"_cnc.GetHash());
|
||||
l->RegisterType("testType1"_cnc);
|
||||
l->RegisterType("testType2"_cnc);
|
||||
l->RegisterType("testType3"_cnc);
|
||||
return l;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user