private ClassIDType AssetEntryToClassIDType(AssetEntry info) { if (AssetEntry.IsReadTypeIndex(Header.Generation)) { RTTIBaseClassDescriptor typemeta = Metadata.Hierarchy.Types[info.TypeIndex]; return(typemeta.ClassID); } else { return(info.ClassID); } }
public ClassIDType GetClassID(long pathID) { AssetEntry info = Metadata.Objects[pathID]; if (AssetEntry.IsReadTypeIndex(Header.Generation)) { return Metadata.Hierarchy.Types[info.TypeIndex].ClassID; } else { return info.ClassID; } }