MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / saveToStorage

Method saveToStorage

src/main/java/Colors/ColorTheme.java:272–281  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

270 }
271
272 public static void saveToStorage(){
273 DataOutputStream outputStream=NvStorage.CreateDataOutputStream();
274 try {
275 for (Enumeration r=colorsContainer.elements(); r.hasMoreElements();) {
276 ColorItem c=(ColorItem)r.nextElement();
277 outputStream.writeInt(c.color);
278 }
279 } catch (IOException e) { }
280 NvStorage.writeFileRecord(outputStream, "ColorDB", 0, true);
281 }
282
283 public static String getSkin(){
284 StringBuffer body=new StringBuffer();

Callers 7

setValueMethod · 0.95
doActionMethod · 0.95
menuActionMethod · 0.95
invertSkinMethod · 0.95
loadSkinMethod · 0.95
menuActionMethod · 0.45
saveMsgCountMethod · 0.45

Calls 3

writeFileRecordMethod · 0.95
elementsMethod · 0.80

Tested by

no test coverage detected