-
Notifications
You must be signed in to change notification settings - Fork 69
pogobuf.Client Methods
Param | Type | Description |
---|---|---|
options | Object |
Client options (see options page for description of available options) |
Note that this page only lists the methods that deal with the client itself. The Pokémon Go API methods (which are also methods of pogobuf.Client
) are on a separate page.
Sets the specified client option to the given value. Note that not all options support changes after client initialization.
See options page for description of available options.
Param | Type | Description |
---|---|---|
option | string |
Option name |
value | any |
Option value |
Sets the player's latitude and longitude. Note that this does not actually update the player location on the server, it only sets the location to be used in following API calls. To update the location on the server you need to make an API call.
Param | Type | Description |
---|---|---|
latitude | number |
Object |
longitude | number |
The player's longitude |
accuracy | number |
The location accuracy in m (optional) |
altitude | number |
The player's altitude (optional) |
Performs client initialization and downloads needed settings from the API and hashing server.
Sets batch mode. All further API requests will be held and executed in one RPC call when batchCall
is called.
Clears the list of batched requests and aborts batch mode.
Executes any batched requests.