Properties
Property |
Type |
Description |
alliance |
String |
Alliance of the player who sent the army |
armyId |
int |
army ID |
int |
|
|
hero |
String |
Hero name |
king |
String |
Lord name of the player who sent the army |
int |
Type of each wave being sent from the rally point: 1 - transport, 2 - reinforce, 3 - scout, 4 - build city, 5 - attack |
|
Resource Object |
Object describing the army resources |
|
startFieldId |
int |
FieldId of the army origination point |
targetFieldId |
int |
FieldId of the army destination point |
Troop Object |
Object describing the army troops |
selfArmies[0].targetPosName
Usage: |
city.selfArmies[0].targetPosName |
Example: |
city.selfArmies[0].targetPosName |
Description goes here.
selfArmies[0].restTime
Usage: |
city.selfArmies[0].restTime |
Example: |
city.selfArmies[0].restTime |
Description goes here.
selfArmies[0].startTime
Usage: |
city.selfArmies[0].startTime |
Example: |
city.selfArmies[0].startTime |
Description goes here.
selfArmies[0].startPosName
Usage: |
city.selfArmies[0].startPosName |
Example: |
city.selfArmies[0].startPosName |
Description goes here.
selfArmies[0].heroLevel
Usage: |
city.selfArmies[0].heroLevel |
Example: |
city.selfArmies[0].heroLevel |
Description goes here.
selfArmies[0].reachTime
Usage: |
city.selfArmies[0].reachTime |
Example: |
city.selfArmies[0].reachTime |
Description goes here.
castle.goOutForBattle
Usage: |
city.castle.goOutForBattle |
Example: |
city.castle.goOutForBattle |