mirror of
https://github.com/maierfelix/POGOserver.git
synced 2026-10-23 08:32:39 -05:00
Update
- Removed proto files - Removed protobufjs, replaced by node-pogo-protos - Remove *remaining_codename_claims* from GetPlayer packet to support new proto lib - Remove *gps_settings* from DownloadSettings for reasons described above
This commit is contained in:
@@ -36,12 +36,6 @@ export default function DownloadSettings(obj) {
|
||||
"base_bag_items": 350,
|
||||
"base_eggs": 9
|
||||
}),
|
||||
gps_settings: new proto.Settings.GpsSettings({
|
||||
driving_warning_speed_meters_per_second: 10,
|
||||
driving_warning_cooldown_minutes: 0,
|
||||
driving_speed_sample_interval_seconds: 0,
|
||||
driving_speed_sample_count: 0
|
||||
}),
|
||||
minimum_client_version: CFG.MINIMUM_CLIENT_VERSION
|
||||
})
|
||||
}).encode()
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import proto from "../proto";
|
||||
|
||||
/**
|
||||
* @param {Object} obj
|
||||
* @return {Object}
|
||||
@@ -15,12 +16,10 @@ function getPlayerDataPacket(obj) {
|
||||
max_pokemon_storage: 250,
|
||||
max_item_storage: 350,
|
||||
daily_bonus: new proto.Data.Player.DailyBonus({
|
||||
next_collected_timestamp_ms: 1470174535972,
|
||||
next_defender_bonus_collect_timestamp_ms: 1470174535972
|
||||
}),
|
||||
contact_settings: new proto.Data.Player.ContactSettings(obj.contact_settings),
|
||||
currencies: obj.currencies,
|
||||
remaining_codename_claims: 0
|
||||
currencies: obj.currencies
|
||||
})
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user