public EntityDefinition getChildDefinition() {
		int childId = -1;
		if (varBitId != -1) {
			VarBit varBit = VarBit.cache[varBitId];
			int configId = varBit.configId;
			int lsb = varBit.leastSignificantBit;
			int msb = varBit.mostSignificantBit;
			int bit = Client.BITFIELD_MAX_VALUE[msb - lsb];
			childId = clientInstance.interfaceSettings[configId] >> lsb & bit;
		} else if (settingId != -1)
			childId = clientInstance.interfaceSettings[settingId];
		if (childId < 0 || childId >= childrenIDs.length
				|| childrenIDs[childId] == -1)
			return null;
		else
			return getDefinition(childrenIDs[childId]);
	}