updatePrefs static method

void updatePrefs(
  1. Position r
)

Implementation

static void updatePrefs(Position r) {
  var store = GetStorage();

  store.write("recent_user_tag", r.userTag);
  store.write("recent_beacon_id", r.userName);
  store.write("recent_in_time", r.inTime.toString());
  store.write("recent_out_time", r.outTime.toString());
  store.write("recent_doom_id", r.doomId);
  store.write("recent_user_name", r.userName);
  store.write("recent_user_rank", r.userRank);
  store.write("recent_user_room_id", r.userRoomId);
  store.write("recent_user_doom_id", r.userDoomId);
  store.write("recent_place_name", r.name);
}