Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full Encounter Response #263

Merged
merged 1 commit into from
Sep 25, 2016
Merged

Full Encounter Response #263

merged 1 commit into from
Sep 25, 2016

Conversation

RedSparr0w
Copy link
Contributor

Get Full Pokemon data response when encountering a wild pokemon including

  • IV values
  • moves
  • height
  • weight

Example Response:

{
    "WildPokemon": {
        "EncounterId": {
            "low": 1929811629,
            "high": -1112951312,
            "unsigned": true
        },
        "LastModifiedMs": {
            "low": 1441925889,
            "high": 343,
            "unsigned": false
        },
        "Latitude": -36.276991062774776,
        "Longitude": 174.533891373355,
        "SpawnPointId": "6d0ce8da8c9",
        "pokemon": {
            "id": null,
            "pokemon_id": 10,
            "cp": 19,
            "stamina": 17,
            "stamina_max": 17,
            "move_1": 221,
            "move_2": 133,
            "deployed_fort_id": null,
            "owner_name": null,
            "is_egg": null,
            "egg_km_walked_target": null,
            "egg_km_walked_start": null,
            "origin": null,
            "height_m": 0.2770794928073883,
            "weight_kg": 2.614215612411499,
            "individual_attack": 14,
            "individual_defense": 14,
            "individual_stamina": 13,
            "cp_multiplier": 0.16639786958694458,
            "pokeball": null,
            "captured_cell_id": null,
            "battles_attacked": null,
            "battles_defended": null,
            "egg_incubator_id": null,
            "creation_time_ms": null,
            "num_upgrades": null,
            "additional_cp_multiplier": null,
            "favorite": null,
            "nickname": null,
            "from_fort": null
        },
        "TimeTillHiddenMs": 807523
    },
    "EncounterBackground": null,
    "EncounterStatus": 1
}

Get Full Pokemon data response when encountering a wild pokemon including
- IV values
- moves
- height
- weight

Example Response:
```json
{
	"WildPokemon": {
		"EncounterId": {
			"low": 1929811629,
			"high": -1112951312,
			"unsigned": true
		},
		"LastModifiedMs": {
			"low": 1441925889,
			"high": 343,
			"unsigned": false
		},
		"Latitude": -36.276991062774776,
		"Longitude": 174.533891373355,
		"SpawnPointId": "6d0ce8da8c9",
		"pokemon": {
			"id": null,
			"pokemon_id": 10,
			"cp": 19,
			"stamina": 17,
			"stamina_max": 17,
			"move_1": 221,
			"move_2": 133,
			"deployed_fort_id": null,
			"owner_name": null,
			"is_egg": null,
			"egg_km_walked_target": null,
			"egg_km_walked_start": null,
			"origin": null,
			"height_m": 0.2770794928073883,
			"weight_kg": 2.614215612411499,
			"individual_attack": 14,
			"individual_defense": 14,
			"individual_stamina": 13,
			"cp_multiplier": 0.16639786958694458,
			"pokeball": null,
			"captured_cell_id": null,
			"battles_attacked": null,
			"battles_defended": null,
			"egg_incubator_id": null,
			"creation_time_ms": null,
			"num_upgrades": null,
			"additional_cp_multiplier": null,
			"favorite": null,
			"nickname": null,
			"from_fort": null
		},
		"TimeTillHiddenMs": 807523
	},
	"EncounterBackground": null,
	"EncounterStatus": 1
}
```
@Metalick
Copy link

Worked perfect! Thank you! Nice job btw!

@billyriantono billyriantono merged commit b598b24 into Armax:master Sep 25, 2016
@RedSparr0w RedSparr0w deleted the patch-1 branch September 25, 2016 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants