@Override
	public DataType toDataType() throws DuplicateNameException, IOException {
		String name = StructConverterUtil.parseName(ResourceType.class);
		Structure struct = new StructureDataType(name, 0);
		if (isAscii()) {
			struct.add(new StringDataType(), 4, "type", null);
		}
		else {
			struct.add(DWORD, "type", null);
		}
		struct.add(WORD, "numberOfResources", null);
		struct.add(WORD, "offsetToReferenceList", null);
		return struct;
	}
Returns the offset from the beginning of the 
resource type list to reference list for this type.
@return the offset to reference list
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/macos/rm/ResourceType.java