mirror of
https://github.com/maierfelix/POGOserver.git
synced 2026-07-05 17:50:57 -05:00
- 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
18 lines
285 B
JavaScript
18 lines
285 B
JavaScript
import proto from "../proto";
|
|
|
|
/**
|
|
* @param {Object}
|
|
* @return {Object}
|
|
*/
|
|
export default function DownloadUrlEntry(obj) {
|
|
|
|
return (
|
|
new proto.Data.DownloadUrlEntry({
|
|
url: obj.url,
|
|
asset_id: obj.id,
|
|
size: obj.size,
|
|
checksum: obj.checksum
|
|
})
|
|
);
|
|
|
|
} |