MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / rmsUpdate

Method rmsUpdate

src/main/java/IE/Accounts.java:159–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157 }
158
159 public void rmsUpdate() {
160 DataOutputStream outputStream = NvStorage.CreateDataOutputStream();
161 for (int i = 0; i < getItemCount(); i++) {
162 AccountStorage.saveToDataOutputStream(getAccount(i), outputStream);
163 }
164 NvStorage.writeFileRecord(outputStream, "accnt_db", 0, true); //Account.storage
165 }
166
167 private String findBlock(String source, String needle) {
168 String startItem = "<" + needle + ">";

Callers 3

importDataMethod · 0.95
cmdOkMethod · 0.45
UserKeyExecMethod · 0.45

Calls 5

getItemCountMethod · 0.95
getAccountMethod · 0.95
writeFileRecordMethod · 0.95

Tested by

no test coverage detected