selectFloor method

void selectFloor(
  1. int identifier, {
  2. SelectCartographyOptions? options,
})

Select a floor of the current building by its Floor.identifier.

NOTE: introducing an invalid identifier may result in unexpected behaviours.

Implementation

void selectFloor(int identifier, {SelectCartographyOptions? options}) async {
  final message = {
    "identifier": identifier,
    if (options != null) "options": options.toMap(),
  };
  _sendMessage(WV_MESSAGE_CARTOGRAPHY_SELECT_FLOOR, message);
}