@Override public String[] getStatCodes() { if (codes == null) codes = CMProps.getStatCodesList( CMParms.toStringArray(GenericBuilder.GenItemCode.values()), this); return codes; }
public String[] getStatCodes() { if (codes != null) return codes; String[] MYCODES = CMProps.getStatCodesList(GenShipContainer.MYCODES, this); String[] superCodes = GenericBuilder.GENITEMCODES; codes = new String[superCodes.length + MYCODES.length]; int i = 0; for (; i < superCodes.length; i++) codes[i] = superCodes[i]; for (int x = 0; x < MYCODES.length; i++, x++) codes[i] = MYCODES[x]; return codes; }
@Override public String[] getStatCodes() { if (codes != null) return codes; final String[] MYCODES = CMProps.getStatCodesList(GenShopkeeper.MYCODES, this); final String[] superCodes = GenericBuilder.GENMOBCODES; codes = new String[superCodes.length + MYCODES.length]; int i = 0; for (; i < superCodes.length; i++) codes[i] = superCodes[i]; for (int x = 0; x < MYCODES.length; i++, x++) codes[i] = MYCODES[x]; return codes; }
@Override public String[] getStatCodes() { if (codes != null) return codes; final String[] MYCODES = CMProps.getStatCodesList(GenThinArmor.MYCODES, this); final String[] superCodes = CMParms.toStringArray(GenericBuilder.GenItemCode.values()); codes = new String[superCodes.length + MYCODES.length]; int i = 0; for (; i < superCodes.length; i++) codes[i] = superCodes[i]; for (int x = 0; x < MYCODES.length; i++, x++) codes[i] = MYCODES[x]; return codes; }
@Override public String[] getStatCodes() { if (codes == null) codes = CMProps.getStatCodesList(GenericBuilder.GENITEMCODES, this); return codes; }