mirror of
https://github.com/maierfelix/POGOserver.git
synced 2026-07-04 09:11:05 -05:00
- Global shared print method - API hearbeat and reconnecting feature - Serialize avatar - Basic player authentication - New packet structure for classes - Safer url routing
20 lines
432 B
JavaScript
20 lines
432 B
JavaScript
import POGOProtos from "pokemongo-protobuf";
|
|
|
|
export default function GetAuthTicket(id) {
|
|
|
|
let buffer = ({
|
|
status_code: 53,
|
|
request_id: id,
|
|
api_url: "pgorelease.nianticlabs.com/custom",
|
|
auth_ticket: {
|
|
start: new Buffer(""),
|
|
expire_timestamp_ms: 9999999999999,
|
|
end: new Buffer("")
|
|
}
|
|
});
|
|
|
|
return (
|
|
POGOProtos.serialize(buffer, "POGOProtos.Networking.Envelopes.ResponseEnvelope")
|
|
);
|
|
|
|
} |