typeid to array typeid
Hi, is there a way to get the typeid of an array of type T, if I have the typeid of T?Let me explain. enum TestEnum {
TEST1,
TEST2,
TEST3
}
class NewScript {
TestEnum my_enum;
array<TestEnum> my_array;
}
I'm using asITypeInfo::GetProperty to get the typeid of an enum inside a script. In my example this is:propName: “my_enum”propTypeId: 77AndpropName: “my_array”propTypeId: 268435535Now my question is, can I get the typeid of array<TestEnum> with only the typeid of TestEnum?
#typeid #array
typeid to array typeid
Hi, is there a way to get the typeid of an array of type T, if I have the typeid of T?Let me explain. enum TestEnum {
TEST1,
TEST2,
TEST3
}
class NewScript {
TestEnum my_enum;
array<TestEnum> my_array;
}
I'm using asITypeInfo::GetProperty to get the typeid of an enum inside a script. In my example this is:propName: “my_enum”propTypeId: 77AndpropName: “my_array”propTypeId: 268435535Now my question is, can I get the typeid of array<TestEnum> with only the typeid of TestEnum?
#typeid #array