mapCastleBean objects reference details about a location on the map.

mapCastleBean objects can be referenced as:

The .property at the end is how you will specify which detail you are referencing. Using the table below, you can for example get the name of the city with city.name.

Properties

Property

Type

Description

lastUpdated

int

time the information in the mapCastleBean was last updated

furlough

Boolean

If player at indicated coords is in holiday, returns True, otherwise returns False

changeface

int

not sure what this indicates. seems to always be 0.

flag

String

returns the player's flag (or null if unowned/unoccupied)

canLoot

Boolean

If you can loot from the coords. Returns: True / False

canSend

Boolean

If you can send to the coords. Returns: True / False

canOccupy

Boolean

If you can occupy the coords. Returns: True / False

fieldId

id

int

Gives the FieldID of the mapCastleBean

Examples



ScriptObjects

"playerLogoUrl":"string"

"userName":"string"

"canScout":false

"zoneName":"string - name of state"

"":false

"canTrans":true

"allianceName":"string"

"name":"string"

"id": int - same as FieldId

"relation":0

"npc":false

"state":1 see player state

"prestige":int

"":true

"honor":0


ScriptObjects

Map (last edited 2013-08-02 00:40:27 by tech)