ARPlacesBrowser

From Blue Mars Developer Guidebook

Jump to: navigation, search
There are security restrictions on this article

Contents

Overview

The Places Browser allows you to choose a city to visit, download new cities and update current cities.

Functions

Show

Show([selected_level])

Shows the Places Browser. If selected_level is specified, the level will be automatically selected.


Example

ARPlacesBrowser.Show "AR_BeachCity"

Go

Go(level)

Starts loading specified level. If the level is not ready, the Places Browser will be shown instead.

If it's not allowed to load a level returns false, otherwise returns true.

Example

ARPlacesBrowser.Go "AR_BeachCity"

StartDownload

StartDownload(level)

Starts downloading the city data specified by level.

Example

ARPlacesBrowser.StartDownload "AR_BeachCity"

IsDownloaded

IsDownloaded(level)

Returns true if the city specified by level is already downloaded on local disk and updated, other with false.

Example

if ARPlacesBrowser.IsDownloaded "AR_BeachCity" then
  ARPlacesBrowser.Go "AR_BeachCity"
else
  ARPlacesBrowser.StartDownload "AR_BeachCity"
end
Problems with this wiki page? Contact us either by: Support Email or Support Ticket System

Blue Mars Guidebook Privacy Policy
Blue Mars Guidebook Community Guidelines

Personal tools