POGOserver/POGOProtos/Networking/Envelopes/RequestEnvelope.proto
Felix e9ccb672dc Added mongodb, many updates & bug fixes
- Added mongodb database
- Removed dumps
- Added jwt google auth decode plugin
- Added long decode plugin
- Updated protos to latest commit
- Updated readme
- Added avatar saving
- Fixed bug, where username, level and exp didnt got displayed
- Default username is "undefined"
- Clear console stdin
- Save players into db stdin
- Seperated login/register phase
- Added decode long util method
2016-08-08 22:25:28 +02:00

34 lines
922 B
Protocol Buffer
Vendored

syntax = "proto3";
package POGOProtos.Networking.Envelopes;
import "POGOProtos/Networking/Requests/Request.proto";
import "POGOProtos/Networking/Envelopes/AuthTicket.proto";
import "POGOProtos/Networking/Envelopes/Unknown6.proto";
message RequestEnvelope {
int32 status_code = 1;
uint64 request_id = 3;
repeated .POGOProtos.Networking.Requests.Request requests = 4;
// Unknown6 is required to get a response.
// For an example check https://github.com/keyphact/pgoapi/blob/75eba6b5b630841ee4f7c2ea983f15874fb0862d/pgoapi/rpc_api.py#L192-L212
.POGOProtos.Networking.Envelopes.Unknown6 unknown6 = 6;
double latitude = 7;
double longitude = 8;
double altitude = 9;
AuthInfo auth_info = 10;
.POGOProtos.Networking.Envelopes.AuthTicket auth_ticket = 11;
int64 unknown12 = 12;
message AuthInfo {
string provider = 1;
JWT token = 2;
message JWT {
string contents = 1;
int32 unknown2 = 2;
}
}
}