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

Method switchAccount

src/main/java/Account/AccountSelect.java:173–179  ·  view source on GitHub ↗
(boolean login)

Source from the content-addressed store, hash-verified

171 }
172
173 private void switchAccount(boolean login) {
174 cf.accountIndex = cursor;
175 cf.saveToStorage();
176 loadAccounts();
177 destroyView();
178 sd.roster.loadAccount(login, cursor);
179 }
180
181 public void eventOk() {
182 if (getItemCount() > 0) {

Callers 2

menuActionMethod · 0.95
eventOkMethod · 0.95

Calls 4

loadAccountsMethod · 0.95
destroyViewMethod · 0.95
loadAccountMethod · 0.80
saveToStorageMethod · 0.45

Tested by

no test coverage detected