GetTypeId.GetTypeId

template GetTypeId(T)
enum GetTypeId = TypeIdMap[staticIndexOf!(T, staticMap!(GetType, TypeIdMap))].Id;

Meta