diff --git a/.gitignore b/.gitignore
index 10d4dc7..cd2946a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,256 +1,47 @@
-## Ignore Visual Studio temporary files, build results, and
-## files generated by popular Visual Studio add-ons.
-
-# User-specific files
-*.suo
-*.user
-*.userosscache
-*.sln.docstates
-
-# User-specific files (MonoDevelop/Xamarin Studio)
-*.userprefs
-
-# Build results
-[Dd]ebug/
-[Dd]ebugPublic/
-[Rr]elease/
-[Rr]eleases/
-x64/
-x86/
-bld/
-[Bb]in/
-[Oo]bj/
-[Ll]og/
-
-# Visual Studio 2015 cache/options directory
-.vs/
-# Uncomment if you have tasks that create the project's static files in wwwroot
-#wwwroot/
-
-# MSTest test Results
-[Tt]est[Rr]esult*/
-[Bb]uild[Ll]og.*
-
-# NUNIT
-*.VisualState.xml
-TestResult.xml
-
-# Build Results of an ATL Project
-[Dd]ebugPS/
-[Rr]eleasePS/
-dlldata.c
-
-# DNX
-project.lock.json
-project.fragment.lock.json
-artifacts/
-
-*_i.c
-*_p.c
-*_i.h
-*.ilk
-*.meta
-*.obj
-*.pch
-*.pdb
-*.pgc
-*.pgd
-*.rsp
-*.sbr
-*.tlb
-*.tli
-*.tlh
-*.tmp
-*.tmp_proj
-*.log
-*.vspscc
-*.vssscc
-.builds
-*.pidb
-*.svclog
-*.scc
-
-# Chutzpah Test files
-_Chutzpah*
-
-# Visual C++ cache files
-ipch/
-*.aps
-*.ncb
-*.opendb
-*.opensdf
-*.sdf
-*.cachefile
-*.VC.db
-*.VC.VC.opendb
-
-# Visual Studio profiler
-*.psess
-*.vsp
-*.vspx
-*.sap
-
-# TFS 2012 Local Workspace
-$tf/
-
-# Guidance Automation Toolkit
-*.gpState
-
-# ReSharper is a .NET coding add-in
-_ReSharper*/
-*.[Rr]e[Ss]harper
-*.DotSettings.user
-
-# JustCode is a .NET coding add-in
-.JustCode
-
-# TeamCity is a build add-in
-_TeamCity*
-
-# DotCover is a Code Coverage Tool
-*.dotCover
-
-# NCrunch
-_NCrunch_*
-.*crunch*.local.xml
-nCrunchTemp_*
-
-# MightyMoose
-*.mm.*
-AutoTest.Net/
-
-# Web workbench (sass)
-.sass-cache/
-
-# Installshield output folder
-[Ee]xpress/
-
-# DocProject is a documentation generator add-in
-DocProject/buildhelp/
-DocProject/Help/*.HxT
-DocProject/Help/*.HxC
-DocProject/Help/*.hhc
-DocProject/Help/*.hhk
-DocProject/Help/*.hhp
-DocProject/Help/Html2
-DocProject/Help/html
-
-# Click-Once directory
-publish/
-
-# Publish Web Output
-*.[Pp]ublish.xml
-*.azurePubxml
-# TODO: Comment the next line if you want to checkin your web deploy settings
-# but database connection strings (with potential passwords) will be unencrypted
-*.pubxml
-*.publishproj
-
-# Microsoft Azure Web App publish settings. Comment the next line if you want to
-# checkin your Azure Web App publish settings, but sensitive information contained
-# in these scripts will be unencrypted
-PublishScripts/
-
-# NuGet Packages
-*.nupkg
-# The packages folder can be ignored because of Package Restore
-**/packages/*
-# except build/, which is used as an MSBuild target.
-!**/packages/build/
-# Uncomment if necessary however generally it will be regenerated when needed
-#!**/packages/repositories.config
-# NuGet v3's project.json files produces more ignoreable files
-*.nuget.props
-*.nuget.targets
-
-# Microsoft Azure Build Output
-csx/
-*.build.csdef
-
-# Microsoft Azure Emulator
-ecf/
-rcf/
-
-# Windows Store app package directories and files
-AppPackages/
-BundleArtifacts/
-Package.StoreAssociation.xml
-_pkginfo.txt
-
-# Visual Studio cache files
-# files ending in .cache can be ignored
-*.[Cc]ache
-# but keep track of directories ending in .cache
-!*.[Cc]ache/
-
-# Others
-ClientBin/
-~$*
-*~
-*.dbmdl
-*.dbproj.schemaview
-*.pfx
-*.publishsettings
-node_modules/
-orleans.codegen.cs
-
-# Since there are multiple workflows, uncomment next line to ignore bower_components
-# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
-#bower_components/
-
-# RIA/Silverlight projects
-Generated_Code/
-
-# Backup & report files from converting an old project file
-# to a newer Visual Studio version. Backup files are not needed,
-# because we have git ;-)
-_UpgradeReport_Files/
-Backup*/
-UpgradeLog*.XML
-UpgradeLog*.htm
-
-# SQL Server files
-*.mdf
-*.ldf
-
-# Business Intelligence projects
-*.rdl.data
-*.bim.layout
-*.bim_*.settings
-
-# Microsoft Fakes
-FakesAssemblies/
-
-# GhostDoc plugin setting file
-*.GhostDoc.xml
-
-# Node.js Tools for Visual Studio
-.ntvs_analysis.dat
-
-# Visual Studio 6 build log
-*.plg
-
-# Visual Studio 6 workspace options file
-*.opt
-
-# Visual Studio LightSwitch build output
-**/*.HTMLClient/GeneratedArtifacts
-**/*.DesktopClient/GeneratedArtifacts
-**/*.DesktopClient/ModelManifest.xml
-**/*.Server/GeneratedArtifacts
-**/*.Server/ModelManifest.xml
-_Pvt_Extensions
-
-# Paket dependency manager
-.paket/paket.exe
-paket-files/
-
-# FAKE - F# Make
-.fake/
-
-# JetBrains Rider
-.idea/
-*.sln.iml
-
-# CodeRush
-.cr/
\ No newline at end of file
+# Windows image file caches
+Thumbs.db
+ehthumbs.db
+
+# Folder config file
+Desktop.ini
+
+# Recycle Bin used on file shares
+$RECYCLE.BIN/
+
+# Windows Installer files
+*.cab
+*.msi
+*.msm
+*.msp
+
+# Windows shortcuts
+*.lnk
+
+# =========================
+# Operating System Files
+# =========================
+
+# OSX
+# =========================
+
+.DS_Store
+.AppleDouble
+.LSOverride
+
+# Thumbnails
+._*
+
+# Files that might appear in the root of a volume
+.DocumentRevisions-V100
+.fseventsd
+.Spotlight-V100
+.TemporaryItems
+.Trashes
+.VolumeIcon.icns
+
+# Directories potentially created on remote AFP share
+.AppleDB
+.AppleDesktop
+Network Trash Folder
+Temporary Items
+.apdisk
diff --git a/Data/Battle/BattleAction.cs b/Data/Battle/BattleAction.cs
index fd6612b..27f2b0d 100644
--- a/Data/Battle/BattleAction.cs
+++ b/Data/Battle/BattleAction.cs
@@ -23,10 +23,10 @@ static BattleActionReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CilQT0dPUHJvdG9zL0RhdGEvQmF0dGxlL0JhdHRsZUFjdGlvbi5wcm90bxIW",
- "UE9HT1Byb3Rvcy5EYXRhLkJhdHRsZRoqUE9HT1Byb3Rvcy9EYXRhL0JhdHRs",
- "ZS9CYXR0bGVSZXN1bHRzLnByb3RvGi1QT0dPUHJvdG9zL0RhdGEvQmF0dGxl",
- "L0JhdHRsZUFjdGlvblR5cGUucHJvdG8aLlBPR09Qcm90b3MvRGF0YS9CYXR0",
- "bGUvQmF0dGxlUGFydGljaXBhbnQucHJvdG8ihQQKDEJhdHRsZUFjdGlvbhI2",
+ "UE9HT1Byb3Rvcy5EYXRhLkJhdHRsZRotUE9HT1Byb3Rvcy9EYXRhL0JhdHRs",
+ "ZS9CYXR0bGVBY3Rpb25UeXBlLnByb3RvGi5QT0dPUHJvdG9zL0RhdGEvQmF0",
+ "dGxlL0JhdHRsZVBhcnRpY2lwYW50LnByb3RvGipQT0dPUHJvdG9zL0RhdGEv",
+ "QmF0dGxlL0JhdHRsZVJlc3VsdHMucHJvdG8ihQQKDEJhdHRsZUFjdGlvbhI2",
"CgRUeXBlGAEgASgOMiguUE9HT1Byb3Rvcy5EYXRhLkJhdHRsZS5CYXR0bGVB",
"Y3Rpb25UeXBlEhcKD2FjdGlvbl9zdGFydF9tcxgCIAEoAxITCgtkdXJhdGlv",
"bl9tcxgDIAEoBRIUCgxlbmVyZ3lfZGVsdGEYBSABKAUSFgoOYXR0YWNrZXJf",
@@ -40,7 +40,7 @@ static BattleActionReflection() {
"QmF0dGxlLkJhdHRsZVBhcnRpY2lwYW50EhkKEXRhcmdldF9wb2tlbW9uX2lk",
"GA4gASgGYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { global::POGOProtos.Data.Battle.BattleResultsReflection.Descriptor, global::POGOProtos.Data.Battle.BattleActionTypeReflection.Descriptor, global::POGOProtos.Data.Battle.BattleParticipantReflection.Descriptor, },
+ new pbr::FileDescriptor[] { global::POGOProtos.Data.Battle.BattleActionTypeReflection.Descriptor, global::POGOProtos.Data.Battle.BattleParticipantReflection.Descriptor, global::POGOProtos.Data.Battle.BattleResultsReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Data.Battle.BattleAction), global::POGOProtos.Data.Battle.BattleAction.Parser, new[]{ "Type", "ActionStartMs", "DurationMs", "EnergyDelta", "AttackerIndex", "TargetIndex", "ActivePokemonId", "PlayerJoined", "BattleResults", "DamageWindowsStartTimestampMss", "DamageWindowsEndTimestampMss", "PlayerLeft", "TargetPokemonId" }, null, null, null)
}));
diff --git a/Data/Battle/BattleLog.cs b/Data/Battle/BattleLog.cs
index bbdceea..2dd9389 100644
--- a/Data/Battle/BattleLog.cs
+++ b/Data/Battle/BattleLog.cs
@@ -23,10 +23,10 @@ static BattleLogReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiZQT0dPUHJvdG9zL0RhdGEvQmF0dGxlL0JhdHRsZUxvZy5wcm90bxIWUE9H",
- "T1Byb3Rvcy5EYXRhLkJhdHRsZRooUE9HT1Byb3Rvcy9EYXRhL0JhdHRsZS9C",
- "YXR0bGVTdGF0ZS5wcm90bxonUE9HT1Byb3Rvcy9EYXRhL0JhdHRsZS9CYXR0",
- "bGVUeXBlLnByb3RvGilQT0dPUHJvdG9zL0RhdGEvQmF0dGxlL0JhdHRsZUFj",
- "dGlvbi5wcm90byKNAgoJQmF0dGxlTG9nEjIKBXN0YXRlGAEgASgOMiMuUE9H",
+ "T1Byb3Rvcy5EYXRhLkJhdHRsZRopUE9HT1Byb3Rvcy9EYXRhL0JhdHRsZS9C",
+ "YXR0bGVBY3Rpb24ucHJvdG8aKFBPR09Qcm90b3MvRGF0YS9CYXR0bGUvQmF0",
+ "dGxlU3RhdGUucHJvdG8aJ1BPR09Qcm90b3MvRGF0YS9CYXR0bGUvQmF0dGxl",
+ "VHlwZS5wcm90byKNAgoJQmF0dGxlTG9nEjIKBXN0YXRlGAEgASgOMiMuUE9H",
"T1Byb3Rvcy5EYXRhLkJhdHRsZS5CYXR0bGVTdGF0ZRI3CgtiYXR0bGVfdHlw",
"ZRgCIAEoDjIiLlBPR09Qcm90b3MuRGF0YS5CYXR0bGUuQmF0dGxlVHlwZRIR",
"CglzZXJ2ZXJfbXMYAyABKAMSPAoOYmF0dGxlX2FjdGlvbnMYBCADKAsyJC5Q",
@@ -34,7 +34,7 @@ static BattleLogReflection() {
"c3RhcnRfdGltZXN0YW1wX21zGAUgASgDEh8KF2JhdHRsZV9lbmRfdGltZXN0",
"YW1wX21zGAYgASgDYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { global::POGOProtos.Data.Battle.BattleStateReflection.Descriptor, global::POGOProtos.Data.Battle.BattleTypeReflection.Descriptor, global::POGOProtos.Data.Battle.BattleActionReflection.Descriptor, },
+ new pbr::FileDescriptor[] { global::POGOProtos.Data.Battle.BattleActionReflection.Descriptor, global::POGOProtos.Data.Battle.BattleStateReflection.Descriptor, global::POGOProtos.Data.Battle.BattleTypeReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Data.Battle.BattleLog), global::POGOProtos.Data.Battle.BattleLog.Parser, new[]{ "State", "BattleType", "ServerMs", "BattleActions", "BattleStartTimestampMs", "BattleEndTimestampMs" }, null, null, null)
}));
diff --git a/Data/Battle/BattleResults.cs b/Data/Battle/BattleResults.cs
index 5eaa264..b3b9450 100644
--- a/Data/Battle/BattleResults.cs
+++ b/Data/Battle/BattleResults.cs
@@ -23,16 +23,16 @@ static BattleResultsReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CipQT0dPUHJvdG9zL0RhdGEvQmF0dGxlL0JhdHRsZVJlc3VsdHMucHJvdG8S",
- "FlBPR09Qcm90b3MuRGF0YS5CYXR0bGUaIlBPR09Qcm90b3MvRGF0YS9HeW0v",
- "R3ltU3RhdGUucHJvdG8aLlBPR09Qcm90b3MvRGF0YS9CYXR0bGUvQmF0dGxl",
- "UGFydGljaXBhbnQucHJvdG8i3gEKDUJhdHRsZVJlc3VsdHMSMAoJZ3ltX3N0",
+ "FlBPR09Qcm90b3MuRGF0YS5CYXR0bGUaLlBPR09Qcm90b3MvRGF0YS9CYXR0",
+ "bGUvQmF0dGxlUGFydGljaXBhbnQucHJvdG8aIlBPR09Qcm90b3MvRGF0YS9H",
+ "eW0vR3ltU3RhdGUucHJvdG8i3gEKDUJhdHRsZVJlc3VsdHMSMAoJZ3ltX3N0",
"YXRlGAEgASgLMh0uUE9HT1Byb3Rvcy5EYXRhLkd5bS5HeW1TdGF0ZRI8Cglh",
"dHRhY2tlcnMYAiADKAsyKS5QT0dPUHJvdG9zLkRhdGEuQmF0dGxlLkJhdHRs",
"ZVBhcnRpY2lwYW50EiEKGXBsYXllcl9leHBlcmllbmNlX2F3YXJkZWQYAyAD",
"KAUSIAoYbmV4dF9kZWZlbmRlcl9wb2tlbW9uX2lkGAQgASgDEhgKEGd5bV9w",
"b2ludHNfZGVsdGEYBSABKAViBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { global::POGOProtos.Data.Gym.GymStateReflection.Descriptor, global::POGOProtos.Data.Battle.BattleParticipantReflection.Descriptor, },
+ new pbr::FileDescriptor[] { global::POGOProtos.Data.Battle.BattleParticipantReflection.Descriptor, global::POGOProtos.Data.Gym.GymStateReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Data.Battle.BattleResults), global::POGOProtos.Data.Battle.BattleResults.Parser, new[]{ "GymState", "Attackers", "PlayerExperienceAwarded", "NextDefenderPokemonId", "GymPointsDelta" }, null, null, null)
}));
diff --git a/Data/Gym/GymMembership.cs b/Data/Gym/GymMembership.cs
index 704af07..55e0605 100644
--- a/Data/Gym/GymMembership.cs
+++ b/Data/Gym/GymMembership.cs
@@ -23,14 +23,14 @@ static GymMembershipReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CidQT0dPUHJvdG9zL0RhdGEvR3ltL0d5bU1lbWJlcnNoaXAucHJvdG8SE1BP",
- "R09Qcm90b3MuRGF0YS5HeW0aIVBPR09Qcm90b3MvRGF0YS9Qb2tlbW9uRGF0",
- "YS5wcm90bxowUE9HT1Byb3Rvcy9EYXRhL1BsYXllci9QbGF5ZXJQdWJsaWNQ",
- "cm9maWxlLnByb3RvIpABCg1HeW1NZW1iZXJzaGlwEjIKDHBva2Vtb25fZGF0",
+ "R09Qcm90b3MuRGF0YS5HeW0aMFBPR09Qcm90b3MvRGF0YS9QbGF5ZXIvUGxh",
+ "eWVyUHVibGljUHJvZmlsZS5wcm90bxohUE9HT1Byb3Rvcy9EYXRhL1Bva2Vt",
+ "b25EYXRhLnByb3RvIpABCg1HeW1NZW1iZXJzaGlwEjIKDHBva2Vtb25fZGF0",
"YRgBIAEoCzIcLlBPR09Qcm90b3MuRGF0YS5Qb2tlbW9uRGF0YRJLChZ0cmFp",
"bmVyX3B1YmxpY19wcm9maWxlGAIgASgLMisuUE9HT1Byb3Rvcy5EYXRhLlBs",
"YXllci5QbGF5ZXJQdWJsaWNQcm9maWxlYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { global::POGOProtos.Data.PokemonDataReflection.Descriptor, global::POGOProtos.Data.Player.PlayerPublicProfileReflection.Descriptor, },
+ new pbr::FileDescriptor[] { global::POGOProtos.Data.Player.PlayerPublicProfileReflection.Descriptor, global::POGOProtos.Data.PokemonDataReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Data.Gym.GymMembership), global::POGOProtos.Data.Gym.GymMembership.Parser, new[]{ "PokemonData", "TrainerPublicProfile" }, null, null, null)
}));
diff --git a/Data/Gym/GymState.cs b/Data/Gym/GymState.cs
index 4b26207..75c94f4 100644
--- a/Data/Gym/GymState.cs
+++ b/Data/Gym/GymState.cs
@@ -23,13 +23,13 @@ static GymStateReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiJQT0dPUHJvdG9zL0RhdGEvR3ltL0d5bVN0YXRlLnByb3RvEhNQT0dPUHJv",
- "dG9zLkRhdGEuR3ltGiJQT0dPUHJvdG9zL01hcC9Gb3J0L0ZvcnREYXRhLnBy",
- "b3RvGidQT0dPUHJvdG9zL0RhdGEvR3ltL0d5bU1lbWJlcnNoaXAucHJvdG8i",
+ "dG9zLkRhdGEuR3ltGidQT0dPUHJvdG9zL0RhdGEvR3ltL0d5bU1lbWJlcnNo",
+ "aXAucHJvdG8aIlBPR09Qcm90b3MvTWFwL0ZvcnQvRm9ydERhdGEucHJvdG8i",
"dQoIR3ltU3RhdGUSMAoJZm9ydF9kYXRhGAEgASgLMh0uUE9HT1Byb3Rvcy5N",
"YXAuRm9ydC5Gb3J0RGF0YRI3CgttZW1iZXJzaGlwcxgCIAMoCzIiLlBPR09Q",
"cm90b3MuRGF0YS5HeW0uR3ltTWVtYmVyc2hpcGIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { global::POGOProtos.Map.Fort.FortDataReflection.Descriptor, global::POGOProtos.Data.Gym.GymMembershipReflection.Descriptor, },
+ new pbr::FileDescriptor[] { global::POGOProtos.Data.Gym.GymMembershipReflection.Descriptor, global::POGOProtos.Map.Fort.FortDataReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Data.Gym.GymState), global::POGOProtos.Data.Gym.GymState.Parser, new[]{ "FortData", "Memberships" }, null, null, null)
}));
diff --git a/Data/Logs/ActionLogEntry.cs b/Data/Logs/ActionLogEntry.cs
index 97b8635..1971d15 100644
--- a/Data/Logs/ActionLogEntry.cs
+++ b/Data/Logs/ActionLogEntry.cs
@@ -23,10 +23,10 @@ static ActionLogEntryReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CilQT0dPUHJvdG9zL0RhdGEvTG9ncy9BY3Rpb25Mb2dFbnRyeS5wcm90bxIU",
- "UE9HT1Byb3Rvcy5EYXRhLkxvZ3MaL1BPR09Qcm90b3MvRGF0YS9Mb2dzL0Nh",
- "dGNoUG9rZW1vbkxvZ0VudHJ5LnByb3RvGi1QT0dPUHJvdG9zL0RhdGEvTG9n",
- "cy9Gb3J0U2VhcmNoTG9nRW50cnkucHJvdG8aL1BPR09Qcm90b3MvRGF0YS9M",
- "b2dzL0J1ZGR5UG9rZW1vbkxvZ0VudHJ5LnByb3RvIooCCg5BY3Rpb25Mb2dF",
+ "UE9HT1Byb3Rvcy5EYXRhLkxvZ3MaL1BPR09Qcm90b3MvRGF0YS9Mb2dzL0J1",
+ "ZGR5UG9rZW1vbkxvZ0VudHJ5LnByb3RvGi9QT0dPUHJvdG9zL0RhdGEvTG9n",
+ "cy9DYXRjaFBva2Vtb25Mb2dFbnRyeS5wcm90bxotUE9HT1Byb3Rvcy9EYXRh",
+ "L0xvZ3MvRm9ydFNlYXJjaExvZ0VudHJ5LnByb3RvIooCCg5BY3Rpb25Mb2dF",
"bnRyeRIUCgx0aW1lc3RhbXBfbXMYASABKAMSDQoFc2ZpZGEYAiABKAgSQwoN",
"Y2F0Y2hfcG9rZW1vbhgDIAEoCzIqLlBPR09Qcm90b3MuRGF0YS5Mb2dzLkNh",
"dGNoUG9rZW1vbkxvZ0VudHJ5SAASPwoLZm9ydF9zZWFyY2gYBCABKAsyKC5Q",
@@ -34,7 +34,7 @@ static ActionLogEntryReflection() {
"dWRkeV9wb2tlbW9uGAUgASgLMiouUE9HT1Byb3Rvcy5EYXRhLkxvZ3MuQnVk",
"ZHlQb2tlbW9uTG9nRW50cnlIAEIICgZBY3Rpb25iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { global::POGOProtos.Data.Logs.CatchPokemonLogEntryReflection.Descriptor, global::POGOProtos.Data.Logs.FortSearchLogEntryReflection.Descriptor, global::POGOProtos.Data.Logs.BuddyPokemonLogEntryReflection.Descriptor, },
+ new pbr::FileDescriptor[] { global::POGOProtos.Data.Logs.BuddyPokemonLogEntryReflection.Descriptor, global::POGOProtos.Data.Logs.CatchPokemonLogEntryReflection.Descriptor, global::POGOProtos.Data.Logs.FortSearchLogEntryReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Data.Logs.ActionLogEntry), global::POGOProtos.Data.Logs.ActionLogEntry.Parser, new[]{ "TimestampMs", "Sfida", "CatchPokemon", "FortSearch", "BuddyPokemon" }, new[]{ "Action" }, null, null)
}));
diff --git a/Data/PlayerData.cs b/Data/PlayerData.cs
index 629f609..229401b 100644
--- a/Data/PlayerData.cs
+++ b/Data/PlayerData.cs
@@ -23,14 +23,14 @@ static PlayerDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiBQT0dPUHJvdG9zL0RhdGEvUGxheWVyRGF0YS5wcm90bxIPUE9HT1Byb3Rv",
- "cy5EYXRhGiRQT0dPUHJvdG9zL0VudW1zL1R1dG9yaWFsU3RhdGUucHJvdG8a",
- "KVBPR09Qcm90b3MvRGF0YS9QbGF5ZXIvUGxheWVyQXZhdGFyLnByb3RvGidQ",
- "T0dPUHJvdG9zL0RhdGEvUGxheWVyL0RhaWx5Qm9udXMucHJvdG8aKlBPR09Q",
- "cm90b3MvRGF0YS9QbGF5ZXIvRXF1aXBwZWRCYWRnZS5wcm90bxosUE9HT1By",
- "b3Rvcy9EYXRhL1BsYXllci9Db250YWN0U2V0dGluZ3MucHJvdG8aJVBPR09Q",
- "cm90b3MvRGF0YS9QbGF5ZXIvQ3VycmVuY3kucHJvdG8aIlBPR09Qcm90b3Mv",
- "RGF0YS9CdWRkeVBva2Vtb24ucHJvdG8aIFBPR09Qcm90b3MvRW51bXMvVGVh",
- "bUNvbG9yLnByb3RvItwECgpQbGF5ZXJEYXRhEh0KFWNyZWF0aW9uX3RpbWVz",
+ "cy5EYXRhGiJQT0dPUHJvdG9zL0RhdGEvQnVkZHlQb2tlbW9uLnByb3RvGixQ",
+ "T0dPUHJvdG9zL0RhdGEvUGxheWVyL0NvbnRhY3RTZXR0aW5ncy5wcm90bxol",
+ "UE9HT1Byb3Rvcy9EYXRhL1BsYXllci9DdXJyZW5jeS5wcm90bxonUE9HT1By",
+ "b3Rvcy9EYXRhL1BsYXllci9EYWlseUJvbnVzLnByb3RvGipQT0dPUHJvdG9z",
+ "L0RhdGEvUGxheWVyL0VxdWlwcGVkQmFkZ2UucHJvdG8aKVBPR09Qcm90b3Mv",
+ "RGF0YS9QbGF5ZXIvUGxheWVyQXZhdGFyLnByb3RvGiBQT0dPUHJvdG9zL0Vu",
+ "dW1zL1RlYW1Db2xvci5wcm90bxokUE9HT1Byb3Rvcy9FbnVtcy9UdXRvcmlh",
+ "bFN0YXRlLnByb3RvItwECgpQbGF5ZXJEYXRhEh0KFWNyZWF0aW9uX3RpbWVz",
"dGFtcF9tcxgBIAEoAxIQCgh1c2VybmFtZRgCIAEoCRIpCgR0ZWFtGAUgASgO",
"MhsuUE9HT1Byb3Rvcy5FbnVtcy5UZWFtQ29sb3ISOwoOdHV0b3JpYWxfc3Rh",
"dGUYByADKA4yHy5QT0dPUHJvdG9zLkVudW1zLlR1dG9yaWFsU3RhdGVCAhAB",
@@ -45,7 +45,7 @@ static PlayerDataReflection() {
"aW5nX2NvZGVuYW1lX2NsYWltcxgPIAEoBRI0Cg1idWRkeV9wb2tlbW9uGBAg",
"ASgLMh0uUE9HT1Byb3Rvcy5EYXRhLkJ1ZGR5UG9rZW1vbmIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { global::POGOProtos.Enums.TutorialStateReflection.Descriptor, global::POGOProtos.Data.Player.PlayerAvatarReflection.Descriptor, global::POGOProtos.Data.Player.DailyBonusReflection.Descriptor, global::POGOProtos.Data.Player.EquippedBadgeReflection.Descriptor, global::POGOProtos.Data.Player.ContactSettingsReflection.Descriptor, global::POGOProtos.Data.Player.CurrencyReflection.Descriptor, global::POGOProtos.Data.BuddyPokemonReflection.Descriptor, global::POGOProtos.Enums.TeamColorReflection.Descriptor, },
+ new pbr::FileDescriptor[] { global::POGOProtos.Data.BuddyPokemonReflection.Descriptor, global::POGOProtos.Data.Player.ContactSettingsReflection.Descriptor, global::POGOProtos.Data.Player.CurrencyReflection.Descriptor, global::POGOProtos.Data.Player.DailyBonusReflection.Descriptor, global::POGOProtos.Data.Player.EquippedBadgeReflection.Descriptor, global::POGOProtos.Data.Player.PlayerAvatarReflection.Descriptor, global::POGOProtos.Enums.TeamColorReflection.Descriptor, global::POGOProtos.Enums.TutorialStateReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Data.PlayerData), global::POGOProtos.Data.PlayerData.Parser, new[]{ "CreationTimestampMs", "Username", "Team", "TutorialState", "Avatar", "MaxPokemonStorage", "MaxItemStorage", "DailyBonus", "EquippedBadge", "ContactSettings", "Currencies", "RemainingCodenameClaims", "BuddyPokemon" }, null, null, null)
}));
diff --git a/Inventory/EggIncubator.cs b/Inventory/EggIncubator.cs
index b426514..e875ed8 100644
--- a/Inventory/EggIncubator.cs
+++ b/Inventory/EggIncubator.cs
@@ -23,16 +23,16 @@ static EggIncubatorReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CidQT0dPUHJvdG9zL0ludmVudG9yeS9FZ2dJbmN1YmF0b3IucHJvdG8SFFBP",
- "R09Qcm90b3MuSW52ZW50b3J5GiZQT0dPUHJvdG9zL0ludmVudG9yeS9JdGVt",
- "L0l0ZW1JZC5wcm90bxorUE9HT1Byb3Rvcy9JbnZlbnRvcnkvRWdnSW5jdWJh",
- "dG9yVHlwZS5wcm90byLtAQoMRWdnSW5jdWJhdG9yEgoKAmlkGAEgASgJEjIK",
+ "R09Qcm90b3MuSW52ZW50b3J5GitQT0dPUHJvdG9zL0ludmVudG9yeS9FZ2dJ",
+ "bmN1YmF0b3JUeXBlLnByb3RvGiZQT0dPUHJvdG9zL0ludmVudG9yeS9JdGVt",
+ "L0l0ZW1JZC5wcm90byLtAQoMRWdnSW5jdWJhdG9yEgoKAmlkGAEgASgJEjIK",
"B2l0ZW1faWQYAiABKA4yIS5QT0dPUHJvdG9zLkludmVudG9yeS5JdGVtLkl0",
"ZW1JZBI+Cg5pbmN1YmF0b3JfdHlwZRgDIAEoDjImLlBPR09Qcm90b3MuSW52",
"ZW50b3J5LkVnZ0luY3ViYXRvclR5cGUSFgoOdXNlc19yZW1haW5pbmcYBCAB",
"KAUSEgoKcG9rZW1vbl9pZBgFIAEoBBIXCg9zdGFydF9rbV93YWxrZWQYBiAB",
"KAESGAoQdGFyZ2V0X2ttX3dhbGtlZBgHIAEoAWIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { global::POGOProtos.Inventory.Item.ItemIdReflection.Descriptor, global::POGOProtos.Inventory.EggIncubatorTypeReflection.Descriptor, },
+ new pbr::FileDescriptor[] { global::POGOProtos.Inventory.EggIncubatorTypeReflection.Descriptor, global::POGOProtos.Inventory.Item.ItemIdReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Inventory.EggIncubator), global::POGOProtos.Inventory.EggIncubator.Parser, new[]{ "Id", "ItemId", "IncubatorType", "UsesRemaining", "PokemonId", "StartKmWalked", "TargetKmWalked" }, null, null, null)
}));
diff --git a/Inventory/InventoryItemData.cs b/Inventory/InventoryItemData.cs
index d328a83..f96eb4a 100644
--- a/Inventory/InventoryItemData.cs
+++ b/Inventory/InventoryItemData.cs
@@ -23,16 +23,16 @@ static InventoryItemDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CixQT0dPUHJvdG9zL0ludmVudG9yeS9JbnZlbnRvcnlJdGVtRGF0YS5wcm90",
- "bxIUUE9HT1Byb3Rvcy5JbnZlbnRvcnkaKFBPR09Qcm90b3MvSW52ZW50b3J5",
- "L0l0ZW0vSXRlbURhdGEucHJvdG8aJ1BPR09Qcm90b3MvSW52ZW50b3J5L0Fw",
- "cGxpZWRJdGVtcy5wcm90bxooUE9HT1Byb3Rvcy9JbnZlbnRvcnkvRWdnSW5j",
- "dWJhdG9ycy5wcm90bxogUE9HT1Byb3Rvcy9JbnZlbnRvcnkvQ2FuZHkucHJv",
- "dG8aLFBPR09Qcm90b3MvSW52ZW50b3J5L0ludmVudG9yeVVwZ3JhZGVzLnBy",
- "b3RvGiFQT0dPUHJvdG9zL0RhdGEvUG9rZW1vbkRhdGEucHJvdG8aIlBPR09Q",
- "cm90b3MvRGF0YS9Qb2tlZGV4RW50cnkucHJvdG8aKFBPR09Qcm90b3MvRGF0",
- "YS9QbGF5ZXIvUGxheWVyU3RhdHMucHJvdG8aK1BPR09Qcm90b3MvRGF0YS9Q",
- "bGF5ZXIvUGxheWVyQ3VycmVuY3kucHJvdG8aKVBPR09Qcm90b3MvRGF0YS9Q",
- "bGF5ZXIvUGxheWVyQ2FtZXJhLnByb3RvItIEChFJbnZlbnRvcnlJdGVtRGF0",
+ "bxIUUE9HT1Byb3Rvcy5JbnZlbnRvcnkaKVBPR09Qcm90b3MvRGF0YS9QbGF5",
+ "ZXIvUGxheWVyQ2FtZXJhLnByb3RvGitQT0dPUHJvdG9zL0RhdGEvUGxheWVy",
+ "L1BsYXllckN1cnJlbmN5LnByb3RvGihQT0dPUHJvdG9zL0RhdGEvUGxheWVy",
+ "L1BsYXllclN0YXRzLnByb3RvGiJQT0dPUHJvdG9zL0RhdGEvUG9rZWRleEVu",
+ "dHJ5LnByb3RvGiFQT0dPUHJvdG9zL0RhdGEvUG9rZW1vbkRhdGEucHJvdG8a",
+ "J1BPR09Qcm90b3MvSW52ZW50b3J5L0FwcGxpZWRJdGVtcy5wcm90bxogUE9H",
+ "T1Byb3Rvcy9JbnZlbnRvcnkvQ2FuZHkucHJvdG8aKFBPR09Qcm90b3MvSW52",
+ "ZW50b3J5L0VnZ0luY3ViYXRvcnMucHJvdG8aLFBPR09Qcm90b3MvSW52ZW50",
+ "b3J5L0ludmVudG9yeVVwZ3JhZGVzLnByb3RvGihQT0dPUHJvdG9zL0ludmVu",
+ "dG9yeS9JdGVtL0l0ZW1EYXRhLnByb3RvItIEChFJbnZlbnRvcnlJdGVtRGF0",
"YRIyCgxwb2tlbW9uX2RhdGEYASABKAsyHC5QT0dPUHJvdG9zLkRhdGEuUG9r",
"ZW1vbkRhdGESMQoEaXRlbRgCIAEoCzIjLlBPR09Qcm90b3MuSW52ZW50b3J5",
"Lkl0ZW0uSXRlbURhdGESNAoNcG9rZWRleF9lbnRyeRgDIAEoCzIdLlBPR09Q",
@@ -47,7 +47,7 @@ static InventoryItemDataReflection() {
"MiMuUE9HT1Byb3Rvcy5JbnZlbnRvcnkuRWdnSW5jdWJhdG9ycxIqCgVjYW5k",
"eRgKIAEoCzIbLlBPR09Qcm90b3MuSW52ZW50b3J5LkNhbmR5YgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { global::POGOProtos.Inventory.Item.ItemDataReflection.Descriptor, global::POGOProtos.Inventory.AppliedItemsReflection.Descriptor, global::POGOProtos.Inventory.EggIncubatorsReflection.Descriptor, global::POGOProtos.Inventory.CandyReflection.Descriptor, global::POGOProtos.Inventory.InventoryUpgradesReflection.Descriptor, global::POGOProtos.Data.PokemonDataReflection.Descriptor, global::POGOProtos.Data.PokedexEntryReflection.Descriptor, global::POGOProtos.Data.Player.PlayerStatsReflection.Descriptor, global::POGOProtos.Data.Player.PlayerCurrencyReflection.Descriptor, global::POGOProtos.Data.Player.PlayerCameraReflection.Descriptor, },
+ new pbr::FileDescriptor[] { global::POGOProtos.Data.Player.PlayerCameraReflection.Descriptor, global::POGOProtos.Data.Player.PlayerCurrencyReflection.Descriptor, global::POGOProtos.Data.Player.PlayerStatsReflection.Descriptor, global::POGOProtos.Data.PokedexEntryReflection.Descriptor, global::POGOProtos.Data.PokemonDataReflection.Descriptor, global::POGOProtos.Inventory.AppliedItemsReflection.Descriptor, global::POGOProtos.Inventory.CandyReflection.Descriptor, global::POGOProtos.Inventory.EggIncubatorsReflection.Descriptor, global::POGOProtos.Inventory.InventoryUpgradesReflection.Descriptor, global::POGOProtos.Inventory.Item.ItemDataReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Inventory.InventoryItemData), global::POGOProtos.Inventory.InventoryItemData.Parser, new[]{ "PokemonData", "Item", "PokedexEntry", "PlayerStats", "PlayerCurrency", "PlayerCamera", "InventoryUpgrades", "AppliedItems", "EggIncubators", "Candy" }, null, null, null)
}));
diff --git a/Inventory/InventoryUpgrade.cs b/Inventory/InventoryUpgrade.cs
index 93dff08..cb08b95 100644
--- a/Inventory/InventoryUpgrade.cs
+++ b/Inventory/InventoryUpgrade.cs
@@ -23,15 +23,15 @@ static InventoryUpgradeReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CitQT0dPUHJvdG9zL0ludmVudG9yeS9JbnZlbnRvcnlVcGdyYWRlLnByb3Rv",
- "EhRQT0dPUHJvdG9zLkludmVudG9yeRomUE9HT1Byb3Rvcy9JbnZlbnRvcnkv",
- "SXRlbS9JdGVtSWQucHJvdG8aL1BPR09Qcm90b3MvSW52ZW50b3J5L0ludmVu",
- "dG9yeVVwZ3JhZGVUeXBlLnByb3RvIqQBChBJbnZlbnRvcnlVcGdyYWRlEjIK",
+ "EhRQT0dPUHJvdG9zLkludmVudG9yeRovUE9HT1Byb3Rvcy9JbnZlbnRvcnkv",
+ "SW52ZW50b3J5VXBncmFkZVR5cGUucHJvdG8aJlBPR09Qcm90b3MvSW52ZW50",
+ "b3J5L0l0ZW0vSXRlbUlkLnByb3RvIqQBChBJbnZlbnRvcnlVcGdyYWRlEjIK",
"B2l0ZW1faWQYASABKA4yIS5QT0dPUHJvdG9zLkludmVudG9yeS5JdGVtLkl0",
"ZW1JZBJACgx1cGdyYWRlX3R5cGUYAiABKA4yKi5QT0dPUHJvdG9zLkludmVu",
"dG9yeS5JbnZlbnRvcnlVcGdyYWRlVHlwZRIaChJhZGRpdGlvbmFsX3N0b3Jh",
"Z2UYAyABKAViBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { global::POGOProtos.Inventory.Item.ItemIdReflection.Descriptor, global::POGOProtos.Inventory.InventoryUpgradeTypeReflection.Descriptor, },
+ new pbr::FileDescriptor[] { global::POGOProtos.Inventory.InventoryUpgradeTypeReflection.Descriptor, global::POGOProtos.Inventory.Item.ItemIdReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Inventory.InventoryUpgrade), global::POGOProtos.Inventory.InventoryUpgrade.Parser, new[]{ "ItemId", "UpgradeType", "AdditionalStorage" }, null, null, null)
}));
diff --git a/Map/Fort/FortData.cs b/Map/Fort/FortData.cs
index d84e9ab..22f8294 100644
--- a/Map/Fort/FortData.cs
+++ b/Map/Fort/FortData.cs
@@ -25,11 +25,11 @@ static FortDataReflection() {
"CiJQT0dPUHJvdG9zL01hcC9Gb3J0L0ZvcnREYXRhLnByb3RvEhNQT0dPUHJv",
"dG9zLk1hcC5Gb3J0GiBQT0dPUHJvdG9zL0VudW1zL1Bva2Vtb25JZC5wcm90",
"bxogUE9HT1Byb3Rvcy9FbnVtcy9UZWFtQ29sb3IucHJvdG8aJlBPR09Qcm90",
- "b3MvSW52ZW50b3J5L0l0ZW0vSXRlbUlkLnByb3RvGiJQT0dPUHJvdG9zL01h",
- "cC9Gb3J0L0ZvcnRUeXBlLnByb3RvGiVQT0dPUHJvdG9zL01hcC9Gb3J0L0Zv",
- "cnRTcG9uc29yLnByb3RvGitQT0dPUHJvdG9zL01hcC9Gb3J0L0ZvcnRSZW5k",
- "ZXJpbmdUeXBlLnByb3RvGiZQT0dPUHJvdG9zL01hcC9Gb3J0L0ZvcnRMdXJl",
- "SW5mby5wcm90byLeBAoIRm9ydERhdGESCgoCaWQYASABKAkSIgoabGFzdF9t",
+ "b3MvSW52ZW50b3J5L0l0ZW0vSXRlbUlkLnByb3RvGiZQT0dPUHJvdG9zL01h",
+ "cC9Gb3J0L0ZvcnRMdXJlSW5mby5wcm90bxorUE9HT1Byb3Rvcy9NYXAvRm9y",
+ "dC9Gb3J0UmVuZGVyaW5nVHlwZS5wcm90bxolUE9HT1Byb3Rvcy9NYXAvRm9y",
+ "dC9Gb3J0U3BvbnNvci5wcm90bxoiUE9HT1Byb3Rvcy9NYXAvRm9ydC9Gb3J0",
+ "VHlwZS5wcm90byLeBAoIRm9ydERhdGESCgoCaWQYASABKAkSIgoabGFzdF9t",
"b2RpZmllZF90aW1lc3RhbXBfbXMYAiABKAMSEAoIbGF0aXR1ZGUYAyABKAES",
"EQoJbG9uZ2l0dWRlGAQgASgBEg8KB2VuYWJsZWQYCCABKAgSKwoEdHlwZRgJ",
"IAEoDjIdLlBPR09Qcm90b3MuTWFwLkZvcnQuRm9ydFR5cGUSMgoNb3duZWRf",
@@ -44,7 +44,7 @@ static FortDataReflection() {
"b3J0LkZvcnRTcG9uc29yEj4KDnJlbmRlcmluZ190eXBlGBAgASgOMiYuUE9H",
"T1Byb3Rvcy5NYXAuRm9ydC5Gb3J0UmVuZGVyaW5nVHlwZWIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { global::POGOProtos.Enums.PokemonIdReflection.Descriptor, global::POGOProtos.Enums.TeamColorReflection.Descriptor, global::POGOProtos.Inventory.Item.ItemIdReflection.Descriptor, global::POGOProtos.Map.Fort.FortTypeReflection.Descriptor, global::POGOProtos.Map.Fort.FortSponsorReflection.Descriptor, global::POGOProtos.Map.Fort.FortRenderingTypeReflection.Descriptor, global::POGOProtos.Map.Fort.FortLureInfoReflection.Descriptor, },
+ new pbr::FileDescriptor[] { global::POGOProtos.Enums.PokemonIdReflection.Descriptor, global::POGOProtos.Enums.TeamColorReflection.Descriptor, global::POGOProtos.Inventory.Item.ItemIdReflection.Descriptor, global::POGOProtos.Map.Fort.FortLureInfoReflection.Descriptor, global::POGOProtos.Map.Fort.FortRenderingTypeReflection.Descriptor, global::POGOProtos.Map.Fort.FortSponsorReflection.Descriptor, global::POGOProtos.Map.Fort.FortTypeReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Map.Fort.FortData), global::POGOProtos.Map.Fort.FortData.Parser, new[]{ "Id", "LastModifiedTimestampMs", "Latitude", "Longitude", "Enabled", "Type", "OwnedByTeam", "GuardPokemonId", "GuardPokemonCp", "GymPoints", "IsInBattle", "ActiveFortModifier", "LureInfo", "CooldownCompleteTimestampMs", "Sponsor", "RenderingType" }, null, null, null)
}));
diff --git a/Map/MapCell.cs b/Map/MapCell.cs
index 53c70ae..7b9b95d 100644
--- a/Map/MapCell.cs
+++ b/Map/MapCell.cs
@@ -23,12 +23,12 @@ static MapCellReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChxQT0dPUHJvdG9zL01hcC9NYXBDZWxsLnByb3RvEg5QT0dPUHJvdG9zLk1h",
- "cBofUE9HT1Byb3Rvcy9NYXAvU3Bhd25Qb2ludC5wcm90bxoiUE9HT1Byb3Rv",
- "cy9NYXAvRm9ydC9Gb3J0RGF0YS5wcm90bxolUE9HT1Byb3Rvcy9NYXAvRm9y",
- "dC9Gb3J0U3VtbWFyeS5wcm90bxoqUE9HT1Byb3Rvcy9NYXAvUG9rZW1vbi9O",
- "ZWFyYnlQb2tlbW9uLnByb3RvGihQT0dPUHJvdG9zL01hcC9Qb2tlbW9uL1dp",
- "bGRQb2tlbW9uLnByb3RvGidQT0dPUHJvdG9zL01hcC9Qb2tlbW9uL01hcFBv",
- "a2Vtb24ucHJvdG8igQQKB01hcENlbGwSEgoKczJfY2VsbF9pZBgBIAEoBBIc",
+ "cBoiUE9HT1Byb3Rvcy9NYXAvRm9ydC9Gb3J0RGF0YS5wcm90bxolUE9HT1By",
+ "b3Rvcy9NYXAvRm9ydC9Gb3J0U3VtbWFyeS5wcm90bxonUE9HT1Byb3Rvcy9N",
+ "YXAvUG9rZW1vbi9NYXBQb2tlbW9uLnByb3RvGipQT0dPUHJvdG9zL01hcC9Q",
+ "b2tlbW9uL05lYXJieVBva2Vtb24ucHJvdG8aKFBPR09Qcm90b3MvTWFwL1Bv",
+ "a2Vtb24vV2lsZFBva2Vtb24ucHJvdG8aH1BPR09Qcm90b3MvTWFwL1NwYXdu",
+ "UG9pbnQucHJvdG8igQQKB01hcENlbGwSEgoKczJfY2VsbF9pZBgBIAEoBBIc",
"ChRjdXJyZW50X3RpbWVzdGFtcF9tcxgCIAEoAxIsCgVmb3J0cxgDIAMoCzId",
"LlBPR09Qcm90b3MuTWFwLkZvcnQuRm9ydERhdGESMAoMc3Bhd25fcG9pbnRz",
"GAQgAygLMhouUE9HT1Byb3Rvcy5NYXAuU3Bhd25Qb2ludBIXCg9kZWxldGVk",
@@ -41,7 +41,7 @@ static MapCellReflection() {
"b24uTWFwUG9rZW1vbhI+Cg9uZWFyYnlfcG9rZW1vbnMYCyADKAsyJS5QT0dP",
"UHJvdG9zLk1hcC5Qb2tlbW9uLk5lYXJieVBva2Vtb25iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { global::POGOProtos.Map.SpawnPointReflection.Descriptor, global::POGOProtos.Map.Fort.FortDataReflection.Descriptor, global::POGOProtos.Map.Fort.FortSummaryReflection.Descriptor, global::POGOProtos.Map.Pokemon.NearbyPokemonReflection.Descriptor, global::POGOProtos.Map.Pokemon.WildPokemonReflection.Descriptor, global::POGOProtos.Map.Pokemon.MapPokemonReflection.Descriptor, },
+ new pbr::FileDescriptor[] { global::POGOProtos.Map.Fort.FortDataReflection.Descriptor, global::POGOProtos.Map.Fort.FortSummaryReflection.Descriptor, global::POGOProtos.Map.Pokemon.MapPokemonReflection.Descriptor, global::POGOProtos.Map.Pokemon.NearbyPokemonReflection.Descriptor, global::POGOProtos.Map.Pokemon.WildPokemonReflection.Descriptor, global::POGOProtos.Map.SpawnPointReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Map.MapCell), global::POGOProtos.Map.MapCell.Parser, new[]{ "S2CellId", "CurrentTimestampMs", "Forts", "SpawnPoints", "DeletedObjects", "IsTruncatedList", "FortSummaries", "DecimatedSpawnPoints", "WildPokemons", "CatchablePokemons", "NearbyPokemons" }, null, null, null)
}));
diff --git a/Networking/Envelopes/POGOProtosNetworkingEnvelopes.cs b/Networking/Envelopes/POGOProtosNetworkingEnvelopes.cs
deleted file mode 100644
index bad1355..0000000
--- a/Networking/Envelopes/POGOProtosNetworkingEnvelopes.cs
+++ /dev/null
@@ -1,2504 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: POGOProtos.Networking.Envelopes.proto
-#pragma warning disable 1591, 0612, 3021
-#region Designer generated code
-
-using pb = global::Google.Protobuf;
-using pbc = global::Google.Protobuf.Collections;
-using pbr = global::Google.Protobuf.Reflection;
-using scg = global::System.Collections.Generic;
-namespace POGOProtos.Networking.Envelopes {
-
- /// Holder for reflection information generated from POGOProtos.Networking.Envelopes.proto
- public static partial class POGOProtosNetworkingEnvelopesReflection {
-
- #region Descriptor
- /// File descriptor for POGOProtos.Networking.Envelopes.proto
- public static pbr::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbr::FileDescriptor descriptor;
-
- static POGOProtosNetworkingEnvelopesReflection() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- string.Concat(
- "CiVQT0dPUHJvdG9zLk5ldHdvcmtpbmcuRW52ZWxvcGVzLnByb3RvEh9QT0dP",
- "UHJvdG9zLk5ldHdvcmtpbmcuRW52ZWxvcGVzGiRQT0dPUHJvdG9zLk5ldHdv",
- "cmtpbmcuUmVxdWVzdHMucHJvdG8aHFBPR09Qcm90b3MuRGF0YS5QbGF5ZXIu",
- "cHJvdG8aH1BPR09Qcm90b3MuSW52ZW50b3J5Lkl0ZW0ucHJvdG8iRQoKQXV0",
- "aFRpY2tldBINCgVzdGFydBgBIAEoDBIbChNleHBpcmVfdGltZXN0YW1wX21z",
- "GAIgASgEEgsKA2VuZBgDIAEoDCKkBAoPUmVxdWVzdEVudmVsb3BlEhMKC3N0",
- "YXR1c19jb2RlGAEgASgFEhIKCnJlcXVlc3RfaWQYAyABKAQSOQoIcmVxdWVz",
- "dHMYBCADKAsyJy5QT0dPUHJvdG9zLk5ldHdvcmtpbmcuUmVxdWVzdHMuUmVx",
- "dWVzdBI7Cgh1bmtub3duNhgGIAMoCzIpLlBPR09Qcm90b3MuTmV0d29ya2lu",
- "Zy5FbnZlbG9wZXMuVW5rbm93bjYSEAoIbGF0aXR1ZGUYByABKAESEQoJbG9u",
- "Z2l0dWRlGAggASgBEhAKCGFsdGl0dWRlGAkgASgBEkwKCWF1dGhfaW5mbxgK",
- "IAEoCzI5LlBPR09Qcm90b3MuTmV0d29ya2luZy5FbnZlbG9wZXMuUmVxdWVz",
- "dEVudmVsb3BlLkF1dGhJbmZvEkAKC2F1dGhfdGlja2V0GAsgASgLMisuUE9H",
- "T1Byb3Rvcy5OZXR3b3JraW5nLkVudmVsb3Blcy5BdXRoVGlja2V0EhEKCXVu",
- "a25vd24xMhgMIAEoAxqVAQoIQXV0aEluZm8SEAoIcHJvdmlkZXIYASABKAkS",
- "TAoFdG9rZW4YAiABKAsyPS5QT0dPUHJvdG9zLk5ldHdvcmtpbmcuRW52ZWxv",
- "cGVzLlJlcXVlc3RFbnZlbG9wZS5BdXRoSW5mby5KV1QaKQoDSldUEhAKCGNv",
- "bnRlbnRzGAEgASgJEhAKCHVua25vd24yGAIgASgFIrgCChBSZXNwb25zZUVu",
- "dmVsb3BlEhMKC3N0YXR1c19jb2RlGAEgASgFEhIKCnJlcXVlc3RfaWQYAiAB",
- "KAQSDwoHYXBpX3VybBgDIAEoCRJDCgh1bmtub3duNhgGIAMoCzIxLlBPR09Q",
- "cm90b3MuTmV0d29ya2luZy5FbnZlbG9wZXMuVW5rbm93bjZSZXNwb25zZRJA",
- "CgthdXRoX3RpY2tldBgHIAEoCzIrLlBPR09Qcm90b3MuTmV0d29ya2luZy5F",
- "bnZlbG9wZXMuQXV0aFRpY2tldBIPCgdyZXR1cm5zGGQgAygMEg0KBWVycm9y",
- "GGUgASgJGkMKCFVua25vd243EhEKCXVua25vd243MRgBIAEoDBIRCgl1bmtu",
- "b3duNzIYAiABKAMSEQoJdW5rbm93bjczGAMgASgMIqYFChBVbmtub3duNlJl",
- "c3BvbnNlEhUKDXJlc3BvbnNlX3R5cGUYASABKAUSTAoIdW5rbm93bjIYAiAB",
- "KAsyOi5QT0dPUHJvdG9zLk5ldHdvcmtpbmcuRW52ZWxvcGVzLlVua25vd242",
- "UmVzcG9uc2UuVW5rbm93bjIarAQKCFVua25vd24yEhAKCHVua25vd24xGAEg",
- "ASgEElMKBWl0ZW1zGAIgAygLMkQuUE9HT1Byb3Rvcy5OZXR3b3JraW5nLkVu",
- "dmVsb3Blcy5Vbmtub3duNlJlc3BvbnNlLlVua25vd24yLlN0b3JlSXRlbRI7",
- "ChFwbGF5ZXJfY3VycmVuY2llcxgDIAMoCzIgLlBPR09Qcm90b3MuRGF0YS5Q",
- "bGF5ZXIuQ3VycmVuY3kSEAoIdW5rbm93bjQYBCABKAka6QIKCVN0b3JlSXRl",
- "bRIPCgdpdGVtX2lkGAEgASgJEg4KBmlzX2lhcBgCIAEoCBI5Cg9jdXJyZW5j",
- "eV90b19idXkYAyABKAsyIC5QT0dPUHJvdG9zLkRhdGEuUGxheWVyLkN1cnJl",
- "bmN5EjkKD3lpZWxkc19jdXJyZW5jeRgEIAEoCzIgLlBPR09Qcm90b3MuRGF0",
- "YS5QbGF5ZXIuQ3VycmVuY3kSOAoLeWllbGRzX2l0ZW0YBSABKAsyIy5QT0dP",
- "UHJvdG9zLkludmVudG9yeS5JdGVtLkl0ZW1EYXRhElYKBHRhZ3MYBiADKAsy",
- "SC5QT0dPUHJvdG9zLk5ldHdvcmtpbmcuRW52ZWxvcGVzLlVua25vd242UmVz",
- "cG9uc2UuVW5rbm93bjIuU3RvcmVJdGVtLlRhZxIQCgh1bmtub3duNxgHIAEo",
- "BRohCgNUYWcSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJIoQBCghVbmtu",
- "b3duNhIUCgxyZXF1ZXN0X3R5cGUYASABKAUSRAoIdW5rbm93bjIYAiABKAsy",
- "Mi5QT0dPUHJvdG9zLk5ldHdvcmtpbmcuRW52ZWxvcGVzLlVua25vd242LlVu",
- "a25vd24yGhwKCFVua25vd24yEhAKCHVua25vd24xGAEgASgMUABQAVACYgZw",
- "cm90bzM="));
- descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { global::POGOProtos.Networking.Requests.POGOProtosNetworkingRequestsReflection.Descriptor, global::POGOProtos.Data.Player.POGOProtosDataPlayerReflection.Descriptor, global::POGOProtos.Inventory.Item.POGOProtosInventoryItemReflection.Descriptor, },
- new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.AuthTicket), global::POGOProtos.Networking.Envelopes.AuthTicket.Parser, new[]{ "Start", "ExpireTimestampMs", "End" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.RequestEnvelope), global::POGOProtos.Networking.Envelopes.RequestEnvelope.Parser, new[]{ "StatusCode", "RequestId", "Requests", "Unknown6", "Latitude", "Longitude", "Altitude", "AuthInfo", "AuthTicket", "Unknown12" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.AuthInfo), global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.AuthInfo.Parser, new[]{ "Provider", "Token" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.AuthInfo.Types.JWT), global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.AuthInfo.Types.JWT.Parser, new[]{ "Contents", "Unknown2" }, null, null, null)})}),
- new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.ResponseEnvelope), global::POGOProtos.Networking.Envelopes.ResponseEnvelope.Parser, new[]{ "StatusCode", "RequestId", "ApiUrl", "Unknown6", "AuthTicket", "Returns", "Error" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.ResponseEnvelope.Types.Unknown7), global::POGOProtos.Networking.Envelopes.ResponseEnvelope.Types.Unknown7.Parser, new[]{ "Unknown71", "Unknown72", "Unknown73" }, null, null, null)}),
- new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.Unknown6Response), global::POGOProtos.Networking.Envelopes.Unknown6Response.Parser, new[]{ "ResponseType", "Unknown2" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2), global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2.Parser, new[]{ "Unknown1", "Items", "PlayerCurrencies", "Unknown4" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2.Types.StoreItem), global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2.Types.StoreItem.Parser, new[]{ "ItemId", "IsIap", "CurrencyToBuy", "YieldsCurrency", "YieldsItem", "Tags", "Unknown7" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2.Types.StoreItem.Types.Tag), global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2.Types.StoreItem.Types.Tag.Parser, new[]{ "Key", "Value" }, null, null, null)})})}),
- new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.Unknown6), global::POGOProtos.Networking.Envelopes.Unknown6.Parser, new[]{ "RequestType", "Unknown2" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.Unknown6.Types.Unknown2), global::POGOProtos.Networking.Envelopes.Unknown6.Types.Unknown2.Parser, new[]{ "Unknown1" }, null, null, null)})
- }));
- }
- #endregion
-
- }
- #region Messages
- public sealed partial class AuthTicket : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AuthTicket());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::POGOProtos.Networking.Envelopes.POGOProtosNetworkingEnvelopesReflection.Descriptor.MessageTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public AuthTicket() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public AuthTicket(AuthTicket other) : this() {
- start_ = other.start_;
- expireTimestampMs_ = other.expireTimestampMs_;
- end_ = other.end_;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public AuthTicket Clone() {
- return new AuthTicket(this);
- }
-
- /// Field number for the "start" field.
- public const int StartFieldNumber = 1;
- private pb::ByteString start_ = pb::ByteString.Empty;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pb::ByteString Start {
- get { return start_; }
- set {
- start_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// Field number for the "expire_timestamp_ms" field.
- public const int ExpireTimestampMsFieldNumber = 2;
- private ulong expireTimestampMs_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ulong ExpireTimestampMs {
- get { return expireTimestampMs_; }
- set {
- expireTimestampMs_ = value;
- }
- }
-
- /// Field number for the "end" field.
- public const int EndFieldNumber = 3;
- private pb::ByteString end_ = pb::ByteString.Empty;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pb::ByteString End {
- get { return end_; }
- set {
- end_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as AuthTicket);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(AuthTicket other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Start != other.Start) return false;
- if (ExpireTimestampMs != other.ExpireTimestampMs) return false;
- if (End != other.End) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (Start.Length != 0) hash ^= Start.GetHashCode();
- if (ExpireTimestampMs != 0UL) hash ^= ExpireTimestampMs.GetHashCode();
- if (End.Length != 0) hash ^= End.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (Start.Length != 0) {
- output.WriteRawTag(10);
- output.WriteBytes(Start);
- }
- if (ExpireTimestampMs != 0UL) {
- output.WriteRawTag(16);
- output.WriteUInt64(ExpireTimestampMs);
- }
- if (End.Length != 0) {
- output.WriteRawTag(26);
- output.WriteBytes(End);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (Start.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeBytesSize(Start);
- }
- if (ExpireTimestampMs != 0UL) {
- size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ExpireTimestampMs);
- }
- if (End.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeBytesSize(End);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(AuthTicket other) {
- if (other == null) {
- return;
- }
- if (other.Start.Length != 0) {
- Start = other.Start;
- }
- if (other.ExpireTimestampMs != 0UL) {
- ExpireTimestampMs = other.ExpireTimestampMs;
- }
- if (other.End.Length != 0) {
- End = other.End;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 10: {
- Start = input.ReadBytes();
- break;
- }
- case 16: {
- ExpireTimestampMs = input.ReadUInt64();
- break;
- }
- case 26: {
- End = input.ReadBytes();
- break;
- }
- }
- }
- }
-
- }
-
- public sealed partial class RequestEnvelope : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RequestEnvelope());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::POGOProtos.Networking.Envelopes.POGOProtosNetworkingEnvelopesReflection.Descriptor.MessageTypes[1]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public RequestEnvelope() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public RequestEnvelope(RequestEnvelope other) : this() {
- statusCode_ = other.statusCode_;
- requestId_ = other.requestId_;
- requests_ = other.requests_.Clone();
- unknown6_ = other.unknown6_.Clone();
- latitude_ = other.latitude_;
- longitude_ = other.longitude_;
- altitude_ = other.altitude_;
- AuthInfo = other.authInfo_ != null ? other.AuthInfo.Clone() : null;
- AuthTicket = other.authTicket_ != null ? other.AuthTicket.Clone() : null;
- unknown12_ = other.unknown12_;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public RequestEnvelope Clone() {
- return new RequestEnvelope(this);
- }
-
- /// Field number for the "status_code" field.
- public const int StatusCodeFieldNumber = 1;
- private int statusCode_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int StatusCode {
- get { return statusCode_; }
- set {
- statusCode_ = value;
- }
- }
-
- /// Field number for the "request_id" field.
- public const int RequestIdFieldNumber = 3;
- private ulong requestId_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ulong RequestId {
- get { return requestId_; }
- set {
- requestId_ = value;
- }
- }
-
- /// Field number for the "requests" field.
- public const int RequestsFieldNumber = 4;
- private static readonly pb::FieldCodec _repeated_requests_codec
- = pb::FieldCodec.ForMessage(34, global::POGOProtos.Networking.Requests.Request.Parser);
- private readonly pbc::RepeatedField requests_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField Requests {
- get { return requests_; }
- }
-
- /// Field number for the "unknown6" field.
- public const int Unknown6FieldNumber = 6;
- private static readonly pb::FieldCodec _repeated_unknown6_codec
- = pb::FieldCodec.ForMessage(50, global::POGOProtos.Networking.Envelopes.Unknown6.Parser);
- private readonly pbc::RepeatedField unknown6_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField Unknown6 {
- get { return unknown6_; }
- }
-
- /// Field number for the "latitude" field.
- public const int LatitudeFieldNumber = 7;
- private double latitude_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double Latitude {
- get { return latitude_; }
- set {
- latitude_ = value;
- }
- }
-
- /// Field number for the "longitude" field.
- public const int LongitudeFieldNumber = 8;
- private double longitude_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double Longitude {
- get { return longitude_; }
- set {
- longitude_ = value;
- }
- }
-
- /// Field number for the "altitude" field.
- public const int AltitudeFieldNumber = 9;
- private double altitude_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double Altitude {
- get { return altitude_; }
- set {
- altitude_ = value;
- }
- }
-
- /// Field number for the "auth_info" field.
- public const int AuthInfoFieldNumber = 10;
- private global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.AuthInfo authInfo_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.AuthInfo AuthInfo {
- get { return authInfo_; }
- set {
- authInfo_ = value;
- }
- }
-
- /// Field number for the "auth_ticket" field.
- public const int AuthTicketFieldNumber = 11;
- private global::POGOProtos.Networking.Envelopes.AuthTicket authTicket_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::POGOProtos.Networking.Envelopes.AuthTicket AuthTicket {
- get { return authTicket_; }
- set {
- authTicket_ = value;
- }
- }
-
- /// Field number for the "unknown12" field.
- public const int Unknown12FieldNumber = 12;
- private long unknown12_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public long Unknown12 {
- get { return unknown12_; }
- set {
- unknown12_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as RequestEnvelope);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(RequestEnvelope other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (StatusCode != other.StatusCode) return false;
- if (RequestId != other.RequestId) return false;
- if(!requests_.Equals(other.requests_)) return false;
- if(!unknown6_.Equals(other.unknown6_)) return false;
- if (Latitude != other.Latitude) return false;
- if (Longitude != other.Longitude) return false;
- if (Altitude != other.Altitude) return false;
- if (!object.Equals(AuthInfo, other.AuthInfo)) return false;
- if (!object.Equals(AuthTicket, other.AuthTicket)) return false;
- if (Unknown12 != other.Unknown12) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (StatusCode != 0) hash ^= StatusCode.GetHashCode();
- if (RequestId != 0UL) hash ^= RequestId.GetHashCode();
- hash ^= requests_.GetHashCode();
- hash ^= unknown6_.GetHashCode();
- if (Latitude != 0D) hash ^= Latitude.GetHashCode();
- if (Longitude != 0D) hash ^= Longitude.GetHashCode();
- if (Altitude != 0D) hash ^= Altitude.GetHashCode();
- if (authInfo_ != null) hash ^= AuthInfo.GetHashCode();
- if (authTicket_ != null) hash ^= AuthTicket.GetHashCode();
- if (Unknown12 != 0L) hash ^= Unknown12.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (StatusCode != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(StatusCode);
- }
- if (RequestId != 0UL) {
- output.WriteRawTag(24);
- output.WriteUInt64(RequestId);
- }
- requests_.WriteTo(output, _repeated_requests_codec);
- unknown6_.WriteTo(output, _repeated_unknown6_codec);
- if (Latitude != 0D) {
- output.WriteRawTag(57);
- output.WriteDouble(Latitude);
- }
- if (Longitude != 0D) {
- output.WriteRawTag(65);
- output.WriteDouble(Longitude);
- }
- if (Altitude != 0D) {
- output.WriteRawTag(73);
- output.WriteDouble(Altitude);
- }
- if (authInfo_ != null) {
- output.WriteRawTag(82);
- output.WriteMessage(AuthInfo);
- }
- if (authTicket_ != null) {
- output.WriteRawTag(90);
- output.WriteMessage(AuthTicket);
- }
- if (Unknown12 != 0L) {
- output.WriteRawTag(96);
- output.WriteInt64(Unknown12);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (StatusCode != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(StatusCode);
- }
- if (RequestId != 0UL) {
- size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RequestId);
- }
- size += requests_.CalculateSize(_repeated_requests_codec);
- size += unknown6_.CalculateSize(_repeated_unknown6_codec);
- if (Latitude != 0D) {
- size += 1 + 8;
- }
- if (Longitude != 0D) {
- size += 1 + 8;
- }
- if (Altitude != 0D) {
- size += 1 + 8;
- }
- if (authInfo_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(AuthInfo);
- }
- if (authTicket_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(AuthTicket);
- }
- if (Unknown12 != 0L) {
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(Unknown12);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(RequestEnvelope other) {
- if (other == null) {
- return;
- }
- if (other.StatusCode != 0) {
- StatusCode = other.StatusCode;
- }
- if (other.RequestId != 0UL) {
- RequestId = other.RequestId;
- }
- requests_.Add(other.requests_);
- unknown6_.Add(other.unknown6_);
- if (other.Latitude != 0D) {
- Latitude = other.Latitude;
- }
- if (other.Longitude != 0D) {
- Longitude = other.Longitude;
- }
- if (other.Altitude != 0D) {
- Altitude = other.Altitude;
- }
- if (other.authInfo_ != null) {
- if (authInfo_ == null) {
- authInfo_ = new global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.AuthInfo();
- }
- AuthInfo.MergeFrom(other.AuthInfo);
- }
- if (other.authTicket_ != null) {
- if (authTicket_ == null) {
- authTicket_ = new global::POGOProtos.Networking.Envelopes.AuthTicket();
- }
- AuthTicket.MergeFrom(other.AuthTicket);
- }
- if (other.Unknown12 != 0L) {
- Unknown12 = other.Unknown12;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 8: {
- StatusCode = input.ReadInt32();
- break;
- }
- case 24: {
- RequestId = input.ReadUInt64();
- break;
- }
- case 34: {
- requests_.AddEntriesFrom(input, _repeated_requests_codec);
- break;
- }
- case 50: {
- unknown6_.AddEntriesFrom(input, _repeated_unknown6_codec);
- break;
- }
- case 57: {
- Latitude = input.ReadDouble();
- break;
- }
- case 65: {
- Longitude = input.ReadDouble();
- break;
- }
- case 73: {
- Altitude = input.ReadDouble();
- break;
- }
- case 82: {
- if (authInfo_ == null) {
- authInfo_ = new global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.AuthInfo();
- }
- input.ReadMessage(authInfo_);
- break;
- }
- case 90: {
- if (authTicket_ == null) {
- authTicket_ = new global::POGOProtos.Networking.Envelopes.AuthTicket();
- }
- input.ReadMessage(authTicket_);
- break;
- }
- case 96: {
- Unknown12 = input.ReadInt64();
- break;
- }
- }
- }
- }
-
- #region Nested types
- /// Container for nested types declared in the RequestEnvelope message type.
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static partial class Types {
- public sealed partial class AuthInfo : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AuthInfo());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::POGOProtos.Networking.Envelopes.RequestEnvelope.Descriptor.NestedTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public AuthInfo() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public AuthInfo(AuthInfo other) : this() {
- provider_ = other.provider_;
- Token = other.token_ != null ? other.Token.Clone() : null;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public AuthInfo Clone() {
- return new AuthInfo(this);
- }
-
- /// Field number for the "provider" field.
- public const int ProviderFieldNumber = 1;
- private string provider_ = "";
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string Provider {
- get { return provider_; }
- set {
- provider_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// Field number for the "token" field.
- public const int TokenFieldNumber = 2;
- private global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.AuthInfo.Types.JWT token_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.AuthInfo.Types.JWT Token {
- get { return token_; }
- set {
- token_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as AuthInfo);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(AuthInfo other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Provider != other.Provider) return false;
- if (!object.Equals(Token, other.Token)) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (Provider.Length != 0) hash ^= Provider.GetHashCode();
- if (token_ != null) hash ^= Token.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (Provider.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Provider);
- }
- if (token_ != null) {
- output.WriteRawTag(18);
- output.WriteMessage(Token);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (Provider.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Provider);
- }
- if (token_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(Token);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(AuthInfo other) {
- if (other == null) {
- return;
- }
- if (other.Provider.Length != 0) {
- Provider = other.Provider;
- }
- if (other.token_ != null) {
- if (token_ == null) {
- token_ = new global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.AuthInfo.Types.JWT();
- }
- Token.MergeFrom(other.Token);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 10: {
- Provider = input.ReadString();
- break;
- }
- case 18: {
- if (token_ == null) {
- token_ = new global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.AuthInfo.Types.JWT();
- }
- input.ReadMessage(token_);
- break;
- }
- }
- }
- }
-
- #region Nested types
- /// Container for nested types declared in the AuthInfo message type.
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static partial class Types {
- public sealed partial class JWT : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new JWT());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.AuthInfo.Descriptor.NestedTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public JWT() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public JWT(JWT other) : this() {
- contents_ = other.contents_;
- unknown2_ = other.unknown2_;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public JWT Clone() {
- return new JWT(this);
- }
-
- /// Field number for the "contents" field.
- public const int ContentsFieldNumber = 1;
- private string contents_ = "";
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string Contents {
- get { return contents_; }
- set {
- contents_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// Field number for the "unknown2" field.
- public const int Unknown2FieldNumber = 2;
- private int unknown2_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int Unknown2 {
- get { return unknown2_; }
- set {
- unknown2_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as JWT);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(JWT other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Contents != other.Contents) return false;
- if (Unknown2 != other.Unknown2) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (Contents.Length != 0) hash ^= Contents.GetHashCode();
- if (Unknown2 != 0) hash ^= Unknown2.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (Contents.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Contents);
- }
- if (Unknown2 != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(Unknown2);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (Contents.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Contents);
- }
- if (Unknown2 != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Unknown2);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(JWT other) {
- if (other == null) {
- return;
- }
- if (other.Contents.Length != 0) {
- Contents = other.Contents;
- }
- if (other.Unknown2 != 0) {
- Unknown2 = other.Unknown2;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 10: {
- Contents = input.ReadString();
- break;
- }
- case 16: {
- Unknown2 = input.ReadInt32();
- break;
- }
- }
- }
- }
-
- }
-
- }
- #endregion
-
- }
-
- }
- #endregion
-
- }
-
- public sealed partial class ResponseEnvelope : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ResponseEnvelope());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::POGOProtos.Networking.Envelopes.POGOProtosNetworkingEnvelopesReflection.Descriptor.MessageTypes[2]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ResponseEnvelope() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ResponseEnvelope(ResponseEnvelope other) : this() {
- statusCode_ = other.statusCode_;
- requestId_ = other.requestId_;
- apiUrl_ = other.apiUrl_;
- unknown6_ = other.unknown6_.Clone();
- AuthTicket = other.authTicket_ != null ? other.AuthTicket.Clone() : null;
- returns_ = other.returns_.Clone();
- error_ = other.error_;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ResponseEnvelope Clone() {
- return new ResponseEnvelope(this);
- }
-
- /// Field number for the "status_code" field.
- public const int StatusCodeFieldNumber = 1;
- private int statusCode_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int StatusCode {
- get { return statusCode_; }
- set {
- statusCode_ = value;
- }
- }
-
- /// Field number for the "request_id" field.
- public const int RequestIdFieldNumber = 2;
- private ulong requestId_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ulong RequestId {
- get { return requestId_; }
- set {
- requestId_ = value;
- }
- }
-
- /// Field number for the "api_url" field.
- public const int ApiUrlFieldNumber = 3;
- private string apiUrl_ = "";
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string ApiUrl {
- get { return apiUrl_; }
- set {
- apiUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// Field number for the "unknown6" field.
- public const int Unknown6FieldNumber = 6;
- private static readonly pb::FieldCodec _repeated_unknown6_codec
- = pb::FieldCodec.ForMessage(50, global::POGOProtos.Networking.Envelopes.Unknown6Response.Parser);
- private readonly pbc::RepeatedField unknown6_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField Unknown6 {
- get { return unknown6_; }
- }
-
- /// Field number for the "auth_ticket" field.
- public const int AuthTicketFieldNumber = 7;
- private global::POGOProtos.Networking.Envelopes.AuthTicket authTicket_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::POGOProtos.Networking.Envelopes.AuthTicket AuthTicket {
- get { return authTicket_; }
- set {
- authTicket_ = value;
- }
- }
-
- /// Field number for the "returns" field.
- public const int ReturnsFieldNumber = 100;
- private static readonly pb::FieldCodec _repeated_returns_codec
- = pb::FieldCodec.ForBytes(802);
- private readonly pbc::RepeatedField returns_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField Returns {
- get { return returns_; }
- }
-
- /// Field number for the "error" field.
- public const int ErrorFieldNumber = 101;
- private string error_ = "";
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string Error {
- get { return error_; }
- set {
- error_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as ResponseEnvelope);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(ResponseEnvelope other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (StatusCode != other.StatusCode) return false;
- if (RequestId != other.RequestId) return false;
- if (ApiUrl != other.ApiUrl) return false;
- if(!unknown6_.Equals(other.unknown6_)) return false;
- if (!object.Equals(AuthTicket, other.AuthTicket)) return false;
- if(!returns_.Equals(other.returns_)) return false;
- if (Error != other.Error) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (StatusCode != 0) hash ^= StatusCode.GetHashCode();
- if (RequestId != 0UL) hash ^= RequestId.GetHashCode();
- if (ApiUrl.Length != 0) hash ^= ApiUrl.GetHashCode();
- hash ^= unknown6_.GetHashCode();
- if (authTicket_ != null) hash ^= AuthTicket.GetHashCode();
- hash ^= returns_.GetHashCode();
- if (Error.Length != 0) hash ^= Error.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (StatusCode != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(StatusCode);
- }
- if (RequestId != 0UL) {
- output.WriteRawTag(16);
- output.WriteUInt64(RequestId);
- }
- if (ApiUrl.Length != 0) {
- output.WriteRawTag(26);
- output.WriteString(ApiUrl);
- }
- unknown6_.WriteTo(output, _repeated_unknown6_codec);
- if (authTicket_ != null) {
- output.WriteRawTag(58);
- output.WriteMessage(AuthTicket);
- }
- returns_.WriteTo(output, _repeated_returns_codec);
- if (Error.Length != 0) {
- output.WriteRawTag(170, 6);
- output.WriteString(Error);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (StatusCode != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(StatusCode);
- }
- if (RequestId != 0UL) {
- size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RequestId);
- }
- if (ApiUrl.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(ApiUrl);
- }
- size += unknown6_.CalculateSize(_repeated_unknown6_codec);
- if (authTicket_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(AuthTicket);
- }
- size += returns_.CalculateSize(_repeated_returns_codec);
- if (Error.Length != 0) {
- size += 2 + pb::CodedOutputStream.ComputeStringSize(Error);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(ResponseEnvelope other) {
- if (other == null) {
- return;
- }
- if (other.StatusCode != 0) {
- StatusCode = other.StatusCode;
- }
- if (other.RequestId != 0UL) {
- RequestId = other.RequestId;
- }
- if (other.ApiUrl.Length != 0) {
- ApiUrl = other.ApiUrl;
- }
- unknown6_.Add(other.unknown6_);
- if (other.authTicket_ != null) {
- if (authTicket_ == null) {
- authTicket_ = new global::POGOProtos.Networking.Envelopes.AuthTicket();
- }
- AuthTicket.MergeFrom(other.AuthTicket);
- }
- returns_.Add(other.returns_);
- if (other.Error.Length != 0) {
- Error = other.Error;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 8: {
- StatusCode = input.ReadInt32();
- break;
- }
- case 16: {
- RequestId = input.ReadUInt64();
- break;
- }
- case 26: {
- ApiUrl = input.ReadString();
- break;
- }
- case 50: {
- unknown6_.AddEntriesFrom(input, _repeated_unknown6_codec);
- break;
- }
- case 58: {
- if (authTicket_ == null) {
- authTicket_ = new global::POGOProtos.Networking.Envelopes.AuthTicket();
- }
- input.ReadMessage(authTicket_);
- break;
- }
- case 802: {
- returns_.AddEntriesFrom(input, _repeated_returns_codec);
- break;
- }
- case 810: {
- Error = input.ReadString();
- break;
- }
- }
- }
- }
-
- #region Nested types
- /// Container for nested types declared in the ResponseEnvelope message type.
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static partial class Types {
- public sealed partial class Unknown7 : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Unknown7());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::POGOProtos.Networking.Envelopes.ResponseEnvelope.Descriptor.NestedTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown7() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown7(Unknown7 other) : this() {
- unknown71_ = other.unknown71_;
- unknown72_ = other.unknown72_;
- unknown73_ = other.unknown73_;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown7 Clone() {
- return new Unknown7(this);
- }
-
- /// Field number for the "unknown71" field.
- public const int Unknown71FieldNumber = 1;
- private pb::ByteString unknown71_ = pb::ByteString.Empty;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pb::ByteString Unknown71 {
- get { return unknown71_; }
- set {
- unknown71_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// Field number for the "unknown72" field.
- public const int Unknown72FieldNumber = 2;
- private long unknown72_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public long Unknown72 {
- get { return unknown72_; }
- set {
- unknown72_ = value;
- }
- }
-
- /// Field number for the "unknown73" field.
- public const int Unknown73FieldNumber = 3;
- private pb::ByteString unknown73_ = pb::ByteString.Empty;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pb::ByteString Unknown73 {
- get { return unknown73_; }
- set {
- unknown73_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as Unknown7);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(Unknown7 other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Unknown71 != other.Unknown71) return false;
- if (Unknown72 != other.Unknown72) return false;
- if (Unknown73 != other.Unknown73) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (Unknown71.Length != 0) hash ^= Unknown71.GetHashCode();
- if (Unknown72 != 0L) hash ^= Unknown72.GetHashCode();
- if (Unknown73.Length != 0) hash ^= Unknown73.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (Unknown71.Length != 0) {
- output.WriteRawTag(10);
- output.WriteBytes(Unknown71);
- }
- if (Unknown72 != 0L) {
- output.WriteRawTag(16);
- output.WriteInt64(Unknown72);
- }
- if (Unknown73.Length != 0) {
- output.WriteRawTag(26);
- output.WriteBytes(Unknown73);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (Unknown71.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeBytesSize(Unknown71);
- }
- if (Unknown72 != 0L) {
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(Unknown72);
- }
- if (Unknown73.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeBytesSize(Unknown73);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(Unknown7 other) {
- if (other == null) {
- return;
- }
- if (other.Unknown71.Length != 0) {
- Unknown71 = other.Unknown71;
- }
- if (other.Unknown72 != 0L) {
- Unknown72 = other.Unknown72;
- }
- if (other.Unknown73.Length != 0) {
- Unknown73 = other.Unknown73;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 10: {
- Unknown71 = input.ReadBytes();
- break;
- }
- case 16: {
- Unknown72 = input.ReadInt64();
- break;
- }
- case 26: {
- Unknown73 = input.ReadBytes();
- break;
- }
- }
- }
- }
-
- }
-
- }
- #endregion
-
- }
-
- public sealed partial class Unknown6Response : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Unknown6Response());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::POGOProtos.Networking.Envelopes.POGOProtosNetworkingEnvelopesReflection.Descriptor.MessageTypes[3]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown6Response() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown6Response(Unknown6Response other) : this() {
- responseType_ = other.responseType_;
- Unknown2 = other.unknown2_ != null ? other.Unknown2.Clone() : null;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown6Response Clone() {
- return new Unknown6Response(this);
- }
-
- /// Field number for the "response_type" field.
- public const int ResponseTypeFieldNumber = 1;
- private int responseType_;
- ///
- /// Still don't know what 6 is, but 5 lists items available via IAPs.
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int ResponseType {
- get { return responseType_; }
- set {
- responseType_ = value;
- }
- }
-
- /// Field number for the "unknown2" field.
- public const int Unknown2FieldNumber = 2;
- private global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2 unknown2_;
- ///
- /// Response data
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2 Unknown2 {
- get { return unknown2_; }
- set {
- unknown2_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as Unknown6Response);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(Unknown6Response other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (ResponseType != other.ResponseType) return false;
- if (!object.Equals(Unknown2, other.Unknown2)) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (ResponseType != 0) hash ^= ResponseType.GetHashCode();
- if (unknown2_ != null) hash ^= Unknown2.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (ResponseType != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(ResponseType);
- }
- if (unknown2_ != null) {
- output.WriteRawTag(18);
- output.WriteMessage(Unknown2);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (ResponseType != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(ResponseType);
- }
- if (unknown2_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(Unknown2);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(Unknown6Response other) {
- if (other == null) {
- return;
- }
- if (other.ResponseType != 0) {
- ResponseType = other.ResponseType;
- }
- if (other.unknown2_ != null) {
- if (unknown2_ == null) {
- unknown2_ = new global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2();
- }
- Unknown2.MergeFrom(other.Unknown2);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 8: {
- ResponseType = input.ReadInt32();
- break;
- }
- case 18: {
- if (unknown2_ == null) {
- unknown2_ = new global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2();
- }
- input.ReadMessage(unknown2_);
- break;
- }
- }
- }
- }
-
- #region Nested types
- /// Container for nested types declared in the Unknown6Response message type.
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static partial class Types {
- public sealed partial class Unknown2 : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Unknown2());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::POGOProtos.Networking.Envelopes.Unknown6Response.Descriptor.NestedTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown2() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown2(Unknown2 other) : this() {
- unknown1_ = other.unknown1_;
- items_ = other.items_.Clone();
- playerCurrencies_ = other.playerCurrencies_.Clone();
- unknown4_ = other.unknown4_;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown2 Clone() {
- return new Unknown2(this);
- }
-
- /// Field number for the "unknown1" field.
- public const int Unknown1FieldNumber = 1;
- private ulong unknown1_;
- ///
- /// Maybe status? It's always 1 (success), so it's probably that.
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ulong Unknown1 {
- get { return unknown1_; }
- set {
- unknown1_ = value;
- }
- }
-
- /// Field number for the "items" field.
- public const int ItemsFieldNumber = 2;
- private static readonly pb::FieldCodec _repeated_items_codec
- = pb::FieldCodec.ForMessage(18, global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2.Types.StoreItem.Parser);
- private readonly pbc::RepeatedField items_ = new pbc::RepeatedField();
- ///
- /// Items to show in the shop
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField Items {
- get { return items_; }
- }
-
- /// Field number for the "player_currencies" field.
- public const int PlayerCurrenciesFieldNumber = 3;
- private static readonly pb::FieldCodec _repeated_playerCurrencies_codec
- = pb::FieldCodec.ForMessage(26, global::POGOProtos.Data.Player.Currency.Parser);
- private readonly pbc::RepeatedField playerCurrencies_ = new pbc::RepeatedField();
- ///
- /// currencies that player has at the moment
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField PlayerCurrencies {
- get { return playerCurrencies_; }
- }
-
- /// Field number for the "unknown4" field.
- public const int Unknown4FieldNumber = 4;
- private string unknown4_ = "";
- ///
- /// Some base64 encoded stuff...
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string Unknown4 {
- get { return unknown4_; }
- set {
- unknown4_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as Unknown2);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(Unknown2 other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Unknown1 != other.Unknown1) return false;
- if(!items_.Equals(other.items_)) return false;
- if(!playerCurrencies_.Equals(other.playerCurrencies_)) return false;
- if (Unknown4 != other.Unknown4) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (Unknown1 != 0UL) hash ^= Unknown1.GetHashCode();
- hash ^= items_.GetHashCode();
- hash ^= playerCurrencies_.GetHashCode();
- if (Unknown4.Length != 0) hash ^= Unknown4.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (Unknown1 != 0UL) {
- output.WriteRawTag(8);
- output.WriteUInt64(Unknown1);
- }
- items_.WriteTo(output, _repeated_items_codec);
- playerCurrencies_.WriteTo(output, _repeated_playerCurrencies_codec);
- if (Unknown4.Length != 0) {
- output.WriteRawTag(34);
- output.WriteString(Unknown4);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (Unknown1 != 0UL) {
- size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Unknown1);
- }
- size += items_.CalculateSize(_repeated_items_codec);
- size += playerCurrencies_.CalculateSize(_repeated_playerCurrencies_codec);
- if (Unknown4.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Unknown4);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(Unknown2 other) {
- if (other == null) {
- return;
- }
- if (other.Unknown1 != 0UL) {
- Unknown1 = other.Unknown1;
- }
- items_.Add(other.items_);
- playerCurrencies_.Add(other.playerCurrencies_);
- if (other.Unknown4.Length != 0) {
- Unknown4 = other.Unknown4;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 8: {
- Unknown1 = input.ReadUInt64();
- break;
- }
- case 18: {
- items_.AddEntriesFrom(input, _repeated_items_codec);
- break;
- }
- case 26: {
- playerCurrencies_.AddEntriesFrom(input, _repeated_playerCurrencies_codec);
- break;
- }
- case 34: {
- Unknown4 = input.ReadString();
- break;
- }
- }
- }
- }
-
- #region Nested types
- /// Container for nested types declared in the Unknown2 message type.
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static partial class Types {
- public sealed partial class StoreItem : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StoreItem());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2.Descriptor.NestedTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public StoreItem() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public StoreItem(StoreItem other) : this() {
- itemId_ = other.itemId_;
- isIap_ = other.isIap_;
- CurrencyToBuy = other.currencyToBuy_ != null ? other.CurrencyToBuy.Clone() : null;
- YieldsCurrency = other.yieldsCurrency_ != null ? other.YieldsCurrency.Clone() : null;
- YieldsItem = other.yieldsItem_ != null ? other.YieldsItem.Clone() : null;
- tags_ = other.tags_.Clone();
- unknown7_ = other.unknown7_;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public StoreItem Clone() {
- return new StoreItem(this);
- }
-
- /// Field number for the "item_id" field.
- public const int ItemIdFieldNumber = 1;
- private string itemId_ = "";
- ///
- /// Internal ID (probably for Google Play/App Store) example: "pgorelease.incenseordinary.1"
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string ItemId {
- get { return itemId_; }
- set {
- itemId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// Field number for the "is_iap" field.
- public const int IsIapFieldNumber = 2;
- private bool isIap_;
- ///
- /// If true, this item is bought with real currency (USD, etc.) through the Play/App Store instead of Pokecoins
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool IsIap {
- get { return isIap_; }
- set {
- isIap_ = value;
- }
- }
-
- /// Field number for the "currency_to_buy" field.
- public const int CurrencyToBuyFieldNumber = 3;
- private global::POGOProtos.Data.Player.Currency currencyToBuy_;
- ///
- /// This defines how much the item costs (with the exception of items that cost real money like Pokecoins, that's defined in the respective store)
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::POGOProtos.Data.Player.Currency CurrencyToBuy {
- get { return currencyToBuy_; }
- set {
- currencyToBuy_ = value;
- }
- }
-
- /// Field number for the "yields_currency" field.
- public const int YieldsCurrencyFieldNumber = 4;
- private global::POGOProtos.Data.Player.Currency yieldsCurrency_;
- ///
- /// When bought, this IAP will yield this much currency
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::POGOProtos.Data.Player.Currency YieldsCurrency {
- get { return yieldsCurrency_; }
- set {
- yieldsCurrency_ = value;
- }
- }
-
- /// Field number for the "yields_item" field.
- public const int YieldsItemFieldNumber = 5;
- private global::POGOProtos.Inventory.Item.ItemData yieldsItem_;
- ///
- /// The item and count of such item that this IAP will yield
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::POGOProtos.Inventory.Item.ItemData YieldsItem {
- get { return yieldsItem_; }
- set {
- yieldsItem_ = value;
- }
- }
-
- /// Field number for the "tags" field.
- public const int TagsFieldNumber = 6;
- private static readonly pb::FieldCodec _repeated_tags_codec
- = pb::FieldCodec.ForMessage(50, global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2.Types.StoreItem.Types.Tag.Parser);
- private readonly pbc::RepeatedField tags_ = new pbc::RepeatedField();
- ///
- /// Stuff like SORT:12, CATEGORY:ITEMS
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField Tags {
- get { return tags_; }
- }
-
- /// Field number for the "unknown7" field.
- public const int Unknown7FieldNumber = 7;
- private int unknown7_;
- ///
- /// Possibly something to toggle visibility in the store/purchasibility?
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int Unknown7 {
- get { return unknown7_; }
- set {
- unknown7_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as StoreItem);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(StoreItem other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (ItemId != other.ItemId) return false;
- if (IsIap != other.IsIap) return false;
- if (!object.Equals(CurrencyToBuy, other.CurrencyToBuy)) return false;
- if (!object.Equals(YieldsCurrency, other.YieldsCurrency)) return false;
- if (!object.Equals(YieldsItem, other.YieldsItem)) return false;
- if(!tags_.Equals(other.tags_)) return false;
- if (Unknown7 != other.Unknown7) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (ItemId.Length != 0) hash ^= ItemId.GetHashCode();
- if (IsIap != false) hash ^= IsIap.GetHashCode();
- if (currencyToBuy_ != null) hash ^= CurrencyToBuy.GetHashCode();
- if (yieldsCurrency_ != null) hash ^= YieldsCurrency.GetHashCode();
- if (yieldsItem_ != null) hash ^= YieldsItem.GetHashCode();
- hash ^= tags_.GetHashCode();
- if (Unknown7 != 0) hash ^= Unknown7.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (ItemId.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(ItemId);
- }
- if (IsIap != false) {
- output.WriteRawTag(16);
- output.WriteBool(IsIap);
- }
- if (currencyToBuy_ != null) {
- output.WriteRawTag(26);
- output.WriteMessage(CurrencyToBuy);
- }
- if (yieldsCurrency_ != null) {
- output.WriteRawTag(34);
- output.WriteMessage(YieldsCurrency);
- }
- if (yieldsItem_ != null) {
- output.WriteRawTag(42);
- output.WriteMessage(YieldsItem);
- }
- tags_.WriteTo(output, _repeated_tags_codec);
- if (Unknown7 != 0) {
- output.WriteRawTag(56);
- output.WriteInt32(Unknown7);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (ItemId.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(ItemId);
- }
- if (IsIap != false) {
- size += 1 + 1;
- }
- if (currencyToBuy_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurrencyToBuy);
- }
- if (yieldsCurrency_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(YieldsCurrency);
- }
- if (yieldsItem_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(YieldsItem);
- }
- size += tags_.CalculateSize(_repeated_tags_codec);
- if (Unknown7 != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Unknown7);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(StoreItem other) {
- if (other == null) {
- return;
- }
- if (other.ItemId.Length != 0) {
- ItemId = other.ItemId;
- }
- if (other.IsIap != false) {
- IsIap = other.IsIap;
- }
- if (other.currencyToBuy_ != null) {
- if (currencyToBuy_ == null) {
- currencyToBuy_ = new global::POGOProtos.Data.Player.Currency();
- }
- CurrencyToBuy.MergeFrom(other.CurrencyToBuy);
- }
- if (other.yieldsCurrency_ != null) {
- if (yieldsCurrency_ == null) {
- yieldsCurrency_ = new global::POGOProtos.Data.Player.Currency();
- }
- YieldsCurrency.MergeFrom(other.YieldsCurrency);
- }
- if (other.yieldsItem_ != null) {
- if (yieldsItem_ == null) {
- yieldsItem_ = new global::POGOProtos.Inventory.Item.ItemData();
- }
- YieldsItem.MergeFrom(other.YieldsItem);
- }
- tags_.Add(other.tags_);
- if (other.Unknown7 != 0) {
- Unknown7 = other.Unknown7;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 10: {
- ItemId = input.ReadString();
- break;
- }
- case 16: {
- IsIap = input.ReadBool();
- break;
- }
- case 26: {
- if (currencyToBuy_ == null) {
- currencyToBuy_ = new global::POGOProtos.Data.Player.Currency();
- }
- input.ReadMessage(currencyToBuy_);
- break;
- }
- case 34: {
- if (yieldsCurrency_ == null) {
- yieldsCurrency_ = new global::POGOProtos.Data.Player.Currency();
- }
- input.ReadMessage(yieldsCurrency_);
- break;
- }
- case 42: {
- if (yieldsItem_ == null) {
- yieldsItem_ = new global::POGOProtos.Inventory.Item.ItemData();
- }
- input.ReadMessage(yieldsItem_);
- break;
- }
- case 50: {
- tags_.AddEntriesFrom(input, _repeated_tags_codec);
- break;
- }
- case 56: {
- Unknown7 = input.ReadInt32();
- break;
- }
- }
- }
- }
-
- #region Nested types
- /// Container for nested types declared in the StoreItem message type.
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static partial class Types {
- public sealed partial class Tag : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Tag());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2.Types.StoreItem.Descriptor.NestedTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Tag() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Tag(Tag other) : this() {
- key_ = other.key_;
- value_ = other.value_;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Tag Clone() {
- return new Tag(this);
- }
-
- /// Field number for the "key" field.
- public const int KeyFieldNumber = 1;
- private string key_ = "";
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string Key {
- get { return key_; }
- set {
- key_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// Field number for the "value" field.
- public const int ValueFieldNumber = 2;
- private string value_ = "";
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string Value {
- get { return value_; }
- set {
- value_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as Tag);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(Tag other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Key != other.Key) return false;
- if (Value != other.Value) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (Key.Length != 0) hash ^= Key.GetHashCode();
- if (Value.Length != 0) hash ^= Value.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (Key.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Key);
- }
- if (Value.Length != 0) {
- output.WriteRawTag(18);
- output.WriteString(Value);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (Key.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Key);
- }
- if (Value.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Value);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(Tag other) {
- if (other == null) {
- return;
- }
- if (other.Key.Length != 0) {
- Key = other.Key;
- }
- if (other.Value.Length != 0) {
- Value = other.Value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 10: {
- Key = input.ReadString();
- break;
- }
- case 18: {
- Value = input.ReadString();
- break;
- }
- }
- }
- }
-
- }
-
- }
- #endregion
-
- }
-
- }
- #endregion
-
- }
-
- }
- #endregion
-
- }
-
- public sealed partial class Unknown6 : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Unknown6());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::POGOProtos.Networking.Envelopes.POGOProtosNetworkingEnvelopesReflection.Descriptor.MessageTypes[4]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown6() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown6(Unknown6 other) : this() {
- requestType_ = other.requestType_;
- Unknown2 = other.unknown2_ != null ? other.Unknown2.Clone() : null;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown6 Clone() {
- return new Unknown6(this);
- }
-
- /// Field number for the "request_type" field.
- public const int RequestTypeFieldNumber = 1;
- private int requestType_;
- ///
- /// 5 for IAPs, 6 is unknown still
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int RequestType {
- get { return requestType_; }
- set {
- requestType_ = value;
- }
- }
-
- /// Field number for the "unknown2" field.
- public const int Unknown2FieldNumber = 2;
- private global::POGOProtos.Networking.Envelopes.Unknown6.Types.Unknown2 unknown2_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::POGOProtos.Networking.Envelopes.Unknown6.Types.Unknown2 Unknown2 {
- get { return unknown2_; }
- set {
- unknown2_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as Unknown6);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(Unknown6 other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (RequestType != other.RequestType) return false;
- if (!object.Equals(Unknown2, other.Unknown2)) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (RequestType != 0) hash ^= RequestType.GetHashCode();
- if (unknown2_ != null) hash ^= Unknown2.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (RequestType != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(RequestType);
- }
- if (unknown2_ != null) {
- output.WriteRawTag(18);
- output.WriteMessage(Unknown2);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (RequestType != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(RequestType);
- }
- if (unknown2_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(Unknown2);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(Unknown6 other) {
- if (other == null) {
- return;
- }
- if (other.RequestType != 0) {
- RequestType = other.RequestType;
- }
- if (other.unknown2_ != null) {
- if (unknown2_ == null) {
- unknown2_ = new global::POGOProtos.Networking.Envelopes.Unknown6.Types.Unknown2();
- }
- Unknown2.MergeFrom(other.Unknown2);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 8: {
- RequestType = input.ReadInt32();
- break;
- }
- case 18: {
- if (unknown2_ == null) {
- unknown2_ = new global::POGOProtos.Networking.Envelopes.Unknown6.Types.Unknown2();
- }
- input.ReadMessage(unknown2_);
- break;
- }
- }
- }
- }
-
- #region Nested types
- /// Container for nested types declared in the Unknown6 message type.
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static partial class Types {
- public sealed partial class Unknown2 : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Unknown2());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::POGOProtos.Networking.Envelopes.Unknown6.Descriptor.NestedTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown2() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown2(Unknown2 other) : this() {
- unknown1_ = other.unknown1_;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown2 Clone() {
- return new Unknown2(this);
- }
-
- /// Field number for the "unknown1" field.
- public const int Unknown1FieldNumber = 1;
- private pb::ByteString unknown1_ = pb::ByteString.Empty;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pb::ByteString Unknown1 {
- get { return unknown1_; }
- set {
- unknown1_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as Unknown2);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(Unknown2 other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Unknown1 != other.Unknown1) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (Unknown1.Length != 0) hash ^= Unknown1.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (Unknown1.Length != 0) {
- output.WriteRawTag(10);
- output.WriteBytes(Unknown1);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (Unknown1.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeBytesSize(Unknown1);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(Unknown2 other) {
- if (other == null) {
- return;
- }
- if (other.Unknown1.Length != 0) {
- Unknown1 = other.Unknown1;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 10: {
- Unknown1 = input.ReadBytes();
- break;
- }
- }
- }
- }
-
- }
-
- }
- #endregion
-
- }
-
- #endregion
-
-}
-
-#endregion Designer generated code
diff --git a/Networking/Envelopes/RequestEnvelope.cs b/Networking/Envelopes/RequestEnvelope.cs
index cd922c2..ef74223 100644
--- a/Networking/Envelopes/RequestEnvelope.cs
+++ b/Networking/Envelopes/RequestEnvelope.cs
@@ -23,27 +23,32 @@ static RequestEnvelopeReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjVQT0dPUHJvdG9zL05ldHdvcmtpbmcvRW52ZWxvcGVzL1JlcXVlc3RFbnZl",
- "bG9wZS5wcm90bxIfUE9HT1Byb3Rvcy5OZXR3b3JraW5nLkVudmVsb3Blcxos",
- "UE9HT1Byb3Rvcy9OZXR3b3JraW5nL1JlcXVlc3RzL1JlcXVlc3QucHJvdG8a",
- "MFBPR09Qcm90b3MvTmV0d29ya2luZy9FbnZlbG9wZXMvQXV0aFRpY2tldC5w",
- "cm90bxouUE9HT1Byb3Rvcy9OZXR3b3JraW5nL0VudmVsb3Blcy9Vbmtub3du",
- "Ni5wcm90byK0BAoPUmVxdWVzdEVudmVsb3BlEhMKC3N0YXR1c19jb2RlGAEg",
- "ASgFEhIKCnJlcXVlc3RfaWQYAyABKAQSOQoIcmVxdWVzdHMYBCADKAsyJy5Q",
- "T0dPUHJvdG9zLk5ldHdvcmtpbmcuUmVxdWVzdHMuUmVxdWVzdBI7Cgh1bmtu",
- "b3duNhgGIAEoCzIpLlBPR09Qcm90b3MuTmV0d29ya2luZy5FbnZlbG9wZXMu",
- "VW5rbm93bjYSEAoIbGF0aXR1ZGUYByABKAESEQoJbG9uZ2l0dWRlGAggASgB",
- "EhAKCGFsdGl0dWRlGAkgASgBEkwKCWF1dGhfaW5mbxgKIAEoCzI5LlBPR09Q",
- "cm90b3MuTmV0d29ya2luZy5FbnZlbG9wZXMuUmVxdWVzdEVudmVsb3BlLkF1",
- "dGhJbmZvEkAKC2F1dGhfdGlja2V0GAsgASgLMisuUE9HT1Byb3Rvcy5OZXR3",
- "b3JraW5nLkVudmVsb3Blcy5BdXRoVGlja2V0EiEKGW1zX3NpbmNlX2xhc3Rf",
- "bG9jYXRpb25maXgYDCABKAMalQEKCEF1dGhJbmZvEhAKCHByb3ZpZGVyGAEg",
- "ASgJEkwKBXRva2VuGAIgASgLMj0uUE9HT1Byb3Rvcy5OZXR3b3JraW5nLkVu",
- "dmVsb3Blcy5SZXF1ZXN0RW52ZWxvcGUuQXV0aEluZm8uSldUGikKA0pXVBIQ",
- "Cghjb250ZW50cxgBIAEoCRIQCgh1bmtub3duMhgCIAEoBWIGcHJvdG8z"));
+ "bG9wZS5wcm90bxIfUE9HT1Byb3Rvcy5OZXR3b3JraW5nLkVudmVsb3Blcxow",
+ "UE9HT1Byb3Rvcy9OZXR3b3JraW5nL0VudmVsb3Blcy9BdXRoVGlja2V0LnBy",
+ "b3RvGjhQT0dPUHJvdG9zL05ldHdvcmtpbmcvUGxhdGZvcm0vUGxhdGZvcm1S",
+ "ZXF1ZXN0VHlwZS5wcm90bxosUE9HT1Byb3Rvcy9OZXR3b3JraW5nL1JlcXVl",
+ "c3RzL1JlcXVlc3QucHJvdG8iwwUKD1JlcXVlc3RFbnZlbG9wZRITCgtzdGF0",
+ "dXNfY29kZRgBIAEoBRISCgpyZXF1ZXN0X2lkGAMgASgEEjkKCHJlcXVlc3Rz",
+ "GAQgAygLMicuUE9HT1Byb3Rvcy5OZXR3b3JraW5nLlJlcXVlc3RzLlJlcXVl",
+ "c3QSWwoRcGxhdGZvcm1fcmVxdWVzdHMYBiADKAsyQC5QT0dPUHJvdG9zLk5l",
+ "dHdvcmtpbmcuRW52ZWxvcGVzLlJlcXVlc3RFbnZlbG9wZS5QbGF0Zm9ybVJl",
+ "cXVlc3QSEAoIbGF0aXR1ZGUYByABKAESEQoJbG9uZ2l0dWRlGAggASgBEhAK",
+ "CGFjY3VyYWN5GAkgASgBEkwKCWF1dGhfaW5mbxgKIAEoCzI5LlBPR09Qcm90",
+ "b3MuTmV0d29ya2luZy5FbnZlbG9wZXMuUmVxdWVzdEVudmVsb3BlLkF1dGhJ",
+ "bmZvEkAKC2F1dGhfdGlja2V0GAsgASgLMisuUE9HT1Byb3Rvcy5OZXR3b3Jr",
+ "aW5nLkVudmVsb3Blcy5BdXRoVGlja2V0EiEKGW1zX3NpbmNlX2xhc3RfbG9j",
+ "YXRpb25maXgYDCABKAMalQEKCEF1dGhJbmZvEhAKCHByb3ZpZGVyGAEgASgJ",
+ "EkwKBXRva2VuGAIgASgLMj0uUE9HT1Byb3Rvcy5OZXR3b3JraW5nLkVudmVs",
+ "b3Blcy5SZXF1ZXN0RW52ZWxvcGUuQXV0aEluZm8uSldUGikKA0pXVBIQCghj",
+ "b250ZW50cxgBIAEoCRIQCgh1bmtub3duMhgCIAEoBRptCg9QbGF0Zm9ybVJl",
+ "cXVlc3QSQQoEdHlwZRgBIAEoDjIzLlBPR09Qcm90b3MuTmV0d29ya2luZy5Q",
+ "bGF0Zm9ybS5QbGF0Zm9ybVJlcXVlc3RUeXBlEhcKD3JlcXVlc3RfbWVzc2Fn",
+ "ZRgCIAEoDGIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { global::POGOProtos.Networking.Requests.RequestReflection.Descriptor, global::POGOProtos.Networking.Envelopes.AuthTicketReflection.Descriptor, global::POGOProtos.Networking.Envelopes.Unknown6Reflection.Descriptor, },
+ new pbr::FileDescriptor[] { global::POGOProtos.Networking.Envelopes.AuthTicketReflection.Descriptor, global::POGOProtos.Networking.Platform.PlatformRequestTypeReflection.Descriptor, global::POGOProtos.Networking.Requests.RequestReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.RequestEnvelope), global::POGOProtos.Networking.Envelopes.RequestEnvelope.Parser, new[]{ "StatusCode", "RequestId", "Requests", "Unknown6", "Latitude", "Longitude", "Altitude", "AuthInfo", "AuthTicket", "MsSinceLastLocationfix" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.AuthInfo), global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.AuthInfo.Parser, new[]{ "Provider", "Token" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.AuthInfo.Types.JWT), global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.AuthInfo.Types.JWT.Parser, new[]{ "Contents", "Unknown2" }, null, null, null)})})
+ new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.RequestEnvelope), global::POGOProtos.Networking.Envelopes.RequestEnvelope.Parser, new[]{ "StatusCode", "RequestId", "Requests", "PlatformRequests", "Latitude", "Longitude", "Accuracy", "AuthInfo", "AuthTicket", "MsSinceLastLocationfix" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.AuthInfo), global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.AuthInfo.Parser, new[]{ "Provider", "Token" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.AuthInfo.Types.JWT), global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.AuthInfo.Types.JWT.Parser, new[]{ "Contents", "Unknown2" }, null, null, null)}),
+ new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.PlatformRequest), global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.PlatformRequest.Parser, new[]{ "Type", "RequestMessage" }, null, null, null)})
}));
}
#endregion
@@ -77,10 +82,10 @@ public RequestEnvelope(RequestEnvelope other) : this() {
statusCode_ = other.statusCode_;
requestId_ = other.requestId_;
requests_ = other.requests_.Clone();
- Unknown6 = other.unknown6_ != null ? other.Unknown6.Clone() : null;
+ platformRequests_ = other.platformRequests_.Clone();
latitude_ = other.latitude_;
longitude_ = other.longitude_;
- altitude_ = other.altitude_;
+ accuracy_ = other.accuracy_;
AuthInfo = other.authInfo_ != null ? other.AuthInfo.Clone() : null;
AuthTicket = other.authTicket_ != null ? other.AuthTicket.Clone() : null;
msSinceLastLocationfix_ = other.msSinceLastLocationfix_;
@@ -123,20 +128,15 @@ public ulong RequestId {
get { return requests_; }
}
- /// Field number for the "unknown6" field.
- public const int Unknown6FieldNumber = 6;
- private static pb::FieldCodec _repeated_unknown6_codec
- = pb::FieldCodec.ForMessage(50, global::POGOProtos.Networking.Envelopes.Unknown6.Parser);
- private pbc::RepeatedField unknown6_ = new pbc::RepeatedField();
+ /// Field number for the "platform_requests" field.
+ public const int PlatformRequestsFieldNumber = 6;
+ private static readonly pb::FieldCodec _repeated_platformRequests_codec
+ = pb::FieldCodec.ForMessage(50, global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.PlatformRequest.Parser);
+ private readonly pbc::RepeatedField platformRequests_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField Unknown6 {
- get { return unknown6_; }
- set
- {
- unknown6_ = value;
- }
- }
-
+ public pbc::RepeatedField PlatformRequests {
+ get { return platformRequests_; }
+ }
/// Field number for the "latitude" field.
public const int LatitudeFieldNumber = 7;
@@ -160,14 +160,14 @@ public double Longitude {
}
}
- /// Field number for the "altitude" field.
- public const int AltitudeFieldNumber = 9;
- private double altitude_;
+ /// Field number for the "accuracy" field.
+ public const int AccuracyFieldNumber = 9;
+ private double accuracy_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double Altitude {
- get { return altitude_; }
+ public double Accuracy {
+ get { return accuracy_; }
set {
- altitude_ = value;
+ accuracy_ = value;
}
}
@@ -220,10 +220,10 @@ public bool Equals(RequestEnvelope other) {
if (StatusCode != other.StatusCode) return false;
if (RequestId != other.RequestId) return false;
if(!requests_.Equals(other.requests_)) return false;
- if (!object.Equals(Unknown6, other.Unknown6)) return false;
+ if(!platformRequests_.Equals(other.platformRequests_)) return false;
if (Latitude != other.Latitude) return false;
if (Longitude != other.Longitude) return false;
- if (Altitude != other.Altitude) return false;
+ if (Accuracy != other.Accuracy) return false;
if (!object.Equals(AuthInfo, other.AuthInfo)) return false;
if (!object.Equals(AuthTicket, other.AuthTicket)) return false;
if (MsSinceLastLocationfix != other.MsSinceLastLocationfix) return false;
@@ -236,10 +236,10 @@ public override int GetHashCode() {
if (StatusCode != 0) hash ^= StatusCode.GetHashCode();
if (RequestId != 0UL) hash ^= RequestId.GetHashCode();
hash ^= requests_.GetHashCode();
- if (unknown6_ != null) hash ^= Unknown6.GetHashCode();
+ hash ^= platformRequests_.GetHashCode();
if (Latitude != 0D) hash ^= Latitude.GetHashCode();
if (Longitude != 0D) hash ^= Longitude.GetHashCode();
- if (Altitude != 0D) hash ^= Altitude.GetHashCode();
+ if (Accuracy != 0D) hash ^= Accuracy.GetHashCode();
if (authInfo_ != null) hash ^= AuthInfo.GetHashCode();
if (authTicket_ != null) hash ^= AuthTicket.GetHashCode();
if (MsSinceLastLocationfix != 0L) hash ^= MsSinceLastLocationfix.GetHashCode();
@@ -262,11 +262,7 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteUInt64(RequestId);
}
requests_.WriteTo(output, _repeated_requests_codec);
- unknown6_.WriteTo(output, _repeated_unknown6_codec);
- // if (unknown6_ != null) {
- // output.WriteRawTag(50);
- // output.WriteMessage(Unknown6);
- // }
+ platformRequests_.WriteTo(output, _repeated_platformRequests_codec);
if (Latitude != 0D) {
output.WriteRawTag(57);
output.WriteDouble(Latitude);
@@ -275,9 +271,9 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteRawTag(65);
output.WriteDouble(Longitude);
}
- if (Altitude != 0D) {
+ if (Accuracy != 0D) {
output.WriteRawTag(73);
- output.WriteDouble(Altitude);
+ output.WriteDouble(Accuracy);
}
if (authInfo_ != null) {
output.WriteRawTag(82);
@@ -303,17 +299,14 @@ public int CalculateSize() {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RequestId);
}
size += requests_.CalculateSize(_repeated_requests_codec);
- size += unknown6_.CalculateSize(_repeated_unknown6_codec);
- // if (unknown6_ != null) {
- // size += 1 + pb::CodedOutputStream.ComputeMessageSize(Unknown6);
- // }
- if (Latitude != 0D) {
+ size += platformRequests_.CalculateSize(_repeated_platformRequests_codec);
+ if (Latitude != 0D) {
size += 1 + 8;
}
if (Longitude != 0D) {
size += 1 + 8;
}
- if (Altitude != 0D) {
+ if (Accuracy != 0D) {
size += 1 + 8;
}
if (authInfo_ != null) {
@@ -340,21 +333,15 @@ public void MergeFrom(RequestEnvelope other) {
RequestId = other.RequestId;
}
requests_.Add(other.requests_);
- unknown6_.Add(other.unknown6_);
- // if (other.unknown6_ != null) {
- // if (unknown6_ == null) {
- // unknown6_ = new global::POGOProtos.Networking.Envelopes.Unknown6();
- // }
- // Unknown6.MergeFrom(other.Unknown6);
-// }
+ platformRequests_.Add(other.platformRequests_);
if (other.Latitude != 0D) {
Latitude = other.Latitude;
}
if (other.Longitude != 0D) {
Longitude = other.Longitude;
}
- if (other.Altitude != 0D) {
- Altitude = other.Altitude;
+ if (other.Accuracy != 0D) {
+ Accuracy = other.Accuracy;
}
if (other.authInfo_ != null) {
if (authInfo_ == null) {
@@ -394,16 +381,10 @@ public void MergeFrom(pb::CodedInputStream input) {
break;
}
case 50: {
- unknown6_.AddEntriesFrom(input, _repeated_unknown6_codec);
- break;
- }
- // if (unknown6_ == null) {
- // unknown6_ = new global::POGOProtos.Networking.Envelopes.Unknown6();
- // }
- // input.ReadMessage(unknown6_);
- // break;
- // }
- case 57: {
+ platformRequests_.AddEntriesFrom(input, _repeated_platformRequests_codec);
+ break;
+ }
+ case 57: {
Latitude = input.ReadDouble();
break;
}
@@ -412,7 +393,7 @@ public void MergeFrom(pb::CodedInputStream input) {
break;
}
case 73: {
- Altitude = input.ReadDouble();
+ Accuracy = input.ReadDouble();
break;
}
case 82: {
@@ -744,6 +725,151 @@ public void MergeFrom(pb::CodedInputStream input) {
}
+ public sealed partial class PlatformRequest : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlatformRequest());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::POGOProtos.Networking.Envelopes.RequestEnvelope.Descriptor.NestedTypes[1]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public PlatformRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public PlatformRequest(PlatformRequest other) : this() {
+ type_ = other.type_;
+ requestMessage_ = other.requestMessage_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public PlatformRequest Clone() {
+ return new PlatformRequest(this);
+ }
+
+ /// Field number for the "type" field.
+ public const int TypeFieldNumber = 1;
+ private global::POGOProtos.Networking.Platform.PlatformRequestType type_ = 0;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::POGOProtos.Networking.Platform.PlatformRequestType Type {
+ get { return type_; }
+ set {
+ type_ = value;
+ }
+ }
+
+ /// Field number for the "request_message" field.
+ public const int RequestMessageFieldNumber = 2;
+ private pb::ByteString requestMessage_ = pb::ByteString.Empty;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pb::ByteString RequestMessage {
+ get { return requestMessage_; }
+ set {
+ requestMessage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as PlatformRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(PlatformRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Type != other.Type) return false;
+ if (RequestMessage != other.RequestMessage) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Type != 0) hash ^= Type.GetHashCode();
+ if (RequestMessage.Length != 0) hash ^= RequestMessage.GetHashCode();
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (Type != 0) {
+ output.WriteRawTag(8);
+ output.WriteEnum((int) Type);
+ }
+ if (RequestMessage.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteBytes(RequestMessage);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (Type != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
+ }
+ if (RequestMessage.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(RequestMessage);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(PlatformRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Type != 0) {
+ Type = other.Type;
+ }
+ if (other.RequestMessage.Length != 0) {
+ RequestMessage = other.RequestMessage;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 8: {
+ type_ = (global::POGOProtos.Networking.Platform.PlatformRequestType) input.ReadEnum();
+ break;
+ }
+ case 18: {
+ RequestMessage = input.ReadBytes();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
}
#endregion
diff --git a/Networking/Envelopes/ResponseEnvelope.cs b/Networking/Envelopes/ResponseEnvelope.cs
index 15f1147..5b7a1d4 100644
--- a/Networking/Envelopes/ResponseEnvelope.cs
+++ b/Networking/Envelopes/ResponseEnvelope.cs
@@ -25,17 +25,26 @@ static ResponseEnvelopeReflection() {
"CjZQT0dPUHJvdG9zL05ldHdvcmtpbmcvRW52ZWxvcGVzL1Jlc3BvbnNlRW52",
"ZWxvcGUucHJvdG8SH1BPR09Qcm90b3MuTmV0d29ya2luZy5FbnZlbG9wZXMa",
"MFBPR09Qcm90b3MvTmV0d29ya2luZy9FbnZlbG9wZXMvQXV0aFRpY2tldC5w",
- "cm90bxo2UE9HT1Byb3Rvcy9OZXR3b3JraW5nL0VudmVsb3Blcy9Vbmtub3du",
- "NlJlc3BvbnNlLnByb3RvIvMBChBSZXNwb25zZUVudmVsb3BlEhMKC3N0YXR1",
- "c19jb2RlGAEgASgFEhIKCnJlcXVlc3RfaWQYAiABKAQSDwoHYXBpX3VybBgD",
- "IAEoCRJDCgh1bmtub3duNhgGIAMoCzIxLlBPR09Qcm90b3MuTmV0d29ya2lu",
- "Zy5FbnZlbG9wZXMuVW5rbm93bjZSZXNwb25zZRJACgthdXRoX3RpY2tldBgH",
- "IAEoCzIrLlBPR09Qcm90b3MuTmV0d29ya2luZy5FbnZlbG9wZXMuQXV0aFRp",
- "Y2tldBIPCgdyZXR1cm5zGGQgAygMEg0KBWVycm9yGGUgASgJYgZwcm90bzM="));
+ "cm90bxo4UE9HT1Byb3Rvcy9OZXR3b3JraW5nL1BsYXRmb3JtL1BsYXRmb3Jt",
+ "UmVxdWVzdFR5cGUucHJvdG8i9gQKEFJlc3BvbnNlRW52ZWxvcGUSUQoLc3Rh",
+ "dHVzX2NvZGUYASABKA4yPC5QT0dPUHJvdG9zLk5ldHdvcmtpbmcuRW52ZWxv",
+ "cGVzLlJlc3BvbnNlRW52ZWxvcGUuU3RhdHVzQ29kZRISCgpyZXF1ZXN0X2lk",
+ "GAIgASgEEg8KB2FwaV91cmwYAyABKAkSXAoQcGxhdGZvcm1fcmV0dXJucxgG",
+ "IAMoCzJCLlBPR09Qcm90b3MuTmV0d29ya2luZy5FbnZlbG9wZXMuUmVzcG9u",
+ "c2VFbnZlbG9wZS5QbGF0Zm9ybVJlc3BvbnNlEkAKC2F1dGhfdGlja2V0GAcg",
+ "ASgLMisuUE9HT1Byb3Rvcy5OZXR3b3JraW5nLkVudmVsb3Blcy5BdXRoVGlj",
+ "a2V0Eg8KB3JldHVybnMYZCADKAwSDQoFZXJyb3IYZSABKAkaZwoQUGxhdGZv",
+ "cm1SZXNwb25zZRJBCgR0eXBlGAEgASgOMjMuUE9HT1Byb3Rvcy5OZXR3b3Jr",
+ "aW5nLlBsYXRmb3JtLlBsYXRmb3JtUmVxdWVzdFR5cGUSEAoIcmVzcG9uc2UY",
+ "AiABKAwiwAEKClN0YXR1c0NvZGUSCwoHVU5LTk9XThAAEgYKAk9LEAESGgoW",
+ "T0tfUlBDX1VSTF9JTl9SRVNQT05TRRACEg8KC0JBRF9SRVFVRVNUEAMSEwoP",
+ "SU5WQUxJRF9SRVFVRVNUEDMSHAoYSU5WQUxJRF9QTEFURk9STV9SRVFVRVNU",
+ "EDQSDAoIUkVESVJFQ1QQNRIXChNTRVNTSU9OX0lOVkFMSURBVEVEEGQSFgoS",
+ "SU5WQUxJRF9BVVRIX1RPS0VOEGZiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { global::POGOProtos.Networking.Envelopes.AuthTicketReflection.Descriptor, global::POGOProtos.Networking.Envelopes.Unknown6ResponseReflection.Descriptor, },
+ new pbr::FileDescriptor[] { global::POGOProtos.Networking.Envelopes.AuthTicketReflection.Descriptor, global::POGOProtos.Networking.Platform.PlatformRequestTypeReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.ResponseEnvelope), global::POGOProtos.Networking.Envelopes.ResponseEnvelope.Parser, new[]{ "StatusCode", "RequestId", "ApiUrl", "Unknown6", "AuthTicket", "Returns", "Error" }, null, null, null)
+ new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.ResponseEnvelope), global::POGOProtos.Networking.Envelopes.ResponseEnvelope.Parser, new[]{ "StatusCode", "RequestId", "ApiUrl", "PlatformReturns", "AuthTicket", "Returns", "Error" }, null, new[]{ typeof(global::POGOProtos.Networking.Envelopes.ResponseEnvelope.Types.StatusCode) }, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.ResponseEnvelope.Types.PlatformResponse), global::POGOProtos.Networking.Envelopes.ResponseEnvelope.Types.PlatformResponse.Parser, new[]{ "Type", "Response" }, null, null, null)})
}));
}
#endregion
@@ -69,7 +78,7 @@ public ResponseEnvelope(ResponseEnvelope other) : this() {
statusCode_ = other.statusCode_;
requestId_ = other.requestId_;
apiUrl_ = other.apiUrl_;
- unknown6_ = other.unknown6_.Clone();
+ platformReturns_ = other.platformReturns_.Clone();
AuthTicket = other.authTicket_ != null ? other.AuthTicket.Clone() : null;
returns_ = other.returns_.Clone();
error_ = other.error_;
@@ -82,9 +91,9 @@ public ResponseEnvelope Clone() {
/// Field number for the "status_code" field.
public const int StatusCodeFieldNumber = 1;
- private int statusCode_;
+ private global::POGOProtos.Networking.Envelopes.ResponseEnvelope.Types.StatusCode statusCode_ = 0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int StatusCode {
+ public global::POGOProtos.Networking.Envelopes.ResponseEnvelope.Types.StatusCode StatusCode {
get { return statusCode_; }
set {
statusCode_ = value;
@@ -113,14 +122,14 @@ public string ApiUrl {
}
}
- /// Field number for the "unknown6" field.
- public const int Unknown6FieldNumber = 6;
- private static readonly pb::FieldCodec _repeated_unknown6_codec
- = pb::FieldCodec.ForMessage(50, global::POGOProtos.Networking.Envelopes.Unknown6Response.Parser);
- private readonly pbc::RepeatedField unknown6_ = new pbc::RepeatedField();
+ /// Field number for the "platform_returns" field.
+ public const int PlatformReturnsFieldNumber = 6;
+ private static readonly pb::FieldCodec _repeated_platformReturns_codec
+ = pb::FieldCodec.ForMessage(50, global::POGOProtos.Networking.Envelopes.ResponseEnvelope.Types.PlatformResponse.Parser);
+ private readonly pbc::RepeatedField platformReturns_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField Unknown6 {
- get { return unknown6_; }
+ public pbc::RepeatedField PlatformReturns {
+ get { return platformReturns_; }
}
/// Field number for the "auth_ticket" field.
@@ -171,7 +180,7 @@ public bool Equals(ResponseEnvelope other) {
if (StatusCode != other.StatusCode) return false;
if (RequestId != other.RequestId) return false;
if (ApiUrl != other.ApiUrl) return false;
- if(!unknown6_.Equals(other.unknown6_)) return false;
+ if(!platformReturns_.Equals(other.platformReturns_)) return false;
if (!object.Equals(AuthTicket, other.AuthTicket)) return false;
if(!returns_.Equals(other.returns_)) return false;
if (Error != other.Error) return false;
@@ -184,7 +193,7 @@ public override int GetHashCode() {
if (StatusCode != 0) hash ^= StatusCode.GetHashCode();
if (RequestId != 0UL) hash ^= RequestId.GetHashCode();
if (ApiUrl.Length != 0) hash ^= ApiUrl.GetHashCode();
- hash ^= unknown6_.GetHashCode();
+ hash ^= platformReturns_.GetHashCode();
if (authTicket_ != null) hash ^= AuthTicket.GetHashCode();
hash ^= returns_.GetHashCode();
if (Error.Length != 0) hash ^= Error.GetHashCode();
@@ -200,7 +209,7 @@ public override string ToString() {
public void WriteTo(pb::CodedOutputStream output) {
if (StatusCode != 0) {
output.WriteRawTag(8);
- output.WriteInt32(StatusCode);
+ output.WriteEnum((int) StatusCode);
}
if (RequestId != 0UL) {
output.WriteRawTag(16);
@@ -210,7 +219,7 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteRawTag(26);
output.WriteString(ApiUrl);
}
- unknown6_.WriteTo(output, _repeated_unknown6_codec);
+ platformReturns_.WriteTo(output, _repeated_platformReturns_codec);
if (authTicket_ != null) {
output.WriteRawTag(58);
output.WriteMessage(AuthTicket);
@@ -226,7 +235,7 @@ public void WriteTo(pb::CodedOutputStream output) {
public int CalculateSize() {
int size = 0;
if (StatusCode != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(StatusCode);
+ size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) StatusCode);
}
if (RequestId != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RequestId);
@@ -234,7 +243,7 @@ public int CalculateSize() {
if (ApiUrl.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ApiUrl);
}
- size += unknown6_.CalculateSize(_repeated_unknown6_codec);
+ size += platformReturns_.CalculateSize(_repeated_platformReturns_codec);
if (authTicket_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AuthTicket);
}
@@ -259,7 +268,7 @@ public void MergeFrom(ResponseEnvelope other) {
if (other.ApiUrl.Length != 0) {
ApiUrl = other.ApiUrl;
}
- unknown6_.Add(other.unknown6_);
+ platformReturns_.Add(other.platformReturns_);
if (other.authTicket_ != null) {
if (authTicket_ == null) {
authTicket_ = new global::POGOProtos.Networking.Envelopes.AuthTicket();
@@ -281,7 +290,7 @@ public void MergeFrom(pb::CodedInputStream input) {
input.SkipLastField();
break;
case 8: {
- StatusCode = input.ReadInt32();
+ statusCode_ = (global::POGOProtos.Networking.Envelopes.ResponseEnvelope.Types.StatusCode) input.ReadEnum();
break;
}
case 16: {
@@ -293,7 +302,7 @@ public void MergeFrom(pb::CodedInputStream input) {
break;
}
case 50: {
- unknown6_.AddEntriesFrom(input, _repeated_unknown6_codec);
+ platformReturns_.AddEntriesFrom(input, _repeated_platformReturns_codec);
break;
}
case 58: {
@@ -315,6 +324,194 @@ public void MergeFrom(pb::CodedInputStream input) {
}
}
+ #region Nested types
+ /// Container for nested types declared in the ResponseEnvelope message type.
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static partial class Types {
+ public enum StatusCode {
+ [pbr::OriginalName("UNKNOWN")] Unknown = 0,
+ ///
+ /// valid response with no api url
+ ///
+ [pbr::OriginalName("OK")] Ok = 1,
+ ///
+ /// the response envelope has api_url set and this response is valid
+ ///
+ [pbr::OriginalName("OK_RPC_URL_IN_RESPONSE")] OkRpcUrlInResponse = 2,
+ ///
+ /// bad request
+ ///
+ [pbr::OriginalName("BAD_REQUEST")] BadRequest = 3,
+ ///
+ /// using unimplemented request or corrupt request
+ ///
+ [pbr::OriginalName("INVALID_REQUEST")] InvalidRequest = 51,
+ ///
+ /// invalid platform request or corrupt platform request
+ ///
+ [pbr::OriginalName("INVALID_PLATFORM_REQUEST")] InvalidPlatformRequest = 52,
+ ///
+ /// a new rpc endpoint is available and you should redirect to there
+ ///
+ [pbr::OriginalName("REDIRECT")] Redirect = 53,
+ ///
+ /// occurs when you send blank authinfo, or sending nonsense timings (ie LocationFix.timestampSnapshot == Signature.timestampSinceStart)
+ ///
+ [pbr::OriginalName("SESSION_INVALIDATED")] SessionInvalidated = 100,
+ ///
+ /// occurs when the login token is invalid
+ ///
+ [pbr::OriginalName("INVALID_AUTH_TOKEN")] InvalidAuthToken = 102,
+ }
+
+ public sealed partial class PlatformResponse : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlatformResponse());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::POGOProtos.Networking.Envelopes.ResponseEnvelope.Descriptor.NestedTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public PlatformResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public PlatformResponse(PlatformResponse other) : this() {
+ type_ = other.type_;
+ response_ = other.response_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public PlatformResponse Clone() {
+ return new PlatformResponse(this);
+ }
+
+ /// Field number for the "type" field.
+ public const int TypeFieldNumber = 1;
+ private global::POGOProtos.Networking.Platform.PlatformRequestType type_ = 0;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::POGOProtos.Networking.Platform.PlatformRequestType Type {
+ get { return type_; }
+ set {
+ type_ = value;
+ }
+ }
+
+ /// Field number for the "response" field.
+ public const int ResponseFieldNumber = 2;
+ private pb::ByteString response_ = pb::ByteString.Empty;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pb::ByteString Response {
+ get { return response_; }
+ set {
+ response_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as PlatformResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(PlatformResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Type != other.Type) return false;
+ if (Response != other.Response) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Type != 0) hash ^= Type.GetHashCode();
+ if (Response.Length != 0) hash ^= Response.GetHashCode();
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (Type != 0) {
+ output.WriteRawTag(8);
+ output.WriteEnum((int) Type);
+ }
+ if (Response.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteBytes(Response);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (Type != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
+ }
+ if (Response.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(Response);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(PlatformResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Type != 0) {
+ Type = other.Type;
+ }
+ if (other.Response.Length != 0) {
+ Response = other.Response;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 8: {
+ type_ = (global::POGOProtos.Networking.Platform.PlatformRequestType) input.ReadEnum();
+ break;
+ }
+ case 18: {
+ Response = input.ReadBytes();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ }
+ #endregion
+
}
#endregion
diff --git a/Networking/Envelopes/SignalAgglomUpdates.cs b/Networking/Envelopes/SignalAgglomUpdates.cs
new file mode 100644
index 0000000..7b4ac1c
--- /dev/null
+++ b/Networking/Envelopes/SignalAgglomUpdates.cs
@@ -0,0 +1,3149 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: POGOProtos/Networking/Envelopes/SignalAgglomUpdates.proto
+#pragma warning disable 1591, 0612, 3021
+#region Designer generated code
+
+using pb = global::Google.Protobuf;
+using pbc = global::Google.Protobuf.Collections;
+using pbr = global::Google.Protobuf.Reflection;
+using scg = global::System.Collections.Generic;
+namespace POGOProtos.Networking.Envelopes {
+
+ /// Holder for reflection information generated from POGOProtos/Networking/Envelopes/SignalAgglomUpdates.proto
+ public static partial class SignalAgglomUpdatesReflection {
+
+ #region Descriptor
+ /// File descriptor for POGOProtos/Networking/Envelopes/SignalAgglomUpdates.proto
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static SignalAgglomUpdatesReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "CjlQT0dPUHJvdG9zL05ldHdvcmtpbmcvRW52ZWxvcGVzL1NpZ25hbEFnZ2xv",
+ "bVVwZGF0ZXMucHJvdG8SH1BPR09Qcm90b3MuTmV0d29ya2luZy5FbnZlbG9w",
+ "ZXMi0BIKE1NpZ25hbEFnZ2xvbVVwZGF0ZXMSPwoGZmllbGQxGAEgAygLMi8u",
+ "UE9HT1Byb3Rvcy5OZXR3b3JraW5nLkVudmVsb3Blcy5Vbmtub3duTWVzc2Fn",
+ "ZRIgChh0aW1lc3RhbXBfbXNfc2luY2Vfc3RhcnQYAiABKAMSDgoGZmllbGQz",
+ "GAMgASgJEl0KEGxvY2F0aW9uX3VwZGF0ZXMYBCADKAsyQy5QT0dPUHJvdG9z",
+ "Lk5ldHdvcmtpbmcuRW52ZWxvcGVzLlNpZ25hbEFnZ2xvbVVwZGF0ZXMuTG9j",
+ "YXRpb25VcGRhdGUSXQoQYW5kcm9pZF9ncHNfaW5mbxgFIAMoCzJDLlBPR09Q",
+ "cm90b3MuTmV0d29ya2luZy5FbnZlbG9wZXMuU2lnbmFsQWdnbG9tVXBkYXRl",
+ "cy5BbmRyb2lkR3BzSW5mbxI/CgZmaWVsZDYYBiADKAsyLy5QT0dPUHJvdG9z",
+ "Lk5ldHdvcmtpbmcuRW52ZWxvcGVzLlVua25vd25NZXNzYWdlElkKDnNlbnNv",
+ "cl91cGRhdGVzGAcgASgLMkEuUE9HT1Byb3Rvcy5OZXR3b3JraW5nLkVudmVs",
+ "b3Blcy5TaWduYWxBZ2dsb21VcGRhdGVzLlNlbnNvclVwZGF0ZRJUCgtkZXZp",
+ "Y2VfaW5mbxgIIAEoCzI/LlBPR09Qcm90b3MuTmV0d29ya2luZy5FbnZlbG9w",
+ "ZXMuU2lnbmFsQWdnbG9tVXBkYXRlcy5EZXZpY2VJbmZvElsKD2lvc19kZXZp",
+ "Y2VfaW5mbxgJIAEoCzJCLlBPR09Qcm90b3MuTmV0d29ya2luZy5FbnZlbG9w",
+ "ZXMuU2lnbmFsQWdnbG9tVXBkYXRlcy5JT1NEZXZpY2VJbmZvEiMKG2xvY2F0",
+ "aW9uX2hhc2hfYnlfdG9rZW5fc2VlZBgKIAEoBRIPCgdmaWVsZDExGAsgASgI",
+ "Eg8KB2ZpZWxkMTIYDCABKAgSDwoHZmllbGQxMxgNIAEoBRIPCgdmaWVsZDE0",
+ "GA4gASgFEg8KB2ZpZWxkMTUYDyABKAkSDwoHZmllbGQxNhgQIAEoBRIPCgdm",
+ "aWVsZDE3GBEgASgJEg8KB2ZpZWxkMTgYEiABKAkSDwoHZmllbGQxORgTIAEo",
+ "CBIVCg1sb2NhdGlvbl9oYXNoGBQgASgFEg8KB2ZpZWxkMjEYFSABKAgSDwoH",
+ "ZmllbGQyMhgWIAEoDBIaChJlcG9jaF90aW1lc3RhbXBfbXMYFyABKAQSFgoO",
+ "cmVxdWVzdF9oYXNoZXMYGCADKAMSDwoHZmllbGQyNRgZIAEoBBqPAgoOTG9j",
+ "YXRpb25VcGRhdGUSDAoEbmFtZRgBIAEoCRIUCgx0aW1lc3RhbXBfbXMYAiAB",
+ "KAMSEAoIYWx0aXR1ZGUYBCABKAESEAoIbGF0aXR1ZGUYDSABKAESEQoJbG9u",
+ "Z2l0dWRlGA4gASgBEhQKDGRldmljZV9zcGVlZBgSIAEoARIVCg1kZXZpY2Vf",
+ "Y291cnNlGBQgASgBEhsKE2hvcml6b250YWxfYWNjdXJhY3kYFSABKAESGQoR",
+ "dmVydGljYWxfYWNjdXJhY3kYFiABKAESFwoPcHJvdmlkZXJfc3RhdHVzGBog",
+ "ASgFEg0KBWZsb29yGBsgASgDEhUKDWxvY2F0aW9uX3R5cGUYHCABKAUapgEK",
+ "DUlPU0RldmljZUluZm8SDQoFYm9vbDEYASABKAgSDQoFYm9vbDIYAiABKAgS",
+ "DQoFYm9vbDMYAyABKAgSDQoFYm9vbDQYBCABKAgSDQoFYm9vbDUYBSABKAgS",
+ "DQoFYm9vbDYYBiABKAgSDQoFYm9vbDcYByABKAgSDQoFYm9vbDgYCCABKAgS",
+ "DQoFYm9vbDkYCSABKAgSDgoGYm9vbDEwGAogASgIGrEDCgxTZW5zb3JVcGRh",
+ "dGUSEQoJdGltZXN0YW1wGAEgASgEEhYKDmFjY2VsZXJhdGlvbl94GAMgASgB",
+ "EhYKDmFjY2VsZXJhdGlvbl95GAQgASgBEhYKDmFjY2VsZXJhdGlvbl96GAUg",
+ "ASgBEhgKEG1hZ25ldGljX2ZpZWxkX3gYBiABKAESGAoQbWFnbmV0aWNfZmll",
+ "bGRfeRgHIAEoARIYChBtYWduZXRpY19maWVsZF96GAggASgBEh8KF21hZ25l",
+ "dGljX2ZpZWxkX2FjY3VyYWN5GAkgASgFEhYKDmF0dGl0dWRlX3BpdGNoGAog",
+ "ASgBEhQKDGF0dGl0dWRlX3lhdxgLIAEoARIVCg1hdHRpdHVkZV9yb2xsGAwg",
+ "ASgBEhcKD3JvdGF0aW9uX3JhdGVfeBgNIAEoARIXCg9yb3RhdGlvbl9yYXRl",
+ "X3kYDiABKAESFwoPcm90YXRpb25fcmF0ZV96GA8gASgBEhEKCWdyYXZpdHlf",
+ "eBgQIAEoARIRCglncmF2aXR5X3kYESABKAESEQoJZ3Jhdml0eV96GBIgASgB",
+ "Eg4KBnN0YXR1cxgTIAEoBRrbAgoKRGV2aWNlSW5mbxIRCglkZXZpY2VfaWQY",
+ "ASABKAkSGgoSYW5kcm9pZF9ib2FyZF9uYW1lGAIgASgJEhoKEmFuZHJvaWRf",
+ "Ym9vdGxvYWRlchgDIAEoCRIUCgxkZXZpY2VfYnJhbmQYBCABKAkSFAoMZGV2",
+ "aWNlX21vZGVsGAUgASgJEh8KF2RldmljZV9tb2RlbF9pZGVudGlmaWVyGAYg",
+ "ASgJEhoKEmRldmljZV9jb21tc19tb2RlbBgHIAEoCRIdChVoYXJkd2FyZV9t",
+ "YW51ZmFjdHVyZXIYCCABKAkSFgoOaGFyZHdhcmVfbW9kZWwYCSABKAkSFgoO",
+ "ZmlybXdhcmVfYnJhbmQYCiABKAkSFQoNZmlybXdhcmVfdGFncxgMIAEoCRIV",
+ "Cg1maXJtd2FyZV90eXBlGA0gASgJEhwKFGZpcm13YXJlX2ZpbmdlcnByaW50",
+ "GA4gASgJGq8BCg5BbmRyb2lkR3BzSW5mbxITCgt0aW1lX3RvX2ZpeBgBIAEo",
+ "BBIWCg5zYXRlbGxpdGVzX3BybhgCIAMoBRIPCgdhemltdXRoGAMgAygCEhEK",
+ "CWVsZXZhdGlvbhgEIAMoAhILCgNzbnIYBSADKAISEwoLaGFzX2FsbWFuYWMY",
+ "BiADKAgSFQoNaGFzX2VwaGVtZXJpcxgHIAMoCBITCgt1c2VkX2luX2ZpeBgI",
+ "IAMoCCIQCg5Vbmtub3duTWVzc2FnZWIGcHJvdG8z"));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { },
+ new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates), global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Parser, new[]{ "Field1", "TimestampMsSinceStart", "Field3", "LocationUpdates", "AndroidGpsInfo", "Field6", "SensorUpdates", "DeviceInfo", "IosDeviceInfo", "LocationHashByTokenSeed", "Field11", "Field12", "Field13", "Field14", "Field15", "Field16", "Field17", "Field18", "Field19", "LocationHash", "Field21", "Field22", "EpochTimestampMs", "RequestHashes", "Field25" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Types.LocationUpdate), global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Types.LocationUpdate.Parser, new[]{ "Name", "TimestampMs", "Altitude", "Latitude", "Longitude", "DeviceSpeed", "DeviceCourse", "HorizontalAccuracy", "VerticalAccuracy", "ProviderStatus", "Floor", "LocationType" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Types.IOSDeviceInfo), global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Types.IOSDeviceInfo.Parser, new[]{ "Bool1", "Bool2", "Bool3", "Bool4", "Bool5", "Bool6", "Bool7", "Bool8", "Bool9", "Bool10" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Types.SensorUpdate), global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Types.SensorUpdate.Parser, new[]{ "Timestamp", "AccelerationX", "AccelerationY", "AccelerationZ", "MagneticFieldX", "MagneticFieldY", "MagneticFieldZ", "MagneticFieldAccuracy", "AttitudePitch", "AttitudeYaw", "AttitudeRoll", "RotationRateX", "RotationRateY", "RotationRateZ", "GravityX", "GravityY", "GravityZ", "Status" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Types.DeviceInfo), global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Types.DeviceInfo.Parser, new[]{ "DeviceId", "AndroidBoardName", "AndroidBootloader", "DeviceBrand", "DeviceModel", "DeviceModelIdentifier", "DeviceCommsModel", "HardwareManufacturer", "HardwareModel", "FirmwareBrand", "FirmwareTags", "FirmwareType", "FirmwareFingerprint" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Types.AndroidGpsInfo), global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Types.AndroidGpsInfo.Parser, new[]{ "TimeToFix", "SatellitesPrn", "Azimuth", "Elevation", "Snr", "HasAlmanac", "HasEphemeris", "UsedInFix" }, null, null, null)}),
+ new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.UnknownMessage), global::POGOProtos.Networking.Envelopes.UnknownMessage.Parser, null, null, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ ///
+ /// Note: Some int32's in these messages may actually be float values, but due to how things are serialized, and little backing-data
+ /// I can't confirm them being floats or not. All others are confirmed.
+ /// Note2: In the native lib, it does not look like they actually serialize to float. They use float datatypes in native structures, but serialize to doubles
+ /// Note3: We really shouldn't call this 'Signature' it's an agglomerated update packet for device reading changes + request hashes
+ ///
+ public sealed partial class SignalAgglomUpdates : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SignalAgglomUpdates());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::POGOProtos.Networking.Envelopes.SignalAgglomUpdatesReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public SignalAgglomUpdates() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public SignalAgglomUpdates(SignalAgglomUpdates other) : this() {
+ field1_ = other.field1_.Clone();
+ timestampMsSinceStart_ = other.timestampMsSinceStart_;
+ field3_ = other.field3_;
+ locationUpdates_ = other.locationUpdates_.Clone();
+ androidGpsInfo_ = other.androidGpsInfo_.Clone();
+ field6_ = other.field6_.Clone();
+ SensorUpdates = other.sensorUpdates_ != null ? other.SensorUpdates.Clone() : null;
+ DeviceInfo = other.deviceInfo_ != null ? other.DeviceInfo.Clone() : null;
+ IosDeviceInfo = other.iosDeviceInfo_ != null ? other.IosDeviceInfo.Clone() : null;
+ locationHashByTokenSeed_ = other.locationHashByTokenSeed_;
+ field11_ = other.field11_;
+ field12_ = other.field12_;
+ field13_ = other.field13_;
+ field14_ = other.field14_;
+ field15_ = other.field15_;
+ field16_ = other.field16_;
+ field17_ = other.field17_;
+ field18_ = other.field18_;
+ field19_ = other.field19_;
+ locationHash_ = other.locationHash_;
+ field21_ = other.field21_;
+ field22_ = other.field22_;
+ epochTimestampMs_ = other.epochTimestampMs_;
+ requestHashes_ = other.requestHashes_.Clone();
+ field25_ = other.field25_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public SignalAgglomUpdates Clone() {
+ return new SignalAgglomUpdates(this);
+ }
+
+ /// Field number for the "field1" field.
+ public const int Field1FieldNumber = 1;
+ private static readonly pb::FieldCodec _repeated_field1_codec
+ = pb::FieldCodec.ForMessage(10, global::POGOProtos.Networking.Envelopes.UnknownMessage.Parser);
+ private readonly pbc::RepeatedField field1_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField Field1 {
+ get { return field1_; }
+ }
+
+ /// Field number for the "timestamp_ms_since_start" field.
+ public const int TimestampMsSinceStartFieldNumber = 2;
+ private ulong timestampMsSinceStart_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public ulong TimestampMsSinceStart {
+ get { return timestampMsSinceStart_; }
+ set {
+ timestampMsSinceStart_ = value;
+ }
+ }
+
+ /// Field number for the "field3" field.
+ public const int Field3FieldNumber = 3;
+ private string field3_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string Field3 {
+ get { return field3_; }
+ set {
+ field3_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "location_updates" field.
+ public const int LocationUpdatesFieldNumber = 4;
+ private static readonly pb::FieldCodec _repeated_locationUpdates_codec
+ = pb::FieldCodec.ForMessage(34, global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Types.LocationUpdate.Parser);
+ private readonly pbc::RepeatedField locationUpdates_ = new pbc::RepeatedField();
+ ///
+ /// Multiple location updates at a time. This is all the updates since the last time we sent a request
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField LocationUpdates {
+ get { return locationUpdates_; }
+ }
+
+ /// Field number for the "android_gps_info" field.
+ public const int AndroidGpsInfoFieldNumber = 5;
+ private static readonly pb::FieldCodec _repeated_androidGpsInfo_codec
+ = pb::FieldCodec.ForMessage(42, global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Types.AndroidGpsInfo.Parser);
+ private readonly pbc::RepeatedField androidGpsInfo_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField AndroidGpsInfo {
+ get { return androidGpsInfo_; }
+ }
+
+ /// Field number for the "field6" field.
+ public const int Field6FieldNumber = 6;
+ private static readonly pb::FieldCodec _repeated_field6_codec
+ = pb::FieldCodec.ForMessage(50, global::POGOProtos.Networking.Envelopes.UnknownMessage.Parser);
+ private readonly pbc::RepeatedField field6_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField Field6 {
+ get { return field6_; }
+ }
+
+ /// Field number for the "sensor_updates" field.
+ public const int SensorUpdatesFieldNumber = 7;
+ private global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Types.SensorUpdate sensorUpdates_;
+ ///
+ /// All the sensor updates since the last time we sent a request. (Seems to actually be throttled to 1-3 at a time)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Types.SensorUpdate SensorUpdates {
+ get { return sensorUpdates_; }
+ set {
+ sensorUpdates_ = value;
+ }
+ }
+
+ /// Field number for the "device_info" field.
+ public const int DeviceInfoFieldNumber = 8;
+ private global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Types.DeviceInfo deviceInfo_;
+ ///
+ /// device info - need to find this still to verify everything
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Types.DeviceInfo DeviceInfo {
+ get { return deviceInfo_; }
+ set {
+ deviceInfo_ = value;
+ }
+ }
+
+ /// Field number for the "ios_device_info" field.
+ public const int IosDeviceInfoFieldNumber = 9;
+ private global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Types.IOSDeviceInfo iosDeviceInfo_;
+ ///
+ /// iOS only - likely device capabilities? (Or even simpler being iOS device version flags)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Types.IOSDeviceInfo IosDeviceInfo {
+ get { return iosDeviceInfo_; }
+ set {
+ iosDeviceInfo_ = value;
+ }
+ }
+
+ /// Field number for the "location_hash_by_token_seed" field.
+ public const int LocationHashByTokenSeedFieldNumber = 10;
+ private uint locationHashByTokenSeed_;
+ ///
+ /// Hashed location using the auth token as the seed (hashed auth token -> location hash seed)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint LocationHashByTokenSeed {
+ get { return locationHashByTokenSeed_; }
+ set {
+ locationHashByTokenSeed_ = value;
+ }
+ }
+
+ /// Field number for the "field11" field.
+ public const int Field11FieldNumber = 11;
+ private bool field11_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Field11 {
+ get { return field11_; }
+ set {
+ field11_ = value;
+ }
+ }
+
+ /// Field number for the "field12" field.
+ public const int Field12FieldNumber = 12;
+ private bool field12_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Field12 {
+ get { return field12_; }
+ set {
+ field12_ = value;
+ }
+ }
+
+ /// Field number for the "field13" field.
+ public const int Field13FieldNumber = 13;
+ private int field13_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int Field13 {
+ get { return field13_; }
+ set {
+ field13_ = value;
+ }
+ }
+
+ /// Field number for the "field14" field.
+ public const int Field14FieldNumber = 14;
+ private int field14_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int Field14 {
+ get { return field14_; }
+ set {
+ field14_ = value;
+ }
+ }
+
+ /// Field number for the "field15" field.
+ public const int Field15FieldNumber = 15;
+ private string field15_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string Field15 {
+ get { return field15_; }
+ set {
+ field15_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "field16" field.
+ public const int Field16FieldNumber = 16;
+ private int field16_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int Field16 {
+ get { return field16_; }
+ set {
+ field16_ = value;
+ }
+ }
+
+ /// Field number for the "field17" field.
+ public const int Field17FieldNumber = 17;
+ private string field17_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string Field17 {
+ get { return field17_; }
+ set {
+ field17_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "field18" field.
+ public const int Field18FieldNumber = 18;
+ private string field18_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string Field18 {
+ get { return field18_; }
+ set {
+ field18_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "field19" field.
+ public const int Field19FieldNumber = 19;
+ private bool field19_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Field19 {
+ get { return field19_; }
+ set {
+ field19_ = value;
+ }
+ }
+
+ /// Field number for the "location_hash" field.
+ public const int LocationHashFieldNumber = 20;
+ private uint locationHash_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint LocationHash {
+ get { return locationHash_; }
+ set {
+ locationHash_ = value;
+ }
+ }
+
+ /// Field number for the "field21" field.
+ public const int Field21FieldNumber = 21;
+ private bool field21_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Field21 {
+ get { return field21_; }
+ set {
+ field21_ = value;
+ }
+ }
+
+ /// Field number for the "field22" field.
+ public const int Field22FieldNumber = 22;
+ private pb::ByteString field22_ = pb::ByteString.Empty;
+ ///
+ /// replay check - Changes every 5 minutes or so. Generation unknown but pointed to by 0001B8614
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pb::ByteString Field22 {
+ get { return field22_; }
+ set {
+ field22_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "epoch_timestamp_ms" field.
+ public const int EpochTimestampMsFieldNumber = 23;
+ private ulong epochTimestampMs_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public ulong EpochTimestampMs {
+ get { return epochTimestampMs_; }
+ set {
+ epochTimestampMs_ = value;
+ }
+ }
+
+ /// Field number for the "request_hashes" field.
+ public const ulong RequestHashesFieldNumber = 24;
+ private static readonly pb::FieldCodec _repeated_requestHashes_codec
+ = pb::FieldCodec.ForUInt64(194);
+ private readonly pbc::RepeatedField requestHashes_ = new pbc::RepeatedField();
+ ///
+ /// xxHash64 of the requests being sent with this agglom
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField RequestHashes {
+ get { return requestHashes_; }
+ }
+
+ /// Field number for the "field25" field.
+ public const int Field25FieldNumber = 25;
+ private ulong field25_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public ulong Field25 {
+ get { return field25_; }
+ set {
+ field25_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as SignalAgglomUpdates);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(SignalAgglomUpdates other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if(!field1_.Equals(other.field1_)) return false;
+ if (TimestampMsSinceStart != other.TimestampMsSinceStart) return false;
+ if (Field3 != other.Field3) return false;
+ if(!locationUpdates_.Equals(other.locationUpdates_)) return false;
+ if(!androidGpsInfo_.Equals(other.androidGpsInfo_)) return false;
+ if(!field6_.Equals(other.field6_)) return false;
+ if (!object.Equals(SensorUpdates, other.SensorUpdates)) return false;
+ if (!object.Equals(DeviceInfo, other.DeviceInfo)) return false;
+ if (!object.Equals(IosDeviceInfo, other.IosDeviceInfo)) return false;
+ if (LocationHashByTokenSeed != other.LocationHashByTokenSeed) return false;
+ if (Field11 != other.Field11) return false;
+ if (Field12 != other.Field12) return false;
+ if (Field13 != other.Field13) return false;
+ if (Field14 != other.Field14) return false;
+ if (Field15 != other.Field15) return false;
+ if (Field16 != other.Field16) return false;
+ if (Field17 != other.Field17) return false;
+ if (Field18 != other.Field18) return false;
+ if (Field19 != other.Field19) return false;
+ if (LocationHash != other.LocationHash) return false;
+ if (Field21 != other.Field21) return false;
+ if (Field22 != other.Field22) return false;
+ if (EpochTimestampMs != other.EpochTimestampMs) return false;
+ if(!requestHashes_.Equals(other.requestHashes_)) return false;
+ if (Field25 != other.Field25) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ hash ^= field1_.GetHashCode();
+ if (TimestampMsSinceStart != 0L) hash ^= TimestampMsSinceStart.GetHashCode();
+ if (Field3.Length != 0) hash ^= Field3.GetHashCode();
+ hash ^= locationUpdates_.GetHashCode();
+ hash ^= androidGpsInfo_.GetHashCode();
+ hash ^= field6_.GetHashCode();
+ if (sensorUpdates_ != null) hash ^= SensorUpdates.GetHashCode();
+ if (deviceInfo_ != null) hash ^= DeviceInfo.GetHashCode();
+ if (iosDeviceInfo_ != null) hash ^= IosDeviceInfo.GetHashCode();
+ if (LocationHashByTokenSeed != 0) hash ^= LocationHashByTokenSeed.GetHashCode();
+ if (Field11 != false) hash ^= Field11.GetHashCode();
+ if (Field12 != false) hash ^= Field12.GetHashCode();
+ if (Field13 != 0) hash ^= Field13.GetHashCode();
+ if (Field14 != 0) hash ^= Field14.GetHashCode();
+ if (Field15.Length != 0) hash ^= Field15.GetHashCode();
+ if (Field16 != 0) hash ^= Field16.GetHashCode();
+ if (Field17.Length != 0) hash ^= Field17.GetHashCode();
+ if (Field18.Length != 0) hash ^= Field18.GetHashCode();
+ if (Field19 != false) hash ^= Field19.GetHashCode();
+ if (LocationHash != 0) hash ^= LocationHash.GetHashCode();
+ if (Field21 != false) hash ^= Field21.GetHashCode();
+ if (Field22.Length != 0) hash ^= Field22.GetHashCode();
+ if (EpochTimestampMs != 0UL) hash ^= EpochTimestampMs.GetHashCode();
+ hash ^= requestHashes_.GetHashCode();
+ if (Field25 != 0UL) hash ^= Field25.GetHashCode();
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ field1_.WriteTo(output, _repeated_field1_codec);
+ if (TimestampMsSinceStart != 0L) {
+ output.WriteRawTag(16);
+ output.WriteUInt64(TimestampMsSinceStart);
+ }
+ if (Field3.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(Field3);
+ }
+ locationUpdates_.WriteTo(output, _repeated_locationUpdates_codec);
+ androidGpsInfo_.WriteTo(output, _repeated_androidGpsInfo_codec);
+ field6_.WriteTo(output, _repeated_field6_codec);
+ if (sensorUpdates_ != null) {
+ output.WriteRawTag(58);
+ output.WriteMessage(SensorUpdates);
+ }
+ if (deviceInfo_ != null) {
+ output.WriteRawTag(66);
+ output.WriteMessage(DeviceInfo);
+ }
+ if (iosDeviceInfo_ != null) {
+ output.WriteRawTag(74);
+ output.WriteMessage(IosDeviceInfo);
+ }
+ if (LocationHashByTokenSeed != 0) {
+ output.WriteRawTag(80);
+ output.WriteUInt32(LocationHashByTokenSeed);
+ }
+ if (Field11 != false) {
+ output.WriteRawTag(88);
+ output.WriteBool(Field11);
+ }
+ if (Field12 != false) {
+ output.WriteRawTag(96);
+ output.WriteBool(Field12);
+ }
+ if (Field13 != 0) {
+ output.WriteRawTag(104);
+ output.WriteInt32(Field13);
+ }
+ if (Field14 != 0) {
+ output.WriteRawTag(112);
+ output.WriteInt32(Field14);
+ }
+ if (Field15.Length != 0) {
+ output.WriteRawTag(122);
+ output.WriteString(Field15);
+ }
+ if (Field16 != 0) {
+ output.WriteRawTag(128, 1);
+ output.WriteInt32(Field16);
+ }
+ if (Field17.Length != 0) {
+ output.WriteRawTag(138, 1);
+ output.WriteString(Field17);
+ }
+ if (Field18.Length != 0) {
+ output.WriteRawTag(146, 1);
+ output.WriteString(Field18);
+ }
+ if (Field19 != false) {
+ output.WriteRawTag(152, 1);
+ output.WriteBool(Field19);
+ }
+ if (LocationHash != 0) {
+ output.WriteRawTag(160, 1);
+ output.WriteUInt32(LocationHash);
+ }
+ if (Field21 != false) {
+ output.WriteRawTag(168, 1);
+ output.WriteBool(Field21);
+ }
+ if (Field22.Length != 0) {
+ output.WriteRawTag(178, 1);
+ output.WriteBytes(Field22);
+ }
+ if (EpochTimestampMs != 0UL) {
+ output.WriteRawTag(184, 1);
+ output.WriteUInt64(EpochTimestampMs);
+ }
+ requestHashes_.WriteTo(output, _repeated_requestHashes_codec);
+ if (Field25 != 0UL) {
+ output.WriteRawTag(200, 1);
+ output.WriteUInt64(Field25);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ size += field1_.CalculateSize(_repeated_field1_codec);
+ if (TimestampMsSinceStart != 0L) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt64Size(TimestampMsSinceStart);
+ }
+ if (Field3.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Field3);
+ }
+ size += locationUpdates_.CalculateSize(_repeated_locationUpdates_codec);
+ size += androidGpsInfo_.CalculateSize(_repeated_androidGpsInfo_codec);
+ size += field6_.CalculateSize(_repeated_field6_codec);
+ if (sensorUpdates_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(SensorUpdates);
+ }
+ if (deviceInfo_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(DeviceInfo);
+ }
+ if (iosDeviceInfo_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(IosDeviceInfo);
+ }
+ if (LocationHashByTokenSeed != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LocationHashByTokenSeed);
+ }
+ if (Field11 != false) {
+ size += 1 + 1;
+ }
+ if (Field12 != false) {
+ size += 1 + 1;
+ }
+ if (Field13 != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(Field13);
+ }
+ if (Field14 != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(Field14);
+ }
+ if (Field15.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Field15);
+ }
+ if (Field16 != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field16);
+ }
+ if (Field17.Length != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeStringSize(Field17);
+ }
+ if (Field18.Length != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeStringSize(Field18);
+ }
+ if (Field19 != false) {
+ size += 2 + 1;
+ }
+ if (LocationHash != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeUInt32Size(LocationHash);
+ }
+ if (Field21 != false) {
+ size += 2 + 1;
+ }
+ if (Field22.Length != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeBytesSize(Field22);
+ }
+ if (EpochTimestampMs != 0UL) {
+ size += 2 + pb::CodedOutputStream.ComputeUInt64Size(EpochTimestampMs);
+ }
+ size += requestHashes_.CalculateSize(_repeated_requestHashes_codec);
+ if (Field25 != 0UL) {
+ size += 2 + pb::CodedOutputStream.ComputeUInt64Size(Field25);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(SignalAgglomUpdates other) {
+ if (other == null) {
+ return;
+ }
+ field1_.Add(other.field1_);
+ if (other.TimestampMsSinceStart != 0L) {
+ TimestampMsSinceStart = other.TimestampMsSinceStart;
+ }
+ if (other.Field3.Length != 0) {
+ Field3 = other.Field3;
+ }
+ locationUpdates_.Add(other.locationUpdates_);
+ androidGpsInfo_.Add(other.androidGpsInfo_);
+ field6_.Add(other.field6_);
+ if (other.sensorUpdates_ != null) {
+ if (sensorUpdates_ == null) {
+ sensorUpdates_ = new global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Types.SensorUpdate();
+ }
+ SensorUpdates.MergeFrom(other.SensorUpdates);
+ }
+ if (other.deviceInfo_ != null) {
+ if (deviceInfo_ == null) {
+ deviceInfo_ = new global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Types.DeviceInfo();
+ }
+ DeviceInfo.MergeFrom(other.DeviceInfo);
+ }
+ if (other.iosDeviceInfo_ != null) {
+ if (iosDeviceInfo_ == null) {
+ iosDeviceInfo_ = new global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Types.IOSDeviceInfo();
+ }
+ IosDeviceInfo.MergeFrom(other.IosDeviceInfo);
+ }
+ if (other.LocationHashByTokenSeed != 0) {
+ LocationHashByTokenSeed = other.LocationHashByTokenSeed;
+ }
+ if (other.Field11 != false) {
+ Field11 = other.Field11;
+ }
+ if (other.Field12 != false) {
+ Field12 = other.Field12;
+ }
+ if (other.Field13 != 0) {
+ Field13 = other.Field13;
+ }
+ if (other.Field14 != 0) {
+ Field14 = other.Field14;
+ }
+ if (other.Field15.Length != 0) {
+ Field15 = other.Field15;
+ }
+ if (other.Field16 != 0) {
+ Field16 = other.Field16;
+ }
+ if (other.Field17.Length != 0) {
+ Field17 = other.Field17;
+ }
+ if (other.Field18.Length != 0) {
+ Field18 = other.Field18;
+ }
+ if (other.Field19 != false) {
+ Field19 = other.Field19;
+ }
+ if (other.LocationHash != 0) {
+ LocationHash = other.LocationHash;
+ }
+ if (other.Field21 != false) {
+ Field21 = other.Field21;
+ }
+ if (other.Field22.Length != 0) {
+ Field22 = other.Field22;
+ }
+ if (other.EpochTimestampMs != 0UL) {
+ EpochTimestampMs = other.EpochTimestampMs;
+ }
+ requestHashes_.Add(other.requestHashes_);
+ if (other.Field25 != 0UL) {
+ Field25 = other.Field25;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 10: {
+ field1_.AddEntriesFrom(input, _repeated_field1_codec);
+ break;
+ }
+ case 16: {
+ TimestampMsSinceStart = input.ReadUInt64();
+ break;
+ }
+ case 26: {
+ Field3 = input.ReadString();
+ break;
+ }
+ case 34: {
+ locationUpdates_.AddEntriesFrom(input, _repeated_locationUpdates_codec);
+ break;
+ }
+ case 42: {
+ androidGpsInfo_.AddEntriesFrom(input, _repeated_androidGpsInfo_codec);
+ break;
+ }
+ case 50: {
+ field6_.AddEntriesFrom(input, _repeated_field6_codec);
+ break;
+ }
+ case 58: {
+ if (sensorUpdates_ == null) {
+ sensorUpdates_ = new global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Types.SensorUpdate();
+ }
+ input.ReadMessage(sensorUpdates_);
+ break;
+ }
+ case 66: {
+ if (deviceInfo_ == null) {
+ deviceInfo_ = new global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Types.DeviceInfo();
+ }
+ input.ReadMessage(deviceInfo_);
+ break;
+ }
+ case 74: {
+ if (iosDeviceInfo_ == null) {
+ iosDeviceInfo_ = new global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Types.IOSDeviceInfo();
+ }
+ input.ReadMessage(iosDeviceInfo_);
+ break;
+ }
+ case 80: {
+ LocationHashByTokenSeed = input.ReadUInt32();
+ break;
+ }
+ case 88: {
+ Field11 = input.ReadBool();
+ break;
+ }
+ case 96: {
+ Field12 = input.ReadBool();
+ break;
+ }
+ case 104: {
+ Field13 = input.ReadInt32();
+ break;
+ }
+ case 112: {
+ Field14 = input.ReadInt32();
+ break;
+ }
+ case 122: {
+ Field15 = input.ReadString();
+ break;
+ }
+ case 128: {
+ Field16 = input.ReadInt32();
+ break;
+ }
+ case 138: {
+ Field17 = input.ReadString();
+ break;
+ }
+ case 146: {
+ Field18 = input.ReadString();
+ break;
+ }
+ case 152: {
+ Field19 = input.ReadBool();
+ break;
+ }
+ case 160: {
+ LocationHash = input.ReadUInt32();
+ break;
+ }
+ case 168: {
+ Field21 = input.ReadBool();
+ break;
+ }
+ case 178: {
+ Field22 = input.ReadBytes();
+ break;
+ }
+ case 184: {
+ EpochTimestampMs = input.ReadUInt64();
+ break;
+ }
+ case 194:
+ case 192: {
+ requestHashes_.AddEntriesFrom(input, _repeated_requestHashes_codec);
+ break;
+ }
+ case 200: {
+ Field25 = input.ReadUInt64();
+ break;
+ }
+ }
+ }
+ }
+
+ #region Nested types
+ /// Container for nested types declared in the SignalAgglomUpdates message type.
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static partial class Types {
+ ///
+ /// 100% - Reference iOS lib "LocationUpdate" structure for bridge
+ ///
+ public sealed partial class LocationUpdate : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LocationUpdate());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Descriptor.NestedTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public LocationUpdate() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public LocationUpdate(LocationUpdate other) : this() {
+ name_ = other.name_;
+ timestampMs_ = other.timestampMs_;
+ altitude_ = other.altitude_;
+ latitude_ = other.latitude_;
+ longitude_ = other.longitude_;
+ deviceSpeed_ = other.deviceSpeed_;
+ deviceCourse_ = other.deviceCourse_;
+ horizontalAccuracy_ = other.horizontalAccuracy_;
+ verticalAccuracy_ = other.verticalAccuracy_;
+ providerStatus_ = other.providerStatus_;
+ floor_ = other.floor_;
+ locationType_ = other.locationType_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public LocationUpdate Clone() {
+ return new LocationUpdate(this);
+ }
+
+ /// Field number for the "name" field.
+ public const int NameFieldNumber = 1;
+ private string name_ = "";
+ ///
+ /// "network", "gps", "fused" - only these 3 values (com.nianticlabs.location.NianticLocationManager.class)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string Name {
+ get { return name_; }
+ set {
+ name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "timestamp_ms" field.
+ public const int TimestampMsFieldNumber = 2;
+ private long timestampMs_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public long TimestampMs {
+ get { return timestampMs_; }
+ set {
+ timestampMs_ = value;
+ }
+ }
+
+ /// Field number for the "altitude" field.
+ public const int AltitudeFieldNumber = 4;
+ private double altitude_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double Altitude {
+ get { return altitude_; }
+ set {
+ altitude_ = value;
+ }
+ }
+
+ /// Field number for the "latitude" field.
+ public const int LatitudeFieldNumber = 13;
+ private double latitude_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double Latitude {
+ get { return latitude_; }
+ set {
+ latitude_ = value;
+ }
+ }
+
+ /// Field number for the "longitude" field.
+ public const int LongitudeFieldNumber = 14;
+ private double longitude_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double Longitude {
+ get { return longitude_; }
+ set {
+ longitude_ = value;
+ }
+ }
+
+ /// Field number for the "device_speed" field.
+ public const int DeviceSpeedFieldNumber = 18;
+ private double deviceSpeed_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double DeviceSpeed {
+ get { return deviceSpeed_; }
+ set {
+ deviceSpeed_ = value;
+ }
+ }
+
+ /// Field number for the "device_course" field.
+ public const int DeviceCourseFieldNumber = 20;
+ private double deviceCourse_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double DeviceCourse {
+ get { return deviceCourse_; }
+ set {
+ deviceCourse_ = value;
+ }
+ }
+
+ /// Field number for the "horizontal_accuracy" field.
+ public const int HorizontalAccuracyFieldNumber = 21;
+ private double horizontalAccuracy_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double HorizontalAccuracy {
+ get { return horizontalAccuracy_; }
+ set {
+ horizontalAccuracy_ = value;
+ }
+ }
+
+ /// Field number for the "vertical_accuracy" field.
+ public const int VerticalAccuracyFieldNumber = 22;
+ private double verticalAccuracy_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double VerticalAccuracy {
+ get { return verticalAccuracy_; }
+ set {
+ verticalAccuracy_ = value;
+ }
+ }
+
+ /// Field number for the "provider_status" field.
+ public const int ProviderStatusFieldNumber = 26;
+ private int providerStatus_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int ProviderStatus {
+ get { return providerStatus_; }
+ set {
+ providerStatus_ = value;
+ }
+ }
+
+ /// Field number for the "floor" field.
+ public const int FloorFieldNumber = 27;
+ private long floor_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public long Floor {
+ get { return floor_; }
+ set {
+ floor_ = value;
+ }
+ }
+
+ /// Field number for the "location_type" field.
+ public const int LocationTypeFieldNumber = 28;
+ private int locationType_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int LocationType {
+ get { return locationType_; }
+ set {
+ locationType_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as LocationUpdate);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(LocationUpdate other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Name != other.Name) return false;
+ if (TimestampMs != other.TimestampMs) return false;
+ if (Altitude != other.Altitude) return false;
+ if (Latitude != other.Latitude) return false;
+ if (Longitude != other.Longitude) return false;
+ if (DeviceSpeed != other.DeviceSpeed) return false;
+ if (DeviceCourse != other.DeviceCourse) return false;
+ if (HorizontalAccuracy != other.HorizontalAccuracy) return false;
+ if (VerticalAccuracy != other.VerticalAccuracy) return false;
+ if (ProviderStatus != other.ProviderStatus) return false;
+ if (Floor != other.Floor) return false;
+ if (LocationType != other.LocationType) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Name.Length != 0) hash ^= Name.GetHashCode();
+ if (TimestampMs != 0L) hash ^= TimestampMs.GetHashCode();
+ if (Altitude != 0D) hash ^= Altitude.GetHashCode();
+ if (Latitude != 0D) hash ^= Latitude.GetHashCode();
+ if (Longitude != 0D) hash ^= Longitude.GetHashCode();
+ if (DeviceSpeed != 0D) hash ^= DeviceSpeed.GetHashCode();
+ if (DeviceCourse != 0D) hash ^= DeviceCourse.GetHashCode();
+ if (HorizontalAccuracy != 0D) hash ^= HorizontalAccuracy.GetHashCode();
+ if (VerticalAccuracy != 0D) hash ^= VerticalAccuracy.GetHashCode();
+ if (ProviderStatus != 0) hash ^= ProviderStatus.GetHashCode();
+ if (Floor != 0L) hash ^= Floor.GetHashCode();
+ if (LocationType != 0) hash ^= LocationType.GetHashCode();
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (Name.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Name);
+ }
+ if (TimestampMs != 0L) {
+ output.WriteRawTag(16);
+ output.WriteInt64(TimestampMs);
+ }
+ if (Altitude != 0D) {
+ output.WriteRawTag(33);
+ output.WriteDouble(Altitude);
+ }
+ if (Latitude != 0D) {
+ output.WriteRawTag(105);
+ output.WriteDouble(Latitude);
+ }
+ if (Longitude != 0D) {
+ output.WriteRawTag(113);
+ output.WriteDouble(Longitude);
+ }
+ if (DeviceSpeed != 0D) {
+ output.WriteRawTag(145, 1);
+ output.WriteDouble(DeviceSpeed);
+ }
+ if (DeviceCourse != 0D) {
+ output.WriteRawTag(161, 1);
+ output.WriteDouble(DeviceCourse);
+ }
+ if (HorizontalAccuracy != 0D) {
+ output.WriteRawTag(169, 1);
+ output.WriteDouble(HorizontalAccuracy);
+ }
+ if (VerticalAccuracy != 0D) {
+ output.WriteRawTag(177, 1);
+ output.WriteDouble(VerticalAccuracy);
+ }
+ if (ProviderStatus != 0) {
+ output.WriteRawTag(208, 1);
+ output.WriteInt32(ProviderStatus);
+ }
+ if (Floor != 0L) {
+ output.WriteRawTag(216, 1);
+ output.WriteInt64(Floor);
+ }
+ if (LocationType != 0) {
+ output.WriteRawTag(224, 1);
+ output.WriteInt32(LocationType);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (Name.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
+ }
+ if (TimestampMs != 0L) {
+ size += 1 + pb::CodedOutputStream.ComputeInt64Size(TimestampMs);
+ }
+ if (Altitude != 0D) {
+ size += 1 + 8;
+ }
+ if (Latitude != 0D) {
+ size += 1 + 8;
+ }
+ if (Longitude != 0D) {
+ size += 1 + 8;
+ }
+ if (DeviceSpeed != 0D) {
+ size += 2 + 8;
+ }
+ if (DeviceCourse != 0D) {
+ size += 2 + 8;
+ }
+ if (HorizontalAccuracy != 0D) {
+ size += 2 + 8;
+ }
+ if (VerticalAccuracy != 0D) {
+ size += 2 + 8;
+ }
+ if (ProviderStatus != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeInt32Size(ProviderStatus);
+ }
+ if (Floor != 0L) {
+ size += 2 + pb::CodedOutputStream.ComputeInt64Size(Floor);
+ }
+ if (LocationType != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeInt32Size(LocationType);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(LocationUpdate other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Name.Length != 0) {
+ Name = other.Name;
+ }
+ if (other.TimestampMs != 0L) {
+ TimestampMs = other.TimestampMs;
+ }
+ if (other.Altitude != 0D) {
+ Altitude = other.Altitude;
+ }
+ if (other.Latitude != 0D) {
+ Latitude = other.Latitude;
+ }
+ if (other.Longitude != 0D) {
+ Longitude = other.Longitude;
+ }
+ if (other.DeviceSpeed != 0D) {
+ DeviceSpeed = other.DeviceSpeed;
+ }
+ if (other.DeviceCourse != 0D) {
+ DeviceCourse = other.DeviceCourse;
+ }
+ if (other.HorizontalAccuracy != 0D) {
+ HorizontalAccuracy = other.HorizontalAccuracy;
+ }
+ if (other.VerticalAccuracy != 0D) {
+ VerticalAccuracy = other.VerticalAccuracy;
+ }
+ if (other.ProviderStatus != 0) {
+ ProviderStatus = other.ProviderStatus;
+ }
+ if (other.Floor != 0L) {
+ Floor = other.Floor;
+ }
+ if (other.LocationType != 0) {
+ LocationType = other.LocationType;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 10: {
+ Name = input.ReadString();
+ break;
+ }
+ case 16: {
+ TimestampMs = input.ReadInt64();
+ break;
+ }
+ case 33: {
+ Altitude = input.ReadDouble();
+ break;
+ }
+ case 105: {
+ Latitude = input.ReadDouble();
+ break;
+ }
+ case 113: {
+ Longitude = input.ReadDouble();
+ break;
+ }
+ case 145: {
+ DeviceSpeed = input.ReadDouble();
+ break;
+ }
+ case 161: {
+ DeviceCourse = input.ReadDouble();
+ break;
+ }
+ case 169: {
+ HorizontalAccuracy = input.ReadDouble();
+ break;
+ }
+ case 177: {
+ VerticalAccuracy = input.ReadDouble();
+ break;
+ }
+ case 208: {
+ ProviderStatus = input.ReadInt32();
+ break;
+ }
+ case 216: {
+ Floor = input.ReadInt64();
+ break;
+ }
+ case 224: {
+ LocationType = input.ReadInt32();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ ///
+ /// iOS only
+ ///
+ public sealed partial class IOSDeviceInfo : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IOSDeviceInfo());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Descriptor.NestedTypes[1]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public IOSDeviceInfo() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public IOSDeviceInfo(IOSDeviceInfo other) : this() {
+ bool1_ = other.bool1_;
+ bool2_ = other.bool2_;
+ bool3_ = other.bool3_;
+ bool4_ = other.bool4_;
+ bool5_ = other.bool5_;
+ bool6_ = other.bool6_;
+ bool7_ = other.bool7_;
+ bool8_ = other.bool8_;
+ bool9_ = other.bool9_;
+ bool10_ = other.bool10_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public IOSDeviceInfo Clone() {
+ return new IOSDeviceInfo(this);
+ }
+
+ /// Field number for the "bool1" field.
+ public const int Bool1FieldNumber = 1;
+ private bool bool1_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Bool1 {
+ get { return bool1_; }
+ set {
+ bool1_ = value;
+ }
+ }
+
+ /// Field number for the "bool2" field.
+ public const int Bool2FieldNumber = 2;
+ private bool bool2_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Bool2 {
+ get { return bool2_; }
+ set {
+ bool2_ = value;
+ }
+ }
+
+ /// Field number for the "bool3" field.
+ public const int Bool3FieldNumber = 3;
+ private bool bool3_;
+ ///
+ /// 1
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Bool3 {
+ get { return bool3_; }
+ set {
+ bool3_ = value;
+ }
+ }
+
+ /// Field number for the "bool4" field.
+ public const int Bool4FieldNumber = 4;
+ private bool bool4_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Bool4 {
+ get { return bool4_; }
+ set {
+ bool4_ = value;
+ }
+ }
+
+ /// Field number for the "bool5" field.
+ public const int Bool5FieldNumber = 5;
+ private bool bool5_;
+ ///
+ /// 1
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Bool5 {
+ get { return bool5_; }
+ set {
+ bool5_ = value;
+ }
+ }
+
+ /// Field number for the "bool6" field.
+ public const int Bool6FieldNumber = 6;
+ private bool bool6_;
+ ///
+ /// 1
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Bool6 {
+ get { return bool6_; }
+ set {
+ bool6_ = value;
+ }
+ }
+
+ /// Field number for the "bool7" field.
+ public const int Bool7FieldNumber = 7;
+ private bool bool7_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Bool7 {
+ get { return bool7_; }
+ set {
+ bool7_ = value;
+ }
+ }
+
+ /// Field number for the "bool8" field.
+ public const int Bool8FieldNumber = 8;
+ private bool bool8_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Bool8 {
+ get { return bool8_; }
+ set {
+ bool8_ = value;
+ }
+ }
+
+ /// Field number for the "bool9" field.
+ public const int Bool9FieldNumber = 9;
+ private bool bool9_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Bool9 {
+ get { return bool9_; }
+ set {
+ bool9_ = value;
+ }
+ }
+
+ /// Field number for the "bool10" field.
+ public const int Bool10FieldNumber = 10;
+ private bool bool10_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Bool10 {
+ get { return bool10_; }
+ set {
+ bool10_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as IOSDeviceInfo);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(IOSDeviceInfo other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Bool1 != other.Bool1) return false;
+ if (Bool2 != other.Bool2) return false;
+ if (Bool3 != other.Bool3) return false;
+ if (Bool4 != other.Bool4) return false;
+ if (Bool5 != other.Bool5) return false;
+ if (Bool6 != other.Bool6) return false;
+ if (Bool7 != other.Bool7) return false;
+ if (Bool8 != other.Bool8) return false;
+ if (Bool9 != other.Bool9) return false;
+ if (Bool10 != other.Bool10) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Bool1 != false) hash ^= Bool1.GetHashCode();
+ if (Bool2 != false) hash ^= Bool2.GetHashCode();
+ if (Bool3 != false) hash ^= Bool3.GetHashCode();
+ if (Bool4 != false) hash ^= Bool4.GetHashCode();
+ if (Bool5 != false) hash ^= Bool5.GetHashCode();
+ if (Bool6 != false) hash ^= Bool6.GetHashCode();
+ if (Bool7 != false) hash ^= Bool7.GetHashCode();
+ if (Bool8 != false) hash ^= Bool8.GetHashCode();
+ if (Bool9 != false) hash ^= Bool9.GetHashCode();
+ if (Bool10 != false) hash ^= Bool10.GetHashCode();
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (Bool1 != false) {
+ output.WriteRawTag(8);
+ output.WriteBool(Bool1);
+ }
+ if (Bool2 != false) {
+ output.WriteRawTag(16);
+ output.WriteBool(Bool2);
+ }
+ if (Bool3 != false) {
+ output.WriteRawTag(24);
+ output.WriteBool(Bool3);
+ }
+ if (Bool4 != false) {
+ output.WriteRawTag(32);
+ output.WriteBool(Bool4);
+ }
+ if (Bool5 != false) {
+ output.WriteRawTag(40);
+ output.WriteBool(Bool5);
+ }
+ if (Bool6 != false) {
+ output.WriteRawTag(48);
+ output.WriteBool(Bool6);
+ }
+ if (Bool7 != false) {
+ output.WriteRawTag(56);
+ output.WriteBool(Bool7);
+ }
+ if (Bool8 != false) {
+ output.WriteRawTag(64);
+ output.WriteBool(Bool8);
+ }
+ if (Bool9 != false) {
+ output.WriteRawTag(72);
+ output.WriteBool(Bool9);
+ }
+ if (Bool10 != false) {
+ output.WriteRawTag(80);
+ output.WriteBool(Bool10);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (Bool1 != false) {
+ size += 1 + 1;
+ }
+ if (Bool2 != false) {
+ size += 1 + 1;
+ }
+ if (Bool3 != false) {
+ size += 1 + 1;
+ }
+ if (Bool4 != false) {
+ size += 1 + 1;
+ }
+ if (Bool5 != false) {
+ size += 1 + 1;
+ }
+ if (Bool6 != false) {
+ size += 1 + 1;
+ }
+ if (Bool7 != false) {
+ size += 1 + 1;
+ }
+ if (Bool8 != false) {
+ size += 1 + 1;
+ }
+ if (Bool9 != false) {
+ size += 1 + 1;
+ }
+ if (Bool10 != false) {
+ size += 1 + 1;
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(IOSDeviceInfo other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Bool1 != false) {
+ Bool1 = other.Bool1;
+ }
+ if (other.Bool2 != false) {
+ Bool2 = other.Bool2;
+ }
+ if (other.Bool3 != false) {
+ Bool3 = other.Bool3;
+ }
+ if (other.Bool4 != false) {
+ Bool4 = other.Bool4;
+ }
+ if (other.Bool5 != false) {
+ Bool5 = other.Bool5;
+ }
+ if (other.Bool6 != false) {
+ Bool6 = other.Bool6;
+ }
+ if (other.Bool7 != false) {
+ Bool7 = other.Bool7;
+ }
+ if (other.Bool8 != false) {
+ Bool8 = other.Bool8;
+ }
+ if (other.Bool9 != false) {
+ Bool9 = other.Bool9;
+ }
+ if (other.Bool10 != false) {
+ Bool10 = other.Bool10;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 8: {
+ Bool1 = input.ReadBool();
+ break;
+ }
+ case 16: {
+ Bool2 = input.ReadBool();
+ break;
+ }
+ case 24: {
+ Bool3 = input.ReadBool();
+ break;
+ }
+ case 32: {
+ Bool4 = input.ReadBool();
+ break;
+ }
+ case 40: {
+ Bool5 = input.ReadBool();
+ break;
+ }
+ case 48: {
+ Bool6 = input.ReadBool();
+ break;
+ }
+ case 56: {
+ Bool7 = input.ReadBool();
+ break;
+ }
+ case 64: {
+ Bool8 = input.ReadBool();
+ break;
+ }
+ case 72: {
+ Bool9 = input.ReadBool();
+ break;
+ }
+ case 80: {
+ Bool10 = input.ReadBool();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ ///
+ /// 100% - Reference iOS lib "LocationUpdate" structure for bridge
+ ///
+ public sealed partial class SensorUpdate : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SensorUpdate());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Descriptor.NestedTypes[2]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public SensorUpdate() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public SensorUpdate(SensorUpdate other) : this() {
+ timestamp_ = other.timestamp_;
+ accelerationX_ = other.accelerationX_;
+ accelerationY_ = other.accelerationY_;
+ accelerationZ_ = other.accelerationZ_;
+ magneticFieldX_ = other.magneticFieldX_;
+ magneticFieldY_ = other.magneticFieldY_;
+ magneticFieldZ_ = other.magneticFieldZ_;
+ magneticFieldAccuracy_ = other.magneticFieldAccuracy_;
+ attitudePitch_ = other.attitudePitch_;
+ attitudeYaw_ = other.attitudeYaw_;
+ attitudeRoll_ = other.attitudeRoll_;
+ rotationRateX_ = other.rotationRateX_;
+ rotationRateY_ = other.rotationRateY_;
+ rotationRateZ_ = other.rotationRateZ_;
+ gravityX_ = other.gravityX_;
+ gravityY_ = other.gravityY_;
+ gravityZ_ = other.gravityZ_;
+ status_ = other.status_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public SensorUpdate Clone() {
+ return new SensorUpdate(this);
+ }
+
+ /// Field number for the "timestamp" field.
+ public const int TimestampFieldNumber = 1;
+ private ulong timestamp_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public ulong Timestamp {
+ get { return timestamp_; }
+ set {
+ timestamp_ = value;
+ }
+ }
+
+ /// Field number for the "acceleration_x" field.
+ public const int AccelerationXFieldNumber = 3;
+ private double accelerationX_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double AccelerationX {
+ get { return accelerationX_; }
+ set {
+ accelerationX_ = value;
+ }
+ }
+
+ /// Field number for the "acceleration_y" field.
+ public const int AccelerationYFieldNumber = 4;
+ private double accelerationY_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double AccelerationY {
+ get { return accelerationY_; }
+ set {
+ accelerationY_ = value;
+ }
+ }
+
+ /// Field number for the "acceleration_z" field.
+ public const int AccelerationZFieldNumber = 5;
+ private double accelerationZ_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double AccelerationZ {
+ get { return accelerationZ_; }
+ set {
+ accelerationZ_ = value;
+ }
+ }
+
+ /// Field number for the "magnetic_field_x" field.
+ public const int MagneticFieldXFieldNumber = 6;
+ private double magneticFieldX_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double MagneticFieldX {
+ get { return magneticFieldX_; }
+ set {
+ magneticFieldX_ = value;
+ }
+ }
+
+ /// Field number for the "magnetic_field_y" field.
+ public const int MagneticFieldYFieldNumber = 7;
+ private double magneticFieldY_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double MagneticFieldY {
+ get { return magneticFieldY_; }
+ set {
+ magneticFieldY_ = value;
+ }
+ }
+
+ /// Field number for the "magnetic_field_z" field.
+ public const int MagneticFieldZFieldNumber = 8;
+ private double magneticFieldZ_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double MagneticFieldZ {
+ get { return magneticFieldZ_; }
+ set {
+ magneticFieldZ_ = value;
+ }
+ }
+
+ /// Field number for the "magnetic_field_accuracy" field.
+ public const int MagneticFieldAccuracyFieldNumber = 9;
+ private int magneticFieldAccuracy_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int MagneticFieldAccuracy {
+ get { return magneticFieldAccuracy_; }
+ set {
+ magneticFieldAccuracy_ = value;
+ }
+ }
+
+ /// Field number for the "attitude_pitch" field.
+ public const int AttitudePitchFieldNumber = 10;
+ private double attitudePitch_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double AttitudePitch {
+ get { return attitudePitch_; }
+ set {
+ attitudePitch_ = value;
+ }
+ }
+
+ /// Field number for the "attitude_yaw" field.
+ public const int AttitudeYawFieldNumber = 11;
+ private double attitudeYaw_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double AttitudeYaw {
+ get { return attitudeYaw_; }
+ set {
+ attitudeYaw_ = value;
+ }
+ }
+
+ /// Field number for the "attitude_roll" field.
+ public const int AttitudeRollFieldNumber = 12;
+ private double attitudeRoll_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double AttitudeRoll {
+ get { return attitudeRoll_; }
+ set {
+ attitudeRoll_ = value;
+ }
+ }
+
+ /// Field number for the "rotation_rate_x" field.
+ public const int RotationRateXFieldNumber = 13;
+ private double rotationRateX_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double RotationRateX {
+ get { return rotationRateX_; }
+ set {
+ rotationRateX_ = value;
+ }
+ }
+
+ /// Field number for the "rotation_rate_y" field.
+ public const int RotationRateYFieldNumber = 14;
+ private double rotationRateY_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double RotationRateY {
+ get { return rotationRateY_; }
+ set {
+ rotationRateY_ = value;
+ }
+ }
+
+ /// Field number for the "rotation_rate_z" field.
+ public const int RotationRateZFieldNumber = 15;
+ private double rotationRateZ_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double RotationRateZ {
+ get { return rotationRateZ_; }
+ set {
+ rotationRateZ_ = value;
+ }
+ }
+
+ /// Field number for the "gravity_x" field.
+ public const int GravityXFieldNumber = 16;
+ private double gravityX_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double GravityX {
+ get { return gravityX_; }
+ set {
+ gravityX_ = value;
+ }
+ }
+
+ /// Field number for the "gravity_y" field.
+ public const int GravityYFieldNumber = 17;
+ private double gravityY_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double GravityY {
+ get { return gravityY_; }
+ set {
+ gravityY_ = value;
+ }
+ }
+
+ /// Field number for the "gravity_z" field.
+ public const int GravityZFieldNumber = 18;
+ private double gravityZ_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double GravityZ {
+ get { return gravityZ_; }
+ set {
+ gravityZ_ = value;
+ }
+ }
+
+ /// Field number for the "status" field.
+ public const int StatusFieldNumber = 19;
+ private int status_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int Status {
+ get { return status_; }
+ set {
+ status_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as SensorUpdate);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(SensorUpdate other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Timestamp != other.Timestamp) return false;
+ if (AccelerationX != other.AccelerationX) return false;
+ if (AccelerationY != other.AccelerationY) return false;
+ if (AccelerationZ != other.AccelerationZ) return false;
+ if (MagneticFieldX != other.MagneticFieldX) return false;
+ if (MagneticFieldY != other.MagneticFieldY) return false;
+ if (MagneticFieldZ != other.MagneticFieldZ) return false;
+ if (MagneticFieldAccuracy != other.MagneticFieldAccuracy) return false;
+ if (AttitudePitch != other.AttitudePitch) return false;
+ if (AttitudeYaw != other.AttitudeYaw) return false;
+ if (AttitudeRoll != other.AttitudeRoll) return false;
+ if (RotationRateX != other.RotationRateX) return false;
+ if (RotationRateY != other.RotationRateY) return false;
+ if (RotationRateZ != other.RotationRateZ) return false;
+ if (GravityX != other.GravityX) return false;
+ if (GravityY != other.GravityY) return false;
+ if (GravityZ != other.GravityZ) return false;
+ if (Status != other.Status) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Timestamp != 0UL) hash ^= Timestamp.GetHashCode();
+ if (AccelerationX != 0D) hash ^= AccelerationX.GetHashCode();
+ if (AccelerationY != 0D) hash ^= AccelerationY.GetHashCode();
+ if (AccelerationZ != 0D) hash ^= AccelerationZ.GetHashCode();
+ if (MagneticFieldX != 0D) hash ^= MagneticFieldX.GetHashCode();
+ if (MagneticFieldY != 0D) hash ^= MagneticFieldY.GetHashCode();
+ if (MagneticFieldZ != 0D) hash ^= MagneticFieldZ.GetHashCode();
+ if (MagneticFieldAccuracy != 0) hash ^= MagneticFieldAccuracy.GetHashCode();
+ if (AttitudePitch != 0D) hash ^= AttitudePitch.GetHashCode();
+ if (AttitudeYaw != 0D) hash ^= AttitudeYaw.GetHashCode();
+ if (AttitudeRoll != 0D) hash ^= AttitudeRoll.GetHashCode();
+ if (RotationRateX != 0D) hash ^= RotationRateX.GetHashCode();
+ if (RotationRateY != 0D) hash ^= RotationRateY.GetHashCode();
+ if (RotationRateZ != 0D) hash ^= RotationRateZ.GetHashCode();
+ if (GravityX != 0D) hash ^= GravityX.GetHashCode();
+ if (GravityY != 0D) hash ^= GravityY.GetHashCode();
+ if (GravityZ != 0D) hash ^= GravityZ.GetHashCode();
+ if (Status != 0) hash ^= Status.GetHashCode();
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (Timestamp != 0UL) {
+ output.WriteRawTag(8);
+ output.WriteUInt64(Timestamp);
+ }
+ if (AccelerationX != 0D) {
+ output.WriteRawTag(25);
+ output.WriteDouble(AccelerationX);
+ }
+ if (AccelerationY != 0D) {
+ output.WriteRawTag(33);
+ output.WriteDouble(AccelerationY);
+ }
+ if (AccelerationZ != 0D) {
+ output.WriteRawTag(41);
+ output.WriteDouble(AccelerationZ);
+ }
+ if (MagneticFieldX != 0D) {
+ output.WriteRawTag(49);
+ output.WriteDouble(MagneticFieldX);
+ }
+ if (MagneticFieldY != 0D) {
+ output.WriteRawTag(57);
+ output.WriteDouble(MagneticFieldY);
+ }
+ if (MagneticFieldZ != 0D) {
+ output.WriteRawTag(65);
+ output.WriteDouble(MagneticFieldZ);
+ }
+ if (MagneticFieldAccuracy != 0) {
+ output.WriteRawTag(72);
+ output.WriteInt32(MagneticFieldAccuracy);
+ }
+ if (AttitudePitch != 0D) {
+ output.WriteRawTag(81);
+ output.WriteDouble(AttitudePitch);
+ }
+ if (AttitudeYaw != 0D) {
+ output.WriteRawTag(89);
+ output.WriteDouble(AttitudeYaw);
+ }
+ if (AttitudeRoll != 0D) {
+ output.WriteRawTag(97);
+ output.WriteDouble(AttitudeRoll);
+ }
+ if (RotationRateX != 0D) {
+ output.WriteRawTag(105);
+ output.WriteDouble(RotationRateX);
+ }
+ if (RotationRateY != 0D) {
+ output.WriteRawTag(113);
+ output.WriteDouble(RotationRateY);
+ }
+ if (RotationRateZ != 0D) {
+ output.WriteRawTag(121);
+ output.WriteDouble(RotationRateZ);
+ }
+ if (GravityX != 0D) {
+ output.WriteRawTag(129, 1);
+ output.WriteDouble(GravityX);
+ }
+ if (GravityY != 0D) {
+ output.WriteRawTag(137, 1);
+ output.WriteDouble(GravityY);
+ }
+ if (GravityZ != 0D) {
+ output.WriteRawTag(145, 1);
+ output.WriteDouble(GravityZ);
+ }
+ if (Status != 0) {
+ output.WriteRawTag(152, 1);
+ output.WriteInt32(Status);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (Timestamp != 0UL) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Timestamp);
+ }
+ if (AccelerationX != 0D) {
+ size += 1 + 8;
+ }
+ if (AccelerationY != 0D) {
+ size += 1 + 8;
+ }
+ if (AccelerationZ != 0D) {
+ size += 1 + 8;
+ }
+ if (MagneticFieldX != 0D) {
+ size += 1 + 8;
+ }
+ if (MagneticFieldY != 0D) {
+ size += 1 + 8;
+ }
+ if (MagneticFieldZ != 0D) {
+ size += 1 + 8;
+ }
+ if (MagneticFieldAccuracy != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(MagneticFieldAccuracy);
+ }
+ if (AttitudePitch != 0D) {
+ size += 1 + 8;
+ }
+ if (AttitudeYaw != 0D) {
+ size += 1 + 8;
+ }
+ if (AttitudeRoll != 0D) {
+ size += 1 + 8;
+ }
+ if (RotationRateX != 0D) {
+ size += 1 + 8;
+ }
+ if (RotationRateY != 0D) {
+ size += 1 + 8;
+ }
+ if (RotationRateZ != 0D) {
+ size += 1 + 8;
+ }
+ if (GravityX != 0D) {
+ size += 2 + 8;
+ }
+ if (GravityY != 0D) {
+ size += 2 + 8;
+ }
+ if (GravityZ != 0D) {
+ size += 2 + 8;
+ }
+ if (Status != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeInt32Size(Status);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(SensorUpdate other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Timestamp != 0UL) {
+ Timestamp = other.Timestamp;
+ }
+ if (other.AccelerationX != 0D) {
+ AccelerationX = other.AccelerationX;
+ }
+ if (other.AccelerationY != 0D) {
+ AccelerationY = other.AccelerationY;
+ }
+ if (other.AccelerationZ != 0D) {
+ AccelerationZ = other.AccelerationZ;
+ }
+ if (other.MagneticFieldX != 0D) {
+ MagneticFieldX = other.MagneticFieldX;
+ }
+ if (other.MagneticFieldY != 0D) {
+ MagneticFieldY = other.MagneticFieldY;
+ }
+ if (other.MagneticFieldZ != 0D) {
+ MagneticFieldZ = other.MagneticFieldZ;
+ }
+ if (other.MagneticFieldAccuracy != 0) {
+ MagneticFieldAccuracy = other.MagneticFieldAccuracy;
+ }
+ if (other.AttitudePitch != 0D) {
+ AttitudePitch = other.AttitudePitch;
+ }
+ if (other.AttitudeYaw != 0D) {
+ AttitudeYaw = other.AttitudeYaw;
+ }
+ if (other.AttitudeRoll != 0D) {
+ AttitudeRoll = other.AttitudeRoll;
+ }
+ if (other.RotationRateX != 0D) {
+ RotationRateX = other.RotationRateX;
+ }
+ if (other.RotationRateY != 0D) {
+ RotationRateY = other.RotationRateY;
+ }
+ if (other.RotationRateZ != 0D) {
+ RotationRateZ = other.RotationRateZ;
+ }
+ if (other.GravityX != 0D) {
+ GravityX = other.GravityX;
+ }
+ if (other.GravityY != 0D) {
+ GravityY = other.GravityY;
+ }
+ if (other.GravityZ != 0D) {
+ GravityZ = other.GravityZ;
+ }
+ if (other.Status != 0) {
+ Status = other.Status;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 8: {
+ Timestamp = input.ReadUInt64();
+ break;
+ }
+ case 25: {
+ AccelerationX = input.ReadDouble();
+ break;
+ }
+ case 33: {
+ AccelerationY = input.ReadDouble();
+ break;
+ }
+ case 41: {
+ AccelerationZ = input.ReadDouble();
+ break;
+ }
+ case 49: {
+ MagneticFieldX = input.ReadDouble();
+ break;
+ }
+ case 57: {
+ MagneticFieldY = input.ReadDouble();
+ break;
+ }
+ case 65: {
+ MagneticFieldZ = input.ReadDouble();
+ break;
+ }
+ case 72: {
+ MagneticFieldAccuracy = input.ReadInt32();
+ break;
+ }
+ case 81: {
+ AttitudePitch = input.ReadDouble();
+ break;
+ }
+ case 89: {
+ AttitudeYaw = input.ReadDouble();
+ break;
+ }
+ case 97: {
+ AttitudeRoll = input.ReadDouble();
+ break;
+ }
+ case 105: {
+ RotationRateX = input.ReadDouble();
+ break;
+ }
+ case 113: {
+ RotationRateY = input.ReadDouble();
+ break;
+ }
+ case 121: {
+ RotationRateZ = input.ReadDouble();
+ break;
+ }
+ case 129: {
+ GravityX = input.ReadDouble();
+ break;
+ }
+ case 137: {
+ GravityY = input.ReadDouble();
+ break;
+ }
+ case 145: {
+ GravityZ = input.ReadDouble();
+ break;
+ }
+ case 152: {
+ Status = input.ReadInt32();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ public sealed partial class DeviceInfo : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeviceInfo());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Descriptor.NestedTypes[3]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public DeviceInfo() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public DeviceInfo(DeviceInfo other) : this() {
+ deviceId_ = other.deviceId_;
+ androidBoardName_ = other.androidBoardName_;
+ androidBootloader_ = other.androidBootloader_;
+ deviceBrand_ = other.deviceBrand_;
+ deviceModel_ = other.deviceModel_;
+ deviceModelIdentifier_ = other.deviceModelIdentifier_;
+ deviceCommsModel_ = other.deviceCommsModel_;
+ hardwareManufacturer_ = other.hardwareManufacturer_;
+ hardwareModel_ = other.hardwareModel_;
+ firmwareBrand_ = other.firmwareBrand_;
+ firmwareTags_ = other.firmwareTags_;
+ firmwareType_ = other.firmwareType_;
+ firmwareFingerprint_ = other.firmwareFingerprint_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public DeviceInfo Clone() {
+ return new DeviceInfo(this);
+ }
+
+ /// Field number for the "device_id" field.
+ public const int DeviceIdFieldNumber = 1;
+ private string deviceId_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string DeviceId {
+ get { return deviceId_; }
+ set {
+ deviceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "android_board_name" field.
+ public const int AndroidBoardNameFieldNumber = 2;
+ private string androidBoardName_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string AndroidBoardName {
+ get { return androidBoardName_; }
+ set {
+ androidBoardName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "android_bootloader" field.
+ public const int AndroidBootloaderFieldNumber = 3;
+ private string androidBootloader_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string AndroidBootloader {
+ get { return androidBootloader_; }
+ set {
+ androidBootloader_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "device_brand" field.
+ public const int DeviceBrandFieldNumber = 4;
+ private string deviceBrand_ = "";
+ ///
+ /// product.brand
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string DeviceBrand {
+ get { return deviceBrand_; }
+ set {
+ deviceBrand_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "device_model" field.
+ public const int DeviceModelFieldNumber = 5;
+ private string deviceModel_ = "";
+ ///
+ /// product.device
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string DeviceModel {
+ get { return deviceModel_; }
+ set {
+ deviceModel_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "device_model_identifier" field.
+ public const int DeviceModelIdentifierFieldNumber = 6;
+ private string deviceModelIdentifier_ = "";
+ ///
+ /// Android only, build.display.id
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string DeviceModelIdentifier {
+ get { return deviceModelIdentifier_; }
+ set {
+ deviceModelIdentifier_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "device_comms_model" field.
+ public const int DeviceCommsModelFieldNumber = 7;
+ private string deviceCommsModel_ = "";
+ ///
+ /// boot.hardware
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string DeviceCommsModel {
+ get { return deviceCommsModel_; }
+ set {
+ deviceCommsModel_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "hardware_manufacturer" field.
+ public const int HardwareManufacturerFieldNumber = 8;
+ private string hardwareManufacturer_ = "";
+ ///
+ /// product.manufacturer
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string HardwareManufacturer {
+ get { return hardwareManufacturer_; }
+ set {
+ hardwareManufacturer_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "hardware_model" field.
+ public const int HardwareModelFieldNumber = 9;
+ private string hardwareModel_ = "";
+ ///
+ /// product.model
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string HardwareModel {
+ get { return hardwareModel_; }
+ set {
+ hardwareModel_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "firmware_brand" field.
+ public const int FirmwareBrandFieldNumber = 10;
+ private string firmwareBrand_ = "";
+ ///
+ /// On iOS: "iPhone OS", product.name
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string FirmwareBrand {
+ get { return firmwareBrand_; }
+ set {
+ firmwareBrand_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "firmware_tags" field.
+ public const int FirmwareTagsFieldNumber = 12;
+ private string firmwareTags_ = "";
+ ///
+ /// Android only, build.tags
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string FirmwareTags {
+ get { return firmwareTags_; }
+ set {
+ firmwareTags_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "firmware_type" field.
+ public const int FirmwareTypeFieldNumber = 13;
+ private string firmwareType_ = "";
+ ///
+ /// On iOS instead: iOS version; // build.type
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string FirmwareType {
+ get { return firmwareType_; }
+ set {
+ firmwareType_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "firmware_fingerprint" field.
+ public const int FirmwareFingerprintFieldNumber = 14;
+ private string firmwareFingerprint_ = "";
+ ///
+ /// Android only, build.fingerprint
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string FirmwareFingerprint {
+ get { return firmwareFingerprint_; }
+ set {
+ firmwareFingerprint_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as DeviceInfo);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(DeviceInfo other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (DeviceId != other.DeviceId) return false;
+ if (AndroidBoardName != other.AndroidBoardName) return false;
+ if (AndroidBootloader != other.AndroidBootloader) return false;
+ if (DeviceBrand != other.DeviceBrand) return false;
+ if (DeviceModel != other.DeviceModel) return false;
+ if (DeviceModelIdentifier != other.DeviceModelIdentifier) return false;
+ if (DeviceCommsModel != other.DeviceCommsModel) return false;
+ if (HardwareManufacturer != other.HardwareManufacturer) return false;
+ if (HardwareModel != other.HardwareModel) return false;
+ if (FirmwareBrand != other.FirmwareBrand) return false;
+ if (FirmwareTags != other.FirmwareTags) return false;
+ if (FirmwareType != other.FirmwareType) return false;
+ if (FirmwareFingerprint != other.FirmwareFingerprint) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (DeviceId.Length != 0) hash ^= DeviceId.GetHashCode();
+ if (AndroidBoardName.Length != 0) hash ^= AndroidBoardName.GetHashCode();
+ if (AndroidBootloader.Length != 0) hash ^= AndroidBootloader.GetHashCode();
+ if (DeviceBrand.Length != 0) hash ^= DeviceBrand.GetHashCode();
+ if (DeviceModel.Length != 0) hash ^= DeviceModel.GetHashCode();
+ if (DeviceModelIdentifier.Length != 0) hash ^= DeviceModelIdentifier.GetHashCode();
+ if (DeviceCommsModel.Length != 0) hash ^= DeviceCommsModel.GetHashCode();
+ if (HardwareManufacturer.Length != 0) hash ^= HardwareManufacturer.GetHashCode();
+ if (HardwareModel.Length != 0) hash ^= HardwareModel.GetHashCode();
+ if (FirmwareBrand.Length != 0) hash ^= FirmwareBrand.GetHashCode();
+ if (FirmwareTags.Length != 0) hash ^= FirmwareTags.GetHashCode();
+ if (FirmwareType.Length != 0) hash ^= FirmwareType.GetHashCode();
+ if (FirmwareFingerprint.Length != 0) hash ^= FirmwareFingerprint.GetHashCode();
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (DeviceId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(DeviceId);
+ }
+ if (AndroidBoardName.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(AndroidBoardName);
+ }
+ if (AndroidBootloader.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(AndroidBootloader);
+ }
+ if (DeviceBrand.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(DeviceBrand);
+ }
+ if (DeviceModel.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(DeviceModel);
+ }
+ if (DeviceModelIdentifier.Length != 0) {
+ output.WriteRawTag(50);
+ output.WriteString(DeviceModelIdentifier);
+ }
+ if (DeviceCommsModel.Length != 0) {
+ output.WriteRawTag(58);
+ output.WriteString(DeviceCommsModel);
+ }
+ if (HardwareManufacturer.Length != 0) {
+ output.WriteRawTag(66);
+ output.WriteString(HardwareManufacturer);
+ }
+ if (HardwareModel.Length != 0) {
+ output.WriteRawTag(74);
+ output.WriteString(HardwareModel);
+ }
+ if (FirmwareBrand.Length != 0) {
+ output.WriteRawTag(82);
+ output.WriteString(FirmwareBrand);
+ }
+ if (FirmwareTags.Length != 0) {
+ output.WriteRawTag(98);
+ output.WriteString(FirmwareTags);
+ }
+ if (FirmwareType.Length != 0) {
+ output.WriteRawTag(106);
+ output.WriteString(FirmwareType);
+ }
+ if (FirmwareFingerprint.Length != 0) {
+ output.WriteRawTag(114);
+ output.WriteString(FirmwareFingerprint);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (DeviceId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(DeviceId);
+ }
+ if (AndroidBoardName.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(AndroidBoardName);
+ }
+ if (AndroidBootloader.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(AndroidBootloader);
+ }
+ if (DeviceBrand.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(DeviceBrand);
+ }
+ if (DeviceModel.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(DeviceModel);
+ }
+ if (DeviceModelIdentifier.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(DeviceModelIdentifier);
+ }
+ if (DeviceCommsModel.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(DeviceCommsModel);
+ }
+ if (HardwareManufacturer.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(HardwareManufacturer);
+ }
+ if (HardwareModel.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(HardwareModel);
+ }
+ if (FirmwareBrand.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(FirmwareBrand);
+ }
+ if (FirmwareTags.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(FirmwareTags);
+ }
+ if (FirmwareType.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(FirmwareType);
+ }
+ if (FirmwareFingerprint.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(FirmwareFingerprint);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(DeviceInfo other) {
+ if (other == null) {
+ return;
+ }
+ if (other.DeviceId.Length != 0) {
+ DeviceId = other.DeviceId;
+ }
+ if (other.AndroidBoardName.Length != 0) {
+ AndroidBoardName = other.AndroidBoardName;
+ }
+ if (other.AndroidBootloader.Length != 0) {
+ AndroidBootloader = other.AndroidBootloader;
+ }
+ if (other.DeviceBrand.Length != 0) {
+ DeviceBrand = other.DeviceBrand;
+ }
+ if (other.DeviceModel.Length != 0) {
+ DeviceModel = other.DeviceModel;
+ }
+ if (other.DeviceModelIdentifier.Length != 0) {
+ DeviceModelIdentifier = other.DeviceModelIdentifier;
+ }
+ if (other.DeviceCommsModel.Length != 0) {
+ DeviceCommsModel = other.DeviceCommsModel;
+ }
+ if (other.HardwareManufacturer.Length != 0) {
+ HardwareManufacturer = other.HardwareManufacturer;
+ }
+ if (other.HardwareModel.Length != 0) {
+ HardwareModel = other.HardwareModel;
+ }
+ if (other.FirmwareBrand.Length != 0) {
+ FirmwareBrand = other.FirmwareBrand;
+ }
+ if (other.FirmwareTags.Length != 0) {
+ FirmwareTags = other.FirmwareTags;
+ }
+ if (other.FirmwareType.Length != 0) {
+ FirmwareType = other.FirmwareType;
+ }
+ if (other.FirmwareFingerprint.Length != 0) {
+ FirmwareFingerprint = other.FirmwareFingerprint;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 10: {
+ DeviceId = input.ReadString();
+ break;
+ }
+ case 18: {
+ AndroidBoardName = input.ReadString();
+ break;
+ }
+ case 26: {
+ AndroidBootloader = input.ReadString();
+ break;
+ }
+ case 34: {
+ DeviceBrand = input.ReadString();
+ break;
+ }
+ case 42: {
+ DeviceModel = input.ReadString();
+ break;
+ }
+ case 50: {
+ DeviceModelIdentifier = input.ReadString();
+ break;
+ }
+ case 58: {
+ DeviceCommsModel = input.ReadString();
+ break;
+ }
+ case 66: {
+ HardwareManufacturer = input.ReadString();
+ break;
+ }
+ case 74: {
+ HardwareModel = input.ReadString();
+ break;
+ }
+ case 82: {
+ FirmwareBrand = input.ReadString();
+ break;
+ }
+ case 98: {
+ FirmwareTags = input.ReadString();
+ break;
+ }
+ case 106: {
+ FirmwareType = input.ReadString();
+ break;
+ }
+ case 114: {
+ FirmwareFingerprint = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ public sealed partial class AndroidGpsInfo : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AndroidGpsInfo());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::POGOProtos.Networking.Envelopes.SignalAgglomUpdates.Descriptor.NestedTypes[4]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public AndroidGpsInfo() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public AndroidGpsInfo(AndroidGpsInfo other) : this() {
+ timeToFix_ = other.timeToFix_;
+ satellitesPrn_ = other.satellitesPrn_.Clone();
+ azimuth_ = other.azimuth_.Clone();
+ elevation_ = other.elevation_.Clone();
+ snr_ = other.snr_.Clone();
+ hasAlmanac_ = other.hasAlmanac_.Clone();
+ hasEphemeris_ = other.hasEphemeris_.Clone();
+ usedInFix_ = other.usedInFix_.Clone();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public AndroidGpsInfo Clone() {
+ return new AndroidGpsInfo(this);
+ }
+
+ /// Field number for the "time_to_fix" field.
+ public const int TimeToFixFieldNumber = 1;
+ private ulong timeToFix_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public ulong TimeToFix {
+ get { return timeToFix_; }
+ set {
+ timeToFix_ = value;
+ }
+ }
+
+ /// Field number for the "satellites_prn" field.
+ public const int SatellitesPrnFieldNumber = 2;
+ private static readonly pb::FieldCodec _repeated_satellitesPrn_codec
+ = pb::FieldCodec.ForInt32(18);
+ private readonly pbc::RepeatedField satellitesPrn_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField SatellitesPrn {
+ get { return satellitesPrn_; }
+ }
+
+ /// Field number for the "azimuth" field.
+ public const int AzimuthFieldNumber = 3;
+ private static readonly pb::FieldCodec _repeated_azimuth_codec
+ = pb::FieldCodec.ForFloat(26);
+ private readonly pbc::RepeatedField azimuth_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField Azimuth {
+ get { return azimuth_; }
+ }
+
+ /// Field number for the "elevation" field.
+ public const int ElevationFieldNumber = 4;
+ private static readonly pb::FieldCodec _repeated_elevation_codec
+ = pb::FieldCodec.ForFloat(34);
+ private readonly pbc::RepeatedField elevation_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField Elevation {
+ get { return elevation_; }
+ }
+
+ /// Field number for the "snr" field.
+ public const int SnrFieldNumber = 5;
+ private static readonly pb::FieldCodec _repeated_snr_codec
+ = pb::FieldCodec.ForFloat(42);
+ private readonly pbc::RepeatedField snr_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField Snr {
+ get { return snr_; }
+ }
+
+ /// Field number for the "has_almanac" field.
+ public const int HasAlmanacFieldNumber = 6;
+ private static readonly pb::FieldCodec _repeated_hasAlmanac_codec
+ = pb::FieldCodec.ForBool(50);
+ private readonly pbc::RepeatedField hasAlmanac_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField HasAlmanac {
+ get { return hasAlmanac_; }
+ }
+
+ /// Field number for the "has_ephemeris" field.
+ public const int HasEphemerisFieldNumber = 7;
+ private static readonly pb::FieldCodec _repeated_hasEphemeris_codec
+ = pb::FieldCodec.ForBool(58);
+ private readonly pbc::RepeatedField hasEphemeris_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField HasEphemeris {
+ get { return hasEphemeris_; }
+ }
+
+ /// Field number for the "used_in_fix" field.
+ public const int UsedInFixFieldNumber = 8;
+ private static readonly pb::FieldCodec _repeated_usedInFix_codec
+ = pb::FieldCodec.ForBool(66);
+ private readonly pbc::RepeatedField usedInFix_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField UsedInFix {
+ get { return usedInFix_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as AndroidGpsInfo);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(AndroidGpsInfo other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (TimeToFix != other.TimeToFix) return false;
+ if(!satellitesPrn_.Equals(other.satellitesPrn_)) return false;
+ if(!azimuth_.Equals(other.azimuth_)) return false;
+ if(!elevation_.Equals(other.elevation_)) return false;
+ if(!snr_.Equals(other.snr_)) return false;
+ if(!hasAlmanac_.Equals(other.hasAlmanac_)) return false;
+ if(!hasEphemeris_.Equals(other.hasEphemeris_)) return false;
+ if(!usedInFix_.Equals(other.usedInFix_)) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (TimeToFix != 0UL) hash ^= TimeToFix.GetHashCode();
+ hash ^= satellitesPrn_.GetHashCode();
+ hash ^= azimuth_.GetHashCode();
+ hash ^= elevation_.GetHashCode();
+ hash ^= snr_.GetHashCode();
+ hash ^= hasAlmanac_.GetHashCode();
+ hash ^= hasEphemeris_.GetHashCode();
+ hash ^= usedInFix_.GetHashCode();
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (TimeToFix != 0UL) {
+ output.WriteRawTag(8);
+ output.WriteUInt64(TimeToFix);
+ }
+ satellitesPrn_.WriteTo(output, _repeated_satellitesPrn_codec);
+ azimuth_.WriteTo(output, _repeated_azimuth_codec);
+ elevation_.WriteTo(output, _repeated_elevation_codec);
+ snr_.WriteTo(output, _repeated_snr_codec);
+ hasAlmanac_.WriteTo(output, _repeated_hasAlmanac_codec);
+ hasEphemeris_.WriteTo(output, _repeated_hasEphemeris_codec);
+ usedInFix_.WriteTo(output, _repeated_usedInFix_codec);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (TimeToFix != 0UL) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt64Size(TimeToFix);
+ }
+ size += satellitesPrn_.CalculateSize(_repeated_satellitesPrn_codec);
+ size += azimuth_.CalculateSize(_repeated_azimuth_codec);
+ size += elevation_.CalculateSize(_repeated_elevation_codec);
+ size += snr_.CalculateSize(_repeated_snr_codec);
+ size += hasAlmanac_.CalculateSize(_repeated_hasAlmanac_codec);
+ size += hasEphemeris_.CalculateSize(_repeated_hasEphemeris_codec);
+ size += usedInFix_.CalculateSize(_repeated_usedInFix_codec);
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(AndroidGpsInfo other) {
+ if (other == null) {
+ return;
+ }
+ if (other.TimeToFix != 0UL) {
+ TimeToFix = other.TimeToFix;
+ }
+ satellitesPrn_.Add(other.satellitesPrn_);
+ azimuth_.Add(other.azimuth_);
+ elevation_.Add(other.elevation_);
+ snr_.Add(other.snr_);
+ hasAlmanac_.Add(other.hasAlmanac_);
+ hasEphemeris_.Add(other.hasEphemeris_);
+ usedInFix_.Add(other.usedInFix_);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 8: {
+ TimeToFix = input.ReadUInt64();
+ break;
+ }
+ case 18:
+ case 16: {
+ satellitesPrn_.AddEntriesFrom(input, _repeated_satellitesPrn_codec);
+ break;
+ }
+ case 26:
+ case 29: {
+ azimuth_.AddEntriesFrom(input, _repeated_azimuth_codec);
+ break;
+ }
+ case 34:
+ case 37: {
+ elevation_.AddEntriesFrom(input, _repeated_elevation_codec);
+ break;
+ }
+ case 42:
+ case 45: {
+ snr_.AddEntriesFrom(input, _repeated_snr_codec);
+ break;
+ }
+ case 50:
+ case 48: {
+ hasAlmanac_.AddEntriesFrom(input, _repeated_hasAlmanac_codec);
+ break;
+ }
+ case 58:
+ case 56: {
+ hasEphemeris_.AddEntriesFrom(input, _repeated_hasEphemeris_codec);
+ break;
+ }
+ case 66:
+ case 64: {
+ usedInFix_.AddEntriesFrom(input, _repeated_usedInFix_codec);
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ }
+ #endregion
+
+ }
+
+ ///
+ /// Just a junk message to denote that we don't currently know what message something is.
+ ///
+ public sealed partial class UnknownMessage : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnknownMessage());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::POGOProtos.Networking.Envelopes.SignalAgglomUpdatesReflection.Descriptor.MessageTypes[1]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public UnknownMessage() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public UnknownMessage(UnknownMessage other) : this() {
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public UnknownMessage Clone() {
+ return new UnknownMessage(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as UnknownMessage);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(UnknownMessage other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(UnknownMessage other) {
+ if (other == null) {
+ return;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ }
+ }
+ }
+
+ }
+
+ #endregion
+
+}
+
+#endregion Designer generated code
diff --git a/Networking/Envelopes/Signature.cs b/Networking/Envelopes/Signature.cs
deleted file mode 100644
index 7439b5d..0000000
--- a/Networking/Envelopes/Signature.cs
+++ /dev/null
@@ -1,2614 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: POGOProtos/Networking/Envelopes/Signature.proto
-#pragma warning disable 1591, 0612, 3021
-#region Designer generated code
-
-using pb = global::Google.Protobuf;
-using pbc = global::Google.Protobuf.Collections;
-using pbr = global::Google.Protobuf.Reflection;
-using scg = global::System.Collections.Generic;
-namespace POGOProtos.Networking.Envelopes {
-
- /// Holder for reflection information generated from POGOProtos/Networking/Envelopes/Signature.proto
- public static partial class SignatureReflection {
-
- #region Descriptor
- /// File descriptor for POGOProtos/Networking/Envelopes/Signature.proto
- public static pbr::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbr::FileDescriptor descriptor;
-
- static SignatureReflection() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- string.Concat(
- "Ci9QT0dPUHJvdG9zL05ldHdvcmtpbmcvRW52ZWxvcGVzL1NpZ25hdHVyZS5w",
- "cm90bxIfUE9HT1Byb3Rvcy5OZXR3b3JraW5nLkVudmVsb3BlcyKtDwoJU2ln",
- "bmF0dXJlEh0KFXRpbWVzdGFtcF9zaW5jZV9zdGFydBgCIAEoBBJMCgxsb2Nh",
- "dGlvbl9maXgYBCADKAsyNi5QT0dPUHJvdG9zLk5ldHdvcmtpbmcuRW52ZWxv",
- "cGVzLlNpZ25hdHVyZS5Mb2NhdGlvbkZpeBJLCghncHNfaW5mbxgFIAEoCzI5",
- "LlBPR09Qcm90b3MuTmV0d29ya2luZy5FbnZlbG9wZXMuU2lnbmF0dXJlLkFu",
- "ZHJvaWRHcHNJbmZvEkoKC3NlbnNvcl9pbmZvGAcgASgLMjUuUE9HT1Byb3Rv",
- "cy5OZXR3b3JraW5nLkVudmVsb3Blcy5TaWduYXR1cmUuU2Vuc29ySW5mbxJK",
- "CgtkZXZpY2VfaW5mbxgIIAEoCzI1LlBPR09Qcm90b3MuTmV0d29ya2luZy5F",
- "bnZlbG9wZXMuU2lnbmF0dXJlLkRldmljZUluZm8SUgoPYWN0aXZpdHlfc3Rh",
- "dHVzGAkgASgLMjkuUE9HT1Byb3Rvcy5OZXR3b3JraW5nLkVudmVsb3Blcy5T",
- "aWduYXR1cmUuQWN0aXZpdHlTdGF0dXMSFgoObG9jYXRpb25faGFzaDEYCiAB",
- "KAQSFgoObG9jYXRpb25faGFzaDIYFCABKAQSFAoMc2Vzc2lvbl9oYXNoGBYg",
- "ASgMEhEKCXRpbWVzdGFtcBgXIAEoBBIUCgxyZXF1ZXN0X2hhc2gYGCADKAQS",
- "EQoJdW5rbm93bjI1GBkgASgDGukBCgtMb2NhdGlvbkZpeBIQCghwcm92aWRl",
- "chgBIAEoCRIaChJ0aW1lc3RhbXBfc25hcHNob3QYAiABKAQSEAoIbGF0aXR1",
- "ZGUYDSABKAISEQoJbG9uZ2l0dWRlGA4gASgCEhsKE2hvcml6b250YWxfYWNj",
- "dXJhY3kYFCABKAISEAoIYWx0aXR1ZGUYFSABKAISGQoRdmVydGljYWxfYWNj",
- "dXJhY3kYFiABKAISFwoPcHJvdmlkZXJfc3RhdHVzGBogASgEEg0KBWZsb29y",
- "GBsgASgNEhUKDWxvY2F0aW9uX3R5cGUYHCABKAQarwEKDkFuZHJvaWRHcHNJ",
- "bmZvEhMKC3RpbWVfdG9fZml4GAEgASgEEhYKDnNhdGVsbGl0ZXNfcHJuGAIg",
- "AygFEg8KB2F6aW11dGgYAyADKAISEQoJZWxldmF0aW9uGAQgAygCEgsKA3Nu",
- "chgFIAMoAhITCgtoYXNfYWxtYW5hYxgGIAMoCBIVCg1oYXNfZXBoZW1lcmlz",
- "GAcgAygIEhMKC3VzZWRfaW5fZml4GAggAygIGr4DCgpTZW5zb3JJbmZvEhoK",
- "EnRpbWVzdGFtcF9zbmFwc2hvdBgBIAEoBBIWCg5tYWduZXRvbWV0ZXJfeBgD",
- "IAEoARIWCg5tYWduZXRvbWV0ZXJfeRgEIAEoARIWCg5tYWduZXRvbWV0ZXJf",
- "ehgFIAEoARIaChJhbmdsZV9ub3JtYWxpemVkX3gYBiABKAESGgoSYW5nbGVf",
- "bm9ybWFsaXplZF95GAcgASgBEhoKEmFuZ2xlX25vcm1hbGl6ZWRfehgIIAEo",
- "ARITCgthY2NlbF9yYXdfeBgKIAEoARITCgthY2NlbF9yYXdfeRgLIAEoARIT",
- "CgthY2NlbF9yYXdfehgMIAEoARIXCg9neXJvc2NvcGVfcmF3X3gYDSABKAES",
- "FwoPZ3lyb3Njb3BlX3Jhd195GA4gASgBEhcKD2d5cm9zY29wZV9yYXdfehgP",
- "IAEoARIaChJhY2NlbF9ub3JtYWxpemVkX3gYECABKAESGgoSYWNjZWxfbm9y",
- "bWFsaXplZF95GBEgASgBEhoKEmFjY2VsX25vcm1hbGl6ZWRfehgSIAEoARIa",
- "ChJhY2NlbGVyb21ldGVyX2F4ZXMYEyABKAQa2gIKCkRldmljZUluZm8SEQoJ",
- "ZGV2aWNlX2lkGAEgASgJEhoKEmFuZHJvaWRfYm9hcmRfbmFtZRgCIAEoCRIa",
- "ChJhbmRyb2lkX2Jvb3Rsb2FkZXIYAyABKAkSFAoMZGV2aWNlX2JyYW5kGAQg",
- "ASgJEhQKDGRldmljZV9tb2RlbBgFIAEoCRIfChdkZXZpY2VfbW9kZWxfaWRl",
- "bnRpZmllchgGIAEoCRIZChFkZXZpY2VfbW9kZWxfYm9vdBgHIAEoCRIdChVo",
- "YXJkd2FyZV9tYW51ZmFjdHVyZXIYCCABKAkSFgoOaGFyZHdhcmVfbW9kZWwY",
- "CSABKAkSFgoOZmlybXdhcmVfYnJhbmQYCiABKAkSFQoNZmlybXdhcmVfdGFn",
- "cxgMIAEoCRIVCg1maXJtd2FyZV90eXBlGA0gASgJEhwKFGZpcm13YXJlX2Zp",
- "bmdlcnByaW50GA4gASgJGrsBCg5BY3Rpdml0eVN0YXR1cxIVCg1zdGFydF90",
- "aW1lX21zGAEgASgEEhYKDnVua25vd25fc3RhdHVzGAIgASgIEg8KB3dhbGtp",
- "bmcYAyABKAgSDwoHcnVubmluZxgEIAEoCBISCgpzdGF0aW9uYXJ5GAUgASgI",
- "EhIKCmF1dG9tb3RpdmUYBiABKAgSDwoHdGlsdGluZxgHIAEoCBIPCgdjeWNs",
- "aW5nGAggASgIEg4KBnN0YXR1cxgJIAEoDGIGcHJvdG8z"));
- descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { },
- new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.Signature), global::POGOProtos.Networking.Envelopes.Signature.Parser, new[]{ "TimestampSinceStart", "LocationFix", "GpsInfo", "SensorInfo", "DeviceInfo", "ActivityStatus", "LocationHash1", "LocationHash2", "SessionHash", "Timestamp", "RequestHash", "Unknown25" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.Signature.Types.LocationFix), global::POGOProtos.Networking.Envelopes.Signature.Types.LocationFix.Parser, new[]{ "Provider", "TimestampSnapshot", "Latitude", "Longitude", "HorizontalAccuracy", "Altitude", "VerticalAccuracy", "ProviderStatus", "Floor", "LocationType" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.Signature.Types.AndroidGpsInfo), global::POGOProtos.Networking.Envelopes.Signature.Types.AndroidGpsInfo.Parser, new[]{ "TimeToFix", "SatellitesPrn", "Azimuth", "Elevation", "Snr", "HasAlmanac", "HasEphemeris", "UsedInFix" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.Signature.Types.SensorInfo), global::POGOProtos.Networking.Envelopes.Signature.Types.SensorInfo.Parser, new[]{ "TimestampSnapshot", "MagnetometerX", "MagnetometerY", "MagnetometerZ", "AngleNormalizedX", "AngleNormalizedY", "AngleNormalizedZ", "AccelRawX", "AccelRawY", "AccelRawZ", "GyroscopeRawX", "GyroscopeRawY", "GyroscopeRawZ", "AccelNormalizedX", "AccelNormalizedY", "AccelNormalizedZ", "AccelerometerAxes" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.Signature.Types.DeviceInfo), global::POGOProtos.Networking.Envelopes.Signature.Types.DeviceInfo.Parser, new[]{ "DeviceId", "AndroidBoardName", "AndroidBootloader", "DeviceBrand", "DeviceModel", "DeviceModelIdentifier", "DeviceModelBoot", "HardwareManufacturer", "HardwareModel", "FirmwareBrand", "FirmwareTags", "FirmwareType", "FirmwareFingerprint" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.Signature.Types.ActivityStatus), global::POGOProtos.Networking.Envelopes.Signature.Types.ActivityStatus.Parser, new[]{ "StartTimeMs", "UnknownStatus", "Walking", "Running", "Stationary", "Automotive", "Tilting", "Cycling", "Status" }, null, null, null)})
- }));
- }
- #endregion
-
- }
- #region Messages
- public sealed partial class Signature : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Signature());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::POGOProtos.Networking.Envelopes.SignatureReflection.Descriptor.MessageTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Signature() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Signature(Signature other) : this() {
- timestampSinceStart_ = other.timestampSinceStart_;
- locationFix_ = other.locationFix_.Clone();
- GpsInfo = other.gpsInfo_ != null ? other.GpsInfo.Clone() : null;
- SensorInfo = other.sensorInfo_ != null ? other.SensorInfo.Clone() : null;
- DeviceInfo = other.deviceInfo_ != null ? other.DeviceInfo.Clone() : null;
- ActivityStatus = other.activityStatus_ != null ? other.ActivityStatus.Clone() : null;
- locationHash1_ = other.locationHash1_;
- locationHash2_ = other.locationHash2_;
- sessionHash_ = other.sessionHash_;
- timestamp_ = other.timestamp_;
- requestHash_ = other.requestHash_.Clone();
- unknown25_ = other.unknown25_;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Signature Clone() {
- return new Signature(this);
- }
-
- /// Field number for the "timestamp_since_start" field.
- public const int TimestampSinceStartFieldNumber = 2;
- private ulong timestampSinceStart_;
- ///
- /// in ms
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ulong TimestampSinceStart {
- get { return timestampSinceStart_; }
- set {
- timestampSinceStart_ = value;
- }
- }
-
- /// Field number for the "location_fix" field.
- public const int LocationFixFieldNumber = 4;
- private static readonly pb::FieldCodec _repeated_locationFix_codec
- = pb::FieldCodec.ForMessage(34, global::POGOProtos.Networking.Envelopes.Signature.Types.LocationFix.Parser);
- private readonly pbc::RepeatedField locationFix_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField LocationFix {
- get { return locationFix_; }
- }
-
- /// Field number for the "gps_info" field.
- public const int GpsInfoFieldNumber = 5;
- private global::POGOProtos.Networking.Envelopes.Signature.Types.AndroidGpsInfo gpsInfo_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::POGOProtos.Networking.Envelopes.Signature.Types.AndroidGpsInfo GpsInfo {
- get { return gpsInfo_; }
- set {
- gpsInfo_ = value;
- }
- }
-
- /// Field number for the "sensor_info" field.
- public const int SensorInfoFieldNumber = 7;
- private global::POGOProtos.Networking.Envelopes.Signature.Types.SensorInfo sensorInfo_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::POGOProtos.Networking.Envelopes.Signature.Types.SensorInfo SensorInfo {
- get { return sensorInfo_; }
- set {
- sensorInfo_ = value;
- }
- }
-
- /// Field number for the "device_info" field.
- public const int DeviceInfoFieldNumber = 8;
- private global::POGOProtos.Networking.Envelopes.Signature.Types.DeviceInfo deviceInfo_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::POGOProtos.Networking.Envelopes.Signature.Types.DeviceInfo DeviceInfo {
- get { return deviceInfo_; }
- set {
- deviceInfo_ = value;
- }
- }
-
- /// Field number for the "activity_status" field.
- public const int ActivityStatusFieldNumber = 9;
- private global::POGOProtos.Networking.Envelopes.Signature.Types.ActivityStatus activityStatus_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::POGOProtos.Networking.Envelopes.Signature.Types.ActivityStatus ActivityStatus {
- get { return activityStatus_; }
- set {
- activityStatus_ = value;
- }
- }
-
- /// Field number for the "location_hash1" field.
- public const int LocationHash1FieldNumber = 10;
- private ulong locationHash1_;
- ///
- /// Location1 hashed signed based on the auth_token or auth_info - xxHash32
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ulong LocationHash1 {
- get { return locationHash1_; }
- set {
- locationHash1_ = value;
- }
- }
-
- /// Field number for the "location_hash2" field.
- public const int LocationHash2FieldNumber = 20;
- private ulong locationHash2_;
- ///
- /// Location2 hashed (unsigned) - xxHash32
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ulong LocationHash2 {
- get { return locationHash2_; }
- set {
- locationHash2_ = value;
- }
- }
-
- /// Field number for the "session_hash" field.
- public const int SessionHashFieldNumber = 22;
- private pb::ByteString sessionHash_ = pb::ByteString.Empty;
- ///
- /// 16 bytes, unique per session
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pb::ByteString SessionHash {
- get { return sessionHash_; }
- set {
- sessionHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// Field number for the "timestamp" field.
- public const int TimestampFieldNumber = 23;
- private ulong timestamp_;
- ///
- /// epoch timestamp in ms
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ulong Timestamp {
- get { return timestamp_; }
- set {
- timestamp_ = value;
- }
- }
-
- /// Field number for the "request_hash" field.
- public const int RequestHashFieldNumber = 24;
- private static readonly pb::FieldCodec _repeated_requestHash_codec
- = pb::FieldCodec.ForUInt64(194);
- private readonly pbc::RepeatedField requestHash_ = new pbc::RepeatedField();
- ///
- /// hashes of each request message in a hashArray signed based on the auth_token or auth_info - xxhash64
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField RequestHash {
- get { return requestHash_; }
- }
-
- /// Field number for the "unknown25" field.
- public const int Unknown25FieldNumber = 25;
- private long unknown25_;
- ///
- /// for 0.33 its static -8537042734809897855 or 0x898654dd2753a481, generated via xxHash64("\"b8fa9757195897aae92c53dbcf8a60fb3d86d745\"".ToByteArray(), 0x88533787)
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public long Unknown25 {
- get { return unknown25_; }
- set {
- unknown25_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as Signature);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(Signature other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (TimestampSinceStart != other.TimestampSinceStart) return false;
- if(!locationFix_.Equals(other.locationFix_)) return false;
- if (!object.Equals(GpsInfo, other.GpsInfo)) return false;
- if (!object.Equals(SensorInfo, other.SensorInfo)) return false;
- if (!object.Equals(DeviceInfo, other.DeviceInfo)) return false;
- if (!object.Equals(ActivityStatus, other.ActivityStatus)) return false;
- if (LocationHash1 != other.LocationHash1) return false;
- if (LocationHash2 != other.LocationHash2) return false;
- if (SessionHash != other.SessionHash) return false;
- if (Timestamp != other.Timestamp) return false;
- if(!requestHash_.Equals(other.requestHash_)) return false;
- if (Unknown25 != other.Unknown25) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (TimestampSinceStart != 0UL) hash ^= TimestampSinceStart.GetHashCode();
- hash ^= locationFix_.GetHashCode();
- if (gpsInfo_ != null) hash ^= GpsInfo.GetHashCode();
- if (sensorInfo_ != null) hash ^= SensorInfo.GetHashCode();
- if (deviceInfo_ != null) hash ^= DeviceInfo.GetHashCode();
- if (activityStatus_ != null) hash ^= ActivityStatus.GetHashCode();
- if (LocationHash1 != 0UL) hash ^= LocationHash1.GetHashCode();
- if (LocationHash2 != 0UL) hash ^= LocationHash2.GetHashCode();
- if (SessionHash.Length != 0) hash ^= SessionHash.GetHashCode();
- if (Timestamp != 0UL) hash ^= Timestamp.GetHashCode();
- hash ^= requestHash_.GetHashCode();
- if (Unknown25 != 0L) hash ^= Unknown25.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (TimestampSinceStart != 0UL) {
- output.WriteRawTag(16);
- output.WriteUInt64(TimestampSinceStart);
- }
- locationFix_.WriteTo(output, _repeated_locationFix_codec);
- if (gpsInfo_ != null) {
- output.WriteRawTag(42);
- output.WriteMessage(GpsInfo);
- }
- if (sensorInfo_ != null) {
- output.WriteRawTag(58);
- output.WriteMessage(SensorInfo);
- }
- if (deviceInfo_ != null) {
- output.WriteRawTag(66);
- output.WriteMessage(DeviceInfo);
- }
- if (activityStatus_ != null) {
- output.WriteRawTag(74);
- output.WriteMessage(ActivityStatus);
- }
- if (LocationHash1 != 0UL) {
- output.WriteRawTag(80);
- output.WriteUInt64(LocationHash1);
- }
- if (LocationHash2 != 0UL) {
- output.WriteRawTag(160, 1);
- output.WriteUInt64(LocationHash2);
- }
- if (SessionHash.Length != 0) {
- output.WriteRawTag(178, 1);
- output.WriteBytes(SessionHash);
- }
- if (Timestamp != 0UL) {
- output.WriteRawTag(184, 1);
- output.WriteUInt64(Timestamp);
- }
- requestHash_.WriteTo(output, _repeated_requestHash_codec);
- if (Unknown25 != 0L) {
- output.WriteRawTag(200, 1);
- output.WriteInt64(Unknown25);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (TimestampSinceStart != 0UL) {
- size += 1 + pb::CodedOutputStream.ComputeUInt64Size(TimestampSinceStart);
- }
- size += locationFix_.CalculateSize(_repeated_locationFix_codec);
- if (gpsInfo_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(GpsInfo);
- }
- if (sensorInfo_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(SensorInfo);
- }
- if (deviceInfo_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(DeviceInfo);
- }
- if (activityStatus_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(ActivityStatus);
- }
- if (LocationHash1 != 0UL) {
- size += 1 + pb::CodedOutputStream.ComputeUInt64Size(LocationHash1);
- }
- if (LocationHash2 != 0UL) {
- size += 2 + pb::CodedOutputStream.ComputeUInt64Size(LocationHash2);
- }
- if (SessionHash.Length != 0) {
- size += 2 + pb::CodedOutputStream.ComputeBytesSize(SessionHash);
- }
- if (Timestamp != 0UL) {
- size += 2 + pb::CodedOutputStream.ComputeUInt64Size(Timestamp);
- }
- size += requestHash_.CalculateSize(_repeated_requestHash_codec);
- if (Unknown25 != 0L) {
- size += 2 + pb::CodedOutputStream.ComputeInt64Size(Unknown25);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(Signature other) {
- if (other == null) {
- return;
- }
- if (other.TimestampSinceStart != 0UL) {
- TimestampSinceStart = other.TimestampSinceStart;
- }
- locationFix_.Add(other.locationFix_);
- if (other.gpsInfo_ != null) {
- if (gpsInfo_ == null) {
- gpsInfo_ = new global::POGOProtos.Networking.Envelopes.Signature.Types.AndroidGpsInfo();
- }
- GpsInfo.MergeFrom(other.GpsInfo);
- }
- if (other.sensorInfo_ != null) {
- if (sensorInfo_ == null) {
- sensorInfo_ = new global::POGOProtos.Networking.Envelopes.Signature.Types.SensorInfo();
- }
- SensorInfo.MergeFrom(other.SensorInfo);
- }
- if (other.deviceInfo_ != null) {
- if (deviceInfo_ == null) {
- deviceInfo_ = new global::POGOProtos.Networking.Envelopes.Signature.Types.DeviceInfo();
- }
- DeviceInfo.MergeFrom(other.DeviceInfo);
- }
- if (other.activityStatus_ != null) {
- if (activityStatus_ == null) {
- activityStatus_ = new global::POGOProtos.Networking.Envelopes.Signature.Types.ActivityStatus();
- }
- ActivityStatus.MergeFrom(other.ActivityStatus);
- }
- if (other.LocationHash1 != 0UL) {
- LocationHash1 = other.LocationHash1;
- }
- if (other.LocationHash2 != 0UL) {
- LocationHash2 = other.LocationHash2;
- }
- if (other.SessionHash.Length != 0) {
- SessionHash = other.SessionHash;
- }
- if (other.Timestamp != 0UL) {
- Timestamp = other.Timestamp;
- }
- requestHash_.Add(other.requestHash_);
- if (other.Unknown25 != 0L) {
- Unknown25 = other.Unknown25;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 16: {
- TimestampSinceStart = input.ReadUInt64();
- break;
- }
- case 34: {
- locationFix_.AddEntriesFrom(input, _repeated_locationFix_codec);
- break;
- }
- case 42: {
- if (gpsInfo_ == null) {
- gpsInfo_ = new global::POGOProtos.Networking.Envelopes.Signature.Types.AndroidGpsInfo();
- }
- input.ReadMessage(gpsInfo_);
- break;
- }
- case 58: {
- if (sensorInfo_ == null) {
- sensorInfo_ = new global::POGOProtos.Networking.Envelopes.Signature.Types.SensorInfo();
- }
- input.ReadMessage(sensorInfo_);
- break;
- }
- case 66: {
- if (deviceInfo_ == null) {
- deviceInfo_ = new global::POGOProtos.Networking.Envelopes.Signature.Types.DeviceInfo();
- }
- input.ReadMessage(deviceInfo_);
- break;
- }
- case 74: {
- if (activityStatus_ == null) {
- activityStatus_ = new global::POGOProtos.Networking.Envelopes.Signature.Types.ActivityStatus();
- }
- input.ReadMessage(activityStatus_);
- break;
- }
- case 80: {
- LocationHash1 = input.ReadUInt64();
- break;
- }
- case 160: {
- LocationHash2 = input.ReadUInt64();
- break;
- }
- case 178: {
- SessionHash = input.ReadBytes();
- break;
- }
- case 184: {
- Timestamp = input.ReadUInt64();
- break;
- }
- case 194:
- case 192: {
- requestHash_.AddEntriesFrom(input, _repeated_requestHash_codec);
- break;
- }
- case 200: {
- Unknown25 = input.ReadInt64();
- break;
- }
- }
- }
- }
-
- #region Nested types
- /// Container for nested types declared in the Signature message type.
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static partial class Types {
- public sealed partial class LocationFix : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LocationFix());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::POGOProtos.Networking.Envelopes.Signature.Descriptor.NestedTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public LocationFix() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public LocationFix(LocationFix other) : this() {
- provider_ = other.provider_;
- timestampSnapshot_ = other.timestampSnapshot_;
- latitude_ = other.latitude_;
- longitude_ = other.longitude_;
- horizontalAccuracy_ = other.horizontalAccuracy_;
- altitude_ = other.altitude_;
- verticalAccuracy_ = other.verticalAccuracy_;
- providerStatus_ = other.providerStatus_;
- floor_ = other.floor_;
- locationType_ = other.locationType_;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public LocationFix Clone() {
- return new LocationFix(this);
- }
-
- /// Field number for the "provider" field.
- public const int ProviderFieldNumber = 1;
- private string provider_ = "";
- ///
- /// "network", "gps", "fused", possibly others
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string Provider {
- get { return provider_; }
- set {
- provider_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// Field number for the "timestamp_snapshot" field.
- public const int TimestampSnapshotFieldNumber = 2;
- private ulong timestampSnapshot_;
- ///
- /// in ms since start
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ulong TimestampSnapshot {
- get { return timestampSnapshot_; }
- set {
- timestampSnapshot_ = value;
- }
- }
-
- /// Field number for the "latitude" field.
- public const int LatitudeFieldNumber = 13;
- private float latitude_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public float Latitude {
- get { return latitude_; }
- set {
- latitude_ = value;
- }
- }
-
- /// Field number for the "longitude" field.
- public const int LongitudeFieldNumber = 14;
- private float longitude_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public float Longitude {
- get { return longitude_; }
- set {
- longitude_ = value;
- }
- }
-
- /// Field number for the "horizontal_accuracy" field.
- public const int HorizontalAccuracyFieldNumber = 20;
- private float horizontalAccuracy_;
- ///
- /// ??? shows up in struct, dunno where these go
- /// float device_speed;
- /// float device_course;
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public float HorizontalAccuracy {
- get { return horizontalAccuracy_; }
- set {
- horizontalAccuracy_ = value;
- }
- }
-
- /// Field number for the "altitude" field.
- public const int AltitudeFieldNumber = 21;
- private float altitude_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public float Altitude {
- get { return altitude_; }
- set {
- altitude_ = value;
- }
- }
-
- /// Field number for the "vertical_accuracy" field.
- public const int VerticalAccuracyFieldNumber = 22;
- private float verticalAccuracy_;
- ///
- /// iOS only? (range seems to be ~10-12)
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public float VerticalAccuracy {
- get { return verticalAccuracy_; }
- set {
- verticalAccuracy_ = value;
- }
- }
-
- /// Field number for the "provider_status" field.
- public const int ProviderStatusFieldNumber = 26;
- private ulong providerStatus_;
- ///
- /// Usually 3 (possibly GPS status: 1 = no fix, 2 = acquiring/inaccurate, 3 = fix acquired)
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ulong ProviderStatus {
- get { return providerStatus_; }
- set {
- providerStatus_ = value;
- }
- }
-
- /// Field number for the "floor" field.
- public const int FloorFieldNumber = 27;
- private uint floor_;
- ///
- /// On iOS there are some LocationFixes with unk26=1 and everything else empty
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public uint Floor {
- get { return floor_; }
- set {
- floor_ = value;
- }
- }
-
- /// Field number for the "location_type" field.
- public const int LocationTypeFieldNumber = 28;
- private ulong locationType_;
- ///
- /// Always 1 (if there is data at all)
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ulong LocationType {
- get { return locationType_; }
- set {
- locationType_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as LocationFix);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(LocationFix other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Provider != other.Provider) return false;
- if (TimestampSnapshot != other.TimestampSnapshot) return false;
- if (Latitude != other.Latitude) return false;
- if (Longitude != other.Longitude) return false;
- if (HorizontalAccuracy != other.HorizontalAccuracy) return false;
- if (Altitude != other.Altitude) return false;
- if (VerticalAccuracy != other.VerticalAccuracy) return false;
- if (ProviderStatus != other.ProviderStatus) return false;
- if (Floor != other.Floor) return false;
- if (LocationType != other.LocationType) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (Provider.Length != 0) hash ^= Provider.GetHashCode();
- if (TimestampSnapshot != 0UL) hash ^= TimestampSnapshot.GetHashCode();
- if (Latitude != 0F) hash ^= Latitude.GetHashCode();
- if (Longitude != 0F) hash ^= Longitude.GetHashCode();
- if (HorizontalAccuracy != 0F) hash ^= HorizontalAccuracy.GetHashCode();
- if (Altitude != 0F) hash ^= Altitude.GetHashCode();
- if (VerticalAccuracy != 0F) hash ^= VerticalAccuracy.GetHashCode();
- if (ProviderStatus != 0UL) hash ^= ProviderStatus.GetHashCode();
- if (Floor != 0) hash ^= Floor.GetHashCode();
- if (LocationType != 0UL) hash ^= LocationType.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (Provider.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Provider);
- }
- if (TimestampSnapshot != 0UL) {
- output.WriteRawTag(16);
- output.WriteUInt64(TimestampSnapshot);
- }
- if (Latitude != 0F) {
- output.WriteRawTag(109);
- output.WriteFloat(Latitude);
- }
- if (Longitude != 0F) {
- output.WriteRawTag(117);
- output.WriteFloat(Longitude);
- }
- if (HorizontalAccuracy != 0F) {
- output.WriteRawTag(165, 1);
- output.WriteFloat(HorizontalAccuracy);
- }
- if (Altitude != 0F) {
- output.WriteRawTag(173, 1);
- output.WriteFloat(Altitude);
- }
- if (VerticalAccuracy != 0F) {
- output.WriteRawTag(181, 1);
- output.WriteFloat(VerticalAccuracy);
- }
- if (ProviderStatus != 0UL) {
- output.WriteRawTag(208, 1);
- output.WriteUInt64(ProviderStatus);
- }
- if (Floor != 0) {
- output.WriteRawTag(216, 1);
- output.WriteUInt32(Floor);
- }
- if (LocationType != 0UL) {
- output.WriteRawTag(224, 1);
- output.WriteUInt64(LocationType);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (Provider.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Provider);
- }
- if (TimestampSnapshot != 0UL) {
- size += 1 + pb::CodedOutputStream.ComputeUInt64Size(TimestampSnapshot);
- }
- if (Latitude != 0F) {
- size += 1 + 4;
- }
- if (Longitude != 0F) {
- size += 1 + 4;
- }
- if (HorizontalAccuracy != 0F) {
- size += 2 + 4;
- }
- if (Altitude != 0F) {
- size += 2 + 4;
- }
- if (VerticalAccuracy != 0F) {
- size += 2 + 4;
- }
- if (ProviderStatus != 0UL) {
- size += 2 + pb::CodedOutputStream.ComputeUInt64Size(ProviderStatus);
- }
- if (Floor != 0) {
- size += 2 + pb::CodedOutputStream.ComputeUInt32Size(Floor);
- }
- if (LocationType != 0UL) {
- size += 2 + pb::CodedOutputStream.ComputeUInt64Size(LocationType);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(LocationFix other) {
- if (other == null) {
- return;
- }
- if (other.Provider.Length != 0) {
- Provider = other.Provider;
- }
- if (other.TimestampSnapshot != 0UL) {
- TimestampSnapshot = other.TimestampSnapshot;
- }
- if (other.Latitude != 0F) {
- Latitude = other.Latitude;
- }
- if (other.Longitude != 0F) {
- Longitude = other.Longitude;
- }
- if (other.HorizontalAccuracy != 0F) {
- HorizontalAccuracy = other.HorizontalAccuracy;
- }
- if (other.Altitude != 0F) {
- Altitude = other.Altitude;
- }
- if (other.VerticalAccuracy != 0F) {
- VerticalAccuracy = other.VerticalAccuracy;
- }
- if (other.ProviderStatus != 0UL) {
- ProviderStatus = other.ProviderStatus;
- }
- if (other.Floor != 0) {
- Floor = other.Floor;
- }
- if (other.LocationType != 0UL) {
- LocationType = other.LocationType;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 10: {
- Provider = input.ReadString();
- break;
- }
- case 16: {
- TimestampSnapshot = input.ReadUInt64();
- break;
- }
- case 109: {
- Latitude = input.ReadFloat();
- break;
- }
- case 117: {
- Longitude = input.ReadFloat();
- break;
- }
- case 165: {
- HorizontalAccuracy = input.ReadFloat();
- break;
- }
- case 173: {
- Altitude = input.ReadFloat();
- break;
- }
- case 181: {
- VerticalAccuracy = input.ReadFloat();
- break;
- }
- case 208: {
- ProviderStatus = input.ReadUInt64();
- break;
- }
- case 216: {
- Floor = input.ReadUInt32();
- break;
- }
- case 224: {
- LocationType = input.ReadUInt64();
- break;
- }
- }
- }
- }
-
- }
-
- ///
- /// don't really care about this since we're not using it
- ///
- public sealed partial class AndroidGpsInfo : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AndroidGpsInfo());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::POGOProtos.Networking.Envelopes.Signature.Descriptor.NestedTypes[1]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public AndroidGpsInfo() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public AndroidGpsInfo(AndroidGpsInfo other) : this() {
- timeToFix_ = other.timeToFix_;
- satellitesPrn_ = other.satellitesPrn_.Clone();
- azimuth_ = other.azimuth_.Clone();
- elevation_ = other.elevation_.Clone();
- snr_ = other.snr_.Clone();
- hasAlmanac_ = other.hasAlmanac_.Clone();
- hasEphemeris_ = other.hasEphemeris_.Clone();
- usedInFix_ = other.usedInFix_.Clone();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public AndroidGpsInfo Clone() {
- return new AndroidGpsInfo(this);
- }
-
- /// Field number for the "time_to_fix" field.
- public const int TimeToFixFieldNumber = 1;
- private ulong timeToFix_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ulong TimeToFix {
- get { return timeToFix_; }
- set {
- timeToFix_ = value;
- }
- }
-
- /// Field number for the "satellites_prn" field.
- public const int SatellitesPrnFieldNumber = 2;
- private static readonly pb::FieldCodec _repeated_satellitesPrn_codec
- = pb::FieldCodec.ForInt32(18);
- private readonly pbc::RepeatedField satellitesPrn_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField SatellitesPrn {
- get { return satellitesPrn_; }
- }
-
- /// Field number for the "azimuth" field.
- public const int AzimuthFieldNumber = 3;
- private static readonly pb::FieldCodec _repeated_azimuth_codec
- = pb::FieldCodec.ForFloat(26);
- private readonly pbc::RepeatedField azimuth_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField Azimuth {
- get { return azimuth_; }
- }
-
- /// Field number for the "elevation" field.
- public const int ElevationFieldNumber = 4;
- private static readonly pb::FieldCodec _repeated_elevation_codec
- = pb::FieldCodec.ForFloat(34);
- private readonly pbc::RepeatedField elevation_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField Elevation {
- get { return elevation_; }
- }
-
- /// Field number for the "snr" field.
- public const int SnrFieldNumber = 5;
- private static readonly pb::FieldCodec _repeated_snr_codec
- = pb::FieldCodec.ForFloat(42);
- private readonly pbc::RepeatedField snr_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField Snr {
- get { return snr_; }
- }
-
- /// Field number for the "has_almanac" field.
- public const int HasAlmanacFieldNumber = 6;
- private static readonly pb::FieldCodec _repeated_hasAlmanac_codec
- = pb::FieldCodec.ForBool(50);
- private readonly pbc::RepeatedField hasAlmanac_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField HasAlmanac {
- get { return hasAlmanac_; }
- }
-
- /// Field number for the "has_ephemeris" field.
- public const int HasEphemerisFieldNumber = 7;
- private static readonly pb::FieldCodec _repeated_hasEphemeris_codec
- = pb::FieldCodec.ForBool(58);
- private readonly pbc::RepeatedField hasEphemeris_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField HasEphemeris {
- get { return hasEphemeris_; }
- }
-
- /// Field number for the "used_in_fix" field.
- public const int UsedInFixFieldNumber = 8;
- private static readonly pb::FieldCodec _repeated_usedInFix_codec
- = pb::FieldCodec.ForBool(66);
- private readonly pbc::RepeatedField usedInFix_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField UsedInFix {
- get { return usedInFix_; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as AndroidGpsInfo);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(AndroidGpsInfo other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (TimeToFix != other.TimeToFix) return false;
- if(!satellitesPrn_.Equals(other.satellitesPrn_)) return false;
- if(!azimuth_.Equals(other.azimuth_)) return false;
- if(!elevation_.Equals(other.elevation_)) return false;
- if(!snr_.Equals(other.snr_)) return false;
- if(!hasAlmanac_.Equals(other.hasAlmanac_)) return false;
- if(!hasEphemeris_.Equals(other.hasEphemeris_)) return false;
- if(!usedInFix_.Equals(other.usedInFix_)) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (TimeToFix != 0UL) hash ^= TimeToFix.GetHashCode();
- hash ^= satellitesPrn_.GetHashCode();
- hash ^= azimuth_.GetHashCode();
- hash ^= elevation_.GetHashCode();
- hash ^= snr_.GetHashCode();
- hash ^= hasAlmanac_.GetHashCode();
- hash ^= hasEphemeris_.GetHashCode();
- hash ^= usedInFix_.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (TimeToFix != 0UL) {
- output.WriteRawTag(8);
- output.WriteUInt64(TimeToFix);
- }
- satellitesPrn_.WriteTo(output, _repeated_satellitesPrn_codec);
- azimuth_.WriteTo(output, _repeated_azimuth_codec);
- elevation_.WriteTo(output, _repeated_elevation_codec);
- snr_.WriteTo(output, _repeated_snr_codec);
- hasAlmanac_.WriteTo(output, _repeated_hasAlmanac_codec);
- hasEphemeris_.WriteTo(output, _repeated_hasEphemeris_codec);
- usedInFix_.WriteTo(output, _repeated_usedInFix_codec);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (TimeToFix != 0UL) {
- size += 1 + pb::CodedOutputStream.ComputeUInt64Size(TimeToFix);
- }
- size += satellitesPrn_.CalculateSize(_repeated_satellitesPrn_codec);
- size += azimuth_.CalculateSize(_repeated_azimuth_codec);
- size += elevation_.CalculateSize(_repeated_elevation_codec);
- size += snr_.CalculateSize(_repeated_snr_codec);
- size += hasAlmanac_.CalculateSize(_repeated_hasAlmanac_codec);
- size += hasEphemeris_.CalculateSize(_repeated_hasEphemeris_codec);
- size += usedInFix_.CalculateSize(_repeated_usedInFix_codec);
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(AndroidGpsInfo other) {
- if (other == null) {
- return;
- }
- if (other.TimeToFix != 0UL) {
- TimeToFix = other.TimeToFix;
- }
- satellitesPrn_.Add(other.satellitesPrn_);
- azimuth_.Add(other.azimuth_);
- elevation_.Add(other.elevation_);
- snr_.Add(other.snr_);
- hasAlmanac_.Add(other.hasAlmanac_);
- hasEphemeris_.Add(other.hasEphemeris_);
- usedInFix_.Add(other.usedInFix_);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 8: {
- TimeToFix = input.ReadUInt64();
- break;
- }
- case 18:
- case 16: {
- satellitesPrn_.AddEntriesFrom(input, _repeated_satellitesPrn_codec);
- break;
- }
- case 26:
- case 29: {
- azimuth_.AddEntriesFrom(input, _repeated_azimuth_codec);
- break;
- }
- case 34:
- case 37: {
- elevation_.AddEntriesFrom(input, _repeated_elevation_codec);
- break;
- }
- case 42:
- case 45: {
- snr_.AddEntriesFrom(input, _repeated_snr_codec);
- break;
- }
- case 50:
- case 48: {
- hasAlmanac_.AddEntriesFrom(input, _repeated_hasAlmanac_codec);
- break;
- }
- case 58:
- case 56: {
- hasEphemeris_.AddEntriesFrom(input, _repeated_hasEphemeris_codec);
- break;
- }
- case 66:
- case 64: {
- usedInFix_.AddEntriesFrom(input, _repeated_usedInFix_codec);
- break;
- }
- }
- }
- }
-
- }
-
- public sealed partial class SensorInfo : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SensorInfo());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::POGOProtos.Networking.Envelopes.Signature.Descriptor.NestedTypes[2]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public SensorInfo() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public SensorInfo(SensorInfo other) : this() {
- timestampSnapshot_ = other.timestampSnapshot_;
- magnetometerX_ = other.magnetometerX_;
- magnetometerY_ = other.magnetometerY_;
- magnetometerZ_ = other.magnetometerZ_;
- angleNormalizedX_ = other.angleNormalizedX_;
- angleNormalizedY_ = other.angleNormalizedY_;
- angleNormalizedZ_ = other.angleNormalizedZ_;
- accelRawX_ = other.accelRawX_;
- accelRawY_ = other.accelRawY_;
- accelRawZ_ = other.accelRawZ_;
- gyroscopeRawX_ = other.gyroscopeRawX_;
- gyroscopeRawY_ = other.gyroscopeRawY_;
- gyroscopeRawZ_ = other.gyroscopeRawZ_;
- accelNormalizedX_ = other.accelNormalizedX_;
- accelNormalizedY_ = other.accelNormalizedY_;
- accelNormalizedZ_ = other.accelNormalizedZ_;
- accelerometerAxes_ = other.accelerometerAxes_;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public SensorInfo Clone() {
- return new SensorInfo(this);
- }
-
- /// Field number for the "timestamp_snapshot" field.
- public const int TimestampSnapshotFieldNumber = 1;
- private ulong timestampSnapshot_;
- ///
- /// in ms since start
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ulong TimestampSnapshot {
- get { return timestampSnapshot_; }
- set {
- timestampSnapshot_ = value;
- }
- }
-
- /// Field number for the "magnetometer_x" field.
- public const int MagnetometerXFieldNumber = 3;
- private double magnetometerX_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double MagnetometerX {
- get { return magnetometerX_; }
- set {
- magnetometerX_ = value;
- }
- }
-
- /// Field number for the "magnetometer_y" field.
- public const int MagnetometerYFieldNumber = 4;
- private double magnetometerY_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double MagnetometerY {
- get { return magnetometerY_; }
- set {
- magnetometerY_ = value;
- }
- }
-
- /// Field number for the "magnetometer_z" field.
- public const int MagnetometerZFieldNumber = 5;
- private double magnetometerZ_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double MagnetometerZ {
- get { return magnetometerZ_; }
- set {
- magnetometerZ_ = value;
- }
- }
-
- /// Field number for the "angle_normalized_x" field.
- public const int AngleNormalizedXFieldNumber = 6;
- private double angleNormalizedX_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double AngleNormalizedX {
- get { return angleNormalizedX_; }
- set {
- angleNormalizedX_ = value;
- }
- }
-
- /// Field number for the "angle_normalized_y" field.
- public const int AngleNormalizedYFieldNumber = 7;
- private double angleNormalizedY_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double AngleNormalizedY {
- get { return angleNormalizedY_; }
- set {
- angleNormalizedY_ = value;
- }
- }
-
- /// Field number for the "angle_normalized_z" field.
- public const int AngleNormalizedZFieldNumber = 8;
- private double angleNormalizedZ_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double AngleNormalizedZ {
- get { return angleNormalizedZ_; }
- set {
- angleNormalizedZ_ = value;
- }
- }
-
- /// Field number for the "accel_raw_x" field.
- public const int AccelRawXFieldNumber = 10;
- private double accelRawX_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double AccelRawX {
- get { return accelRawX_; }
- set {
- accelRawX_ = value;
- }
- }
-
- /// Field number for the "accel_raw_y" field.
- public const int AccelRawYFieldNumber = 11;
- private double accelRawY_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double AccelRawY {
- get { return accelRawY_; }
- set {
- accelRawY_ = value;
- }
- }
-
- /// Field number for the "accel_raw_z" field.
- public const int AccelRawZFieldNumber = 12;
- private double accelRawZ_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double AccelRawZ {
- get { return accelRawZ_; }
- set {
- accelRawZ_ = value;
- }
- }
-
- /// Field number for the "gyroscope_raw_x" field.
- public const int GyroscopeRawXFieldNumber = 13;
- private double gyroscopeRawX_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double GyroscopeRawX {
- get { return gyroscopeRawX_; }
- set {
- gyroscopeRawX_ = value;
- }
- }
-
- /// Field number for the "gyroscope_raw_y" field.
- public const int GyroscopeRawYFieldNumber = 14;
- private double gyroscopeRawY_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double GyroscopeRawY {
- get { return gyroscopeRawY_; }
- set {
- gyroscopeRawY_ = value;
- }
- }
-
- /// Field number for the "gyroscope_raw_z" field.
- public const int GyroscopeRawZFieldNumber = 15;
- private double gyroscopeRawZ_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double GyroscopeRawZ {
- get { return gyroscopeRawZ_; }
- set {
- gyroscopeRawZ_ = value;
- }
- }
-
- /// Field number for the "accel_normalized_x" field.
- public const int AccelNormalizedXFieldNumber = 16;
- private double accelNormalizedX_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double AccelNormalizedX {
- get { return accelNormalizedX_; }
- set {
- accelNormalizedX_ = value;
- }
- }
-
- /// Field number for the "accel_normalized_y" field.
- public const int AccelNormalizedYFieldNumber = 17;
- private double accelNormalizedY_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double AccelNormalizedY {
- get { return accelNormalizedY_; }
- set {
- accelNormalizedY_ = value;
- }
- }
-
- /// Field number for the "accel_normalized_z" field.
- public const int AccelNormalizedZFieldNumber = 18;
- private double accelNormalizedZ_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double AccelNormalizedZ {
- get { return accelNormalizedZ_; }
- set {
- accelNormalizedZ_ = value;
- }
- }
-
- /// Field number for the "accelerometer_axes" field.
- public const int AccelerometerAxesFieldNumber = 19;
- private ulong accelerometerAxes_;
- ///
- /// Always 3
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ulong AccelerometerAxes {
- get { return accelerometerAxes_; }
- set {
- accelerometerAxes_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as SensorInfo);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(SensorInfo other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (TimestampSnapshot != other.TimestampSnapshot) return false;
- if (MagnetometerX != other.MagnetometerX) return false;
- if (MagnetometerY != other.MagnetometerY) return false;
- if (MagnetometerZ != other.MagnetometerZ) return false;
- if (AngleNormalizedX != other.AngleNormalizedX) return false;
- if (AngleNormalizedY != other.AngleNormalizedY) return false;
- if (AngleNormalizedZ != other.AngleNormalizedZ) return false;
- if (AccelRawX != other.AccelRawX) return false;
- if (AccelRawY != other.AccelRawY) return false;
- if (AccelRawZ != other.AccelRawZ) return false;
- if (GyroscopeRawX != other.GyroscopeRawX) return false;
- if (GyroscopeRawY != other.GyroscopeRawY) return false;
- if (GyroscopeRawZ != other.GyroscopeRawZ) return false;
- if (AccelNormalizedX != other.AccelNormalizedX) return false;
- if (AccelNormalizedY != other.AccelNormalizedY) return false;
- if (AccelNormalizedZ != other.AccelNormalizedZ) return false;
- if (AccelerometerAxes != other.AccelerometerAxes) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (TimestampSnapshot != 0UL) hash ^= TimestampSnapshot.GetHashCode();
- if (MagnetometerX != 0D) hash ^= MagnetometerX.GetHashCode();
- if (MagnetometerY != 0D) hash ^= MagnetometerY.GetHashCode();
- if (MagnetometerZ != 0D) hash ^= MagnetometerZ.GetHashCode();
- if (AngleNormalizedX != 0D) hash ^= AngleNormalizedX.GetHashCode();
- if (AngleNormalizedY != 0D) hash ^= AngleNormalizedY.GetHashCode();
- if (AngleNormalizedZ != 0D) hash ^= AngleNormalizedZ.GetHashCode();
- if (AccelRawX != 0D) hash ^= AccelRawX.GetHashCode();
- if (AccelRawY != 0D) hash ^= AccelRawY.GetHashCode();
- if (AccelRawZ != 0D) hash ^= AccelRawZ.GetHashCode();
- if (GyroscopeRawX != 0D) hash ^= GyroscopeRawX.GetHashCode();
- if (GyroscopeRawY != 0D) hash ^= GyroscopeRawY.GetHashCode();
- if (GyroscopeRawZ != 0D) hash ^= GyroscopeRawZ.GetHashCode();
- if (AccelNormalizedX != 0D) hash ^= AccelNormalizedX.GetHashCode();
- if (AccelNormalizedY != 0D) hash ^= AccelNormalizedY.GetHashCode();
- if (AccelNormalizedZ != 0D) hash ^= AccelNormalizedZ.GetHashCode();
- if (AccelerometerAxes != 0UL) hash ^= AccelerometerAxes.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (TimestampSnapshot != 0UL) {
- output.WriteRawTag(8);
- output.WriteUInt64(TimestampSnapshot);
- }
- if (MagnetometerX != 0D) {
- output.WriteRawTag(25);
- output.WriteDouble(MagnetometerX);
- }
- if (MagnetometerY != 0D) {
- output.WriteRawTag(33);
- output.WriteDouble(MagnetometerY);
- }
- if (MagnetometerZ != 0D) {
- output.WriteRawTag(41);
- output.WriteDouble(MagnetometerZ);
- }
- if (AngleNormalizedX != 0D) {
- output.WriteRawTag(49);
- output.WriteDouble(AngleNormalizedX);
- }
- if (AngleNormalizedY != 0D) {
- output.WriteRawTag(57);
- output.WriteDouble(AngleNormalizedY);
- }
- if (AngleNormalizedZ != 0D) {
- output.WriteRawTag(65);
- output.WriteDouble(AngleNormalizedZ);
- }
- if (AccelRawX != 0D) {
- output.WriteRawTag(81);
- output.WriteDouble(AccelRawX);
- }
- if (AccelRawY != 0D) {
- output.WriteRawTag(89);
- output.WriteDouble(AccelRawY);
- }
- if (AccelRawZ != 0D) {
- output.WriteRawTag(97);
- output.WriteDouble(AccelRawZ);
- }
- if (GyroscopeRawX != 0D) {
- output.WriteRawTag(105);
- output.WriteDouble(GyroscopeRawX);
- }
- if (GyroscopeRawY != 0D) {
- output.WriteRawTag(113);
- output.WriteDouble(GyroscopeRawY);
- }
- if (GyroscopeRawZ != 0D) {
- output.WriteRawTag(121);
- output.WriteDouble(GyroscopeRawZ);
- }
- if (AccelNormalizedX != 0D) {
- output.WriteRawTag(129, 1);
- output.WriteDouble(AccelNormalizedX);
- }
- if (AccelNormalizedY != 0D) {
- output.WriteRawTag(137, 1);
- output.WriteDouble(AccelNormalizedY);
- }
- if (AccelNormalizedZ != 0D) {
- output.WriteRawTag(145, 1);
- output.WriteDouble(AccelNormalizedZ);
- }
- if (AccelerometerAxes != 0UL) {
- output.WriteRawTag(152, 1);
- output.WriteUInt64(AccelerometerAxes);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (TimestampSnapshot != 0UL) {
- size += 1 + pb::CodedOutputStream.ComputeUInt64Size(TimestampSnapshot);
- }
- if (MagnetometerX != 0D) {
- size += 1 + 8;
- }
- if (MagnetometerY != 0D) {
- size += 1 + 8;
- }
- if (MagnetometerZ != 0D) {
- size += 1 + 8;
- }
- if (AngleNormalizedX != 0D) {
- size += 1 + 8;
- }
- if (AngleNormalizedY != 0D) {
- size += 1 + 8;
- }
- if (AngleNormalizedZ != 0D) {
- size += 1 + 8;
- }
- if (AccelRawX != 0D) {
- size += 1 + 8;
- }
- if (AccelRawY != 0D) {
- size += 1 + 8;
- }
- if (AccelRawZ != 0D) {
- size += 1 + 8;
- }
- if (GyroscopeRawX != 0D) {
- size += 1 + 8;
- }
- if (GyroscopeRawY != 0D) {
- size += 1 + 8;
- }
- if (GyroscopeRawZ != 0D) {
- size += 1 + 8;
- }
- if (AccelNormalizedX != 0D) {
- size += 2 + 8;
- }
- if (AccelNormalizedY != 0D) {
- size += 2 + 8;
- }
- if (AccelNormalizedZ != 0D) {
- size += 2 + 8;
- }
- if (AccelerometerAxes != 0UL) {
- size += 2 + pb::CodedOutputStream.ComputeUInt64Size(AccelerometerAxes);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(SensorInfo other) {
- if (other == null) {
- return;
- }
- if (other.TimestampSnapshot != 0UL) {
- TimestampSnapshot = other.TimestampSnapshot;
- }
- if (other.MagnetometerX != 0D) {
- MagnetometerX = other.MagnetometerX;
- }
- if (other.MagnetometerY != 0D) {
- MagnetometerY = other.MagnetometerY;
- }
- if (other.MagnetometerZ != 0D) {
- MagnetometerZ = other.MagnetometerZ;
- }
- if (other.AngleNormalizedX != 0D) {
- AngleNormalizedX = other.AngleNormalizedX;
- }
- if (other.AngleNormalizedY != 0D) {
- AngleNormalizedY = other.AngleNormalizedY;
- }
- if (other.AngleNormalizedZ != 0D) {
- AngleNormalizedZ = other.AngleNormalizedZ;
- }
- if (other.AccelRawX != 0D) {
- AccelRawX = other.AccelRawX;
- }
- if (other.AccelRawY != 0D) {
- AccelRawY = other.AccelRawY;
- }
- if (other.AccelRawZ != 0D) {
- AccelRawZ = other.AccelRawZ;
- }
- if (other.GyroscopeRawX != 0D) {
- GyroscopeRawX = other.GyroscopeRawX;
- }
- if (other.GyroscopeRawY != 0D) {
- GyroscopeRawY = other.GyroscopeRawY;
- }
- if (other.GyroscopeRawZ != 0D) {
- GyroscopeRawZ = other.GyroscopeRawZ;
- }
- if (other.AccelNormalizedX != 0D) {
- AccelNormalizedX = other.AccelNormalizedX;
- }
- if (other.AccelNormalizedY != 0D) {
- AccelNormalizedY = other.AccelNormalizedY;
- }
- if (other.AccelNormalizedZ != 0D) {
- AccelNormalizedZ = other.AccelNormalizedZ;
- }
- if (other.AccelerometerAxes != 0UL) {
- AccelerometerAxes = other.AccelerometerAxes;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 8: {
- TimestampSnapshot = input.ReadUInt64();
- break;
- }
- case 25: {
- MagnetometerX = input.ReadDouble();
- break;
- }
- case 33: {
- MagnetometerY = input.ReadDouble();
- break;
- }
- case 41: {
- MagnetometerZ = input.ReadDouble();
- break;
- }
- case 49: {
- AngleNormalizedX = input.ReadDouble();
- break;
- }
- case 57: {
- AngleNormalizedY = input.ReadDouble();
- break;
- }
- case 65: {
- AngleNormalizedZ = input.ReadDouble();
- break;
- }
- case 81: {
- AccelRawX = input.ReadDouble();
- break;
- }
- case 89: {
- AccelRawY = input.ReadDouble();
- break;
- }
- case 97: {
- AccelRawZ = input.ReadDouble();
- break;
- }
- case 105: {
- GyroscopeRawX = input.ReadDouble();
- break;
- }
- case 113: {
- GyroscopeRawY = input.ReadDouble();
- break;
- }
- case 121: {
- GyroscopeRawZ = input.ReadDouble();
- break;
- }
- case 129: {
- AccelNormalizedX = input.ReadDouble();
- break;
- }
- case 137: {
- AccelNormalizedY = input.ReadDouble();
- break;
- }
- case 145: {
- AccelNormalizedZ = input.ReadDouble();
- break;
- }
- case 152: {
- AccelerometerAxes = input.ReadUInt64();
- break;
- }
- }
- }
- }
-
- }
-
- public sealed partial class DeviceInfo : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeviceInfo());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::POGOProtos.Networking.Envelopes.Signature.Descriptor.NestedTypes[3]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public DeviceInfo() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public DeviceInfo(DeviceInfo other) : this() {
- deviceId_ = other.deviceId_;
- androidBoardName_ = other.androidBoardName_;
- androidBootloader_ = other.androidBootloader_;
- deviceBrand_ = other.deviceBrand_;
- deviceModel_ = other.deviceModel_;
- deviceModelIdentifier_ = other.deviceModelIdentifier_;
- deviceModelBoot_ = other.deviceModelBoot_;
- hardwareManufacturer_ = other.hardwareManufacturer_;
- hardwareModel_ = other.hardwareModel_;
- firmwareBrand_ = other.firmwareBrand_;
- firmwareTags_ = other.firmwareTags_;
- firmwareType_ = other.firmwareType_;
- firmwareFingerprint_ = other.firmwareFingerprint_;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public DeviceInfo Clone() {
- return new DeviceInfo(this);
- }
-
- /// Field number for the "device_id" field.
- public const int DeviceIdFieldNumber = 1;
- private string deviceId_ = "";
- ///
- /// Hex string
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string DeviceId {
- get { return deviceId_; }
- set {
- deviceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// Field number for the "android_board_name" field.
- public const int AndroidBoardNameFieldNumber = 2;
- private string androidBoardName_ = "";
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string AndroidBoardName {
- get { return androidBoardName_; }
- set {
- androidBoardName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// Field number for the "android_bootloader" field.
- public const int AndroidBootloaderFieldNumber = 3;
- private string androidBootloader_ = "";
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string AndroidBootloader {
- get { return androidBootloader_; }
- set {
- androidBootloader_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// Field number for the "device_brand" field.
- public const int DeviceBrandFieldNumber = 4;
- private string deviceBrand_ = "";
- ///
- /// On Android: product.brand
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string DeviceBrand {
- get { return deviceBrand_; }
- set {
- deviceBrand_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// Field number for the "device_model" field.
- public const int DeviceModelFieldNumber = 5;
- private string deviceModel_ = "";
- ///
- /// On Android: product.device
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string DeviceModel {
- get { return deviceModel_; }
- set {
- deviceModel_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// Field number for the "device_model_identifier" field.
- public const int DeviceModelIdentifierFieldNumber = 6;
- private string deviceModelIdentifier_ = "";
- ///
- /// Android only, build.display.id
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string DeviceModelIdentifier {
- get { return deviceModelIdentifier_; }
- set {
- deviceModelIdentifier_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// Field number for the "device_model_boot" field.
- public const int DeviceModelBootFieldNumber = 7;
- private string deviceModelBoot_ = "";
- ///
- /// On Android: boot.hardware
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string DeviceModelBoot {
- get { return deviceModelBoot_; }
- set {
- deviceModelBoot_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// Field number for the "hardware_manufacturer" field.
- public const int HardwareManufacturerFieldNumber = 8;
- private string hardwareManufacturer_ = "";
- ///
- /// On Android: product.manufacturer
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string HardwareManufacturer {
- get { return hardwareManufacturer_; }
- set {
- hardwareManufacturer_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// Field number for the "hardware_model" field.
- public const int HardwareModelFieldNumber = 9;
- private string hardwareModel_ = "";
- ///
- /// On Android: product.model
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string HardwareModel {
- get { return hardwareModel_; }
- set {
- hardwareModel_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// Field number for the "firmware_brand" field.
- public const int FirmwareBrandFieldNumber = 10;
- private string firmwareBrand_ = "";
- ///
- /// On Android: product.name, on iOS: "iPhone OS"
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string FirmwareBrand {
- get { return firmwareBrand_; }
- set {
- firmwareBrand_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// Field number for the "firmware_tags" field.
- public const int FirmwareTagsFieldNumber = 12;
- private string firmwareTags_ = "";
- ///
- /// Android only, build.tags
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string FirmwareTags {
- get { return firmwareTags_; }
- set {
- firmwareTags_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// Field number for the "firmware_type" field.
- public const int FirmwareTypeFieldNumber = 13;
- private string firmwareType_ = "";
- ///
- /// On Android: build.type, on iOS instead: iOS version
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string FirmwareType {
- get { return firmwareType_; }
- set {
- firmwareType_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// Field number for the "firmware_fingerprint" field.
- public const int FirmwareFingerprintFieldNumber = 14;
- private string firmwareFingerprint_ = "";
- ///
- /// Android only, build.fingerprint
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string FirmwareFingerprint {
- get { return firmwareFingerprint_; }
- set {
- firmwareFingerprint_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as DeviceInfo);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(DeviceInfo other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (DeviceId != other.DeviceId) return false;
- if (AndroidBoardName != other.AndroidBoardName) return false;
- if (AndroidBootloader != other.AndroidBootloader) return false;
- if (DeviceBrand != other.DeviceBrand) return false;
- if (DeviceModel != other.DeviceModel) return false;
- if (DeviceModelIdentifier != other.DeviceModelIdentifier) return false;
- if (DeviceModelBoot != other.DeviceModelBoot) return false;
- if (HardwareManufacturer != other.HardwareManufacturer) return false;
- if (HardwareModel != other.HardwareModel) return false;
- if (FirmwareBrand != other.FirmwareBrand) return false;
- if (FirmwareTags != other.FirmwareTags) return false;
- if (FirmwareType != other.FirmwareType) return false;
- if (FirmwareFingerprint != other.FirmwareFingerprint) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (DeviceId.Length != 0) hash ^= DeviceId.GetHashCode();
- if (AndroidBoardName.Length != 0) hash ^= AndroidBoardName.GetHashCode();
- if (AndroidBootloader.Length != 0) hash ^= AndroidBootloader.GetHashCode();
- if (DeviceBrand.Length != 0) hash ^= DeviceBrand.GetHashCode();
- if (DeviceModel.Length != 0) hash ^= DeviceModel.GetHashCode();
- if (DeviceModelIdentifier.Length != 0) hash ^= DeviceModelIdentifier.GetHashCode();
- if (DeviceModelBoot.Length != 0) hash ^= DeviceModelBoot.GetHashCode();
- if (HardwareManufacturer.Length != 0) hash ^= HardwareManufacturer.GetHashCode();
- if (HardwareModel.Length != 0) hash ^= HardwareModel.GetHashCode();
- if (FirmwareBrand.Length != 0) hash ^= FirmwareBrand.GetHashCode();
- if (FirmwareTags.Length != 0) hash ^= FirmwareTags.GetHashCode();
- if (FirmwareType.Length != 0) hash ^= FirmwareType.GetHashCode();
- if (FirmwareFingerprint.Length != 0) hash ^= FirmwareFingerprint.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (DeviceId.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(DeviceId);
- }
- if (AndroidBoardName.Length != 0) {
- output.WriteRawTag(18);
- output.WriteString(AndroidBoardName);
- }
- if (AndroidBootloader.Length != 0) {
- output.WriteRawTag(26);
- output.WriteString(AndroidBootloader);
- }
- if (DeviceBrand.Length != 0) {
- output.WriteRawTag(34);
- output.WriteString(DeviceBrand);
- }
- if (DeviceModel.Length != 0) {
- output.WriteRawTag(42);
- output.WriteString(DeviceModel);
- }
- if (DeviceModelIdentifier.Length != 0) {
- output.WriteRawTag(50);
- output.WriteString(DeviceModelIdentifier);
- }
- if (DeviceModelBoot.Length != 0) {
- output.WriteRawTag(58);
- output.WriteString(DeviceModelBoot);
- }
- if (HardwareManufacturer.Length != 0) {
- output.WriteRawTag(66);
- output.WriteString(HardwareManufacturer);
- }
- if (HardwareModel.Length != 0) {
- output.WriteRawTag(74);
- output.WriteString(HardwareModel);
- }
- if (FirmwareBrand.Length != 0) {
- output.WriteRawTag(82);
- output.WriteString(FirmwareBrand);
- }
- if (FirmwareTags.Length != 0) {
- output.WriteRawTag(98);
- output.WriteString(FirmwareTags);
- }
- if (FirmwareType.Length != 0) {
- output.WriteRawTag(106);
- output.WriteString(FirmwareType);
- }
- if (FirmwareFingerprint.Length != 0) {
- output.WriteRawTag(114);
- output.WriteString(FirmwareFingerprint);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (DeviceId.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(DeviceId);
- }
- if (AndroidBoardName.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(AndroidBoardName);
- }
- if (AndroidBootloader.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(AndroidBootloader);
- }
- if (DeviceBrand.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(DeviceBrand);
- }
- if (DeviceModel.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(DeviceModel);
- }
- if (DeviceModelIdentifier.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(DeviceModelIdentifier);
- }
- if (DeviceModelBoot.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(DeviceModelBoot);
- }
- if (HardwareManufacturer.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(HardwareManufacturer);
- }
- if (HardwareModel.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(HardwareModel);
- }
- if (FirmwareBrand.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(FirmwareBrand);
- }
- if (FirmwareTags.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(FirmwareTags);
- }
- if (FirmwareType.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(FirmwareType);
- }
- if (FirmwareFingerprint.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(FirmwareFingerprint);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(DeviceInfo other) {
- if (other == null) {
- return;
- }
- if (other.DeviceId.Length != 0) {
- DeviceId = other.DeviceId;
- }
- if (other.AndroidBoardName.Length != 0) {
- AndroidBoardName = other.AndroidBoardName;
- }
- if (other.AndroidBootloader.Length != 0) {
- AndroidBootloader = other.AndroidBootloader;
- }
- if (other.DeviceBrand.Length != 0) {
- DeviceBrand = other.DeviceBrand;
- }
- if (other.DeviceModel.Length != 0) {
- DeviceModel = other.DeviceModel;
- }
- if (other.DeviceModelIdentifier.Length != 0) {
- DeviceModelIdentifier = other.DeviceModelIdentifier;
- }
- if (other.DeviceModelBoot.Length != 0) {
- DeviceModelBoot = other.DeviceModelBoot;
- }
- if (other.HardwareManufacturer.Length != 0) {
- HardwareManufacturer = other.HardwareManufacturer;
- }
- if (other.HardwareModel.Length != 0) {
- HardwareModel = other.HardwareModel;
- }
- if (other.FirmwareBrand.Length != 0) {
- FirmwareBrand = other.FirmwareBrand;
- }
- if (other.FirmwareTags.Length != 0) {
- FirmwareTags = other.FirmwareTags;
- }
- if (other.FirmwareType.Length != 0) {
- FirmwareType = other.FirmwareType;
- }
- if (other.FirmwareFingerprint.Length != 0) {
- FirmwareFingerprint = other.FirmwareFingerprint;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 10: {
- DeviceId = input.ReadString();
- break;
- }
- case 18: {
- AndroidBoardName = input.ReadString();
- break;
- }
- case 26: {
- AndroidBootloader = input.ReadString();
- break;
- }
- case 34: {
- DeviceBrand = input.ReadString();
- break;
- }
- case 42: {
- DeviceModel = input.ReadString();
- break;
- }
- case 50: {
- DeviceModelIdentifier = input.ReadString();
- break;
- }
- case 58: {
- DeviceModelBoot = input.ReadString();
- break;
- }
- case 66: {
- HardwareManufacturer = input.ReadString();
- break;
- }
- case 74: {
- HardwareModel = input.ReadString();
- break;
- }
- case 82: {
- FirmwareBrand = input.ReadString();
- break;
- }
- case 98: {
- FirmwareTags = input.ReadString();
- break;
- }
- case 106: {
- FirmwareType = input.ReadString();
- break;
- }
- case 114: {
- FirmwareFingerprint = input.ReadString();
- break;
- }
- }
- }
- }
-
- }
-
- ///
- /// Only used in iOS - Android just sends an empty version
- ///
- public sealed partial class ActivityStatus : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ActivityStatus());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::POGOProtos.Networking.Envelopes.Signature.Descriptor.NestedTypes[4]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ActivityStatus() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ActivityStatus(ActivityStatus other) : this() {
- startTimeMs_ = other.startTimeMs_;
- unknownStatus_ = other.unknownStatus_;
- walking_ = other.walking_;
- running_ = other.running_;
- stationary_ = other.stationary_;
- automotive_ = other.automotive_;
- tilting_ = other.tilting_;
- cycling_ = other.cycling_;
- status_ = other.status_;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ActivityStatus Clone() {
- return new ActivityStatus(this);
- }
-
- /// Field number for the "start_time_ms" field.
- public const int StartTimeMsFieldNumber = 1;
- private ulong startTimeMs_;
- ///
- /// all of these had 1 as their value
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ulong StartTimeMs {
- get { return startTimeMs_; }
- set {
- startTimeMs_ = value;
- }
- }
-
- /// Field number for the "unknown_status" field.
- public const int UnknownStatusFieldNumber = 2;
- private bool unknownStatus_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool UnknownStatus {
- get { return unknownStatus_; }
- set {
- unknownStatus_ = value;
- }
- }
-
- /// Field number for the "walking" field.
- public const int WalkingFieldNumber = 3;
- private bool walking_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Walking {
- get { return walking_; }
- set {
- walking_ = value;
- }
- }
-
- /// Field number for the "running" field.
- public const int RunningFieldNumber = 4;
- private bool running_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Running {
- get { return running_; }
- set {
- running_ = value;
- }
- }
-
- /// Field number for the "stationary" field.
- public const int StationaryFieldNumber = 5;
- private bool stationary_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Stationary {
- get { return stationary_; }
- set {
- stationary_ = value;
- }
- }
-
- /// Field number for the "automotive" field.
- public const int AutomotiveFieldNumber = 6;
- private bool automotive_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Automotive {
- get { return automotive_; }
- set {
- automotive_ = value;
- }
- }
-
- /// Field number for the "tilting" field.
- public const int TiltingFieldNumber = 7;
- private bool tilting_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Tilting {
- get { return tilting_; }
- set {
- tilting_ = value;
- }
- }
-
- /// Field number for the "cycling" field.
- public const int CyclingFieldNumber = 8;
- private bool cycling_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Cycling {
- get { return cycling_; }
- set {
- cycling_ = value;
- }
- }
-
- /// Field number for the "status" field.
- public const int StatusFieldNumber = 9;
- private pb::ByteString status_ = pb::ByteString.Empty;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pb::ByteString Status {
- get { return status_; }
- set {
- status_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as ActivityStatus);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(ActivityStatus other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (StartTimeMs != other.StartTimeMs) return false;
- if (UnknownStatus != other.UnknownStatus) return false;
- if (Walking != other.Walking) return false;
- if (Running != other.Running) return false;
- if (Stationary != other.Stationary) return false;
- if (Automotive != other.Automotive) return false;
- if (Tilting != other.Tilting) return false;
- if (Cycling != other.Cycling) return false;
- if (Status != other.Status) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (StartTimeMs != 0UL) hash ^= StartTimeMs.GetHashCode();
- if (UnknownStatus != false) hash ^= UnknownStatus.GetHashCode();
- if (Walking != false) hash ^= Walking.GetHashCode();
- if (Running != false) hash ^= Running.GetHashCode();
- if (Stationary != false) hash ^= Stationary.GetHashCode();
- if (Automotive != false) hash ^= Automotive.GetHashCode();
- if (Tilting != false) hash ^= Tilting.GetHashCode();
- if (Cycling != false) hash ^= Cycling.GetHashCode();
- if (Status.Length != 0) hash ^= Status.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (StartTimeMs != 0UL) {
- output.WriteRawTag(8);
- output.WriteUInt64(StartTimeMs);
- }
- if (UnknownStatus != false) {
- output.WriteRawTag(16);
- output.WriteBool(UnknownStatus);
- }
- if (Walking != false) {
- output.WriteRawTag(24);
- output.WriteBool(Walking);
- }
- if (Running != false) {
- output.WriteRawTag(32);
- output.WriteBool(Running);
- }
- if (Stationary != false) {
- output.WriteRawTag(40);
- output.WriteBool(Stationary);
- }
- if (Automotive != false) {
- output.WriteRawTag(48);
- output.WriteBool(Automotive);
- }
- if (Tilting != false) {
- output.WriteRawTag(56);
- output.WriteBool(Tilting);
- }
- if (Cycling != false) {
- output.WriteRawTag(64);
- output.WriteBool(Cycling);
- }
- if (Status.Length != 0) {
- output.WriteRawTag(74);
- output.WriteBytes(Status);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (StartTimeMs != 0UL) {
- size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StartTimeMs);
- }
- if (UnknownStatus != false) {
- size += 1 + 1;
- }
- if (Walking != false) {
- size += 1 + 1;
- }
- if (Running != false) {
- size += 1 + 1;
- }
- if (Stationary != false) {
- size += 1 + 1;
- }
- if (Automotive != false) {
- size += 1 + 1;
- }
- if (Tilting != false) {
- size += 1 + 1;
- }
- if (Cycling != false) {
- size += 1 + 1;
- }
- if (Status.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeBytesSize(Status);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(ActivityStatus other) {
- if (other == null) {
- return;
- }
- if (other.StartTimeMs != 0UL) {
- StartTimeMs = other.StartTimeMs;
- }
- if (other.UnknownStatus != false) {
- UnknownStatus = other.UnknownStatus;
- }
- if (other.Walking != false) {
- Walking = other.Walking;
- }
- if (other.Running != false) {
- Running = other.Running;
- }
- if (other.Stationary != false) {
- Stationary = other.Stationary;
- }
- if (other.Automotive != false) {
- Automotive = other.Automotive;
- }
- if (other.Tilting != false) {
- Tilting = other.Tilting;
- }
- if (other.Cycling != false) {
- Cycling = other.Cycling;
- }
- if (other.Status.Length != 0) {
- Status = other.Status;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 8: {
- StartTimeMs = input.ReadUInt64();
- break;
- }
- case 16: {
- UnknownStatus = input.ReadBool();
- break;
- }
- case 24: {
- Walking = input.ReadBool();
- break;
- }
- case 32: {
- Running = input.ReadBool();
- break;
- }
- case 40: {
- Stationary = input.ReadBool();
- break;
- }
- case 48: {
- Automotive = input.ReadBool();
- break;
- }
- case 56: {
- Tilting = input.ReadBool();
- break;
- }
- case 64: {
- Cycling = input.ReadBool();
- break;
- }
- case 74: {
- Status = input.ReadBytes();
- break;
- }
- }
- }
- }
-
- }
-
- }
- #endregion
-
- }
-
- #endregion
-
-}
-
-#endregion Designer generated code
diff --git a/Networking/Envelopes/Unknown6.cs b/Networking/Envelopes/Unknown6.cs
deleted file mode 100644
index f9c7d5a..0000000
--- a/Networking/Envelopes/Unknown6.cs
+++ /dev/null
@@ -1,326 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: POGOProtos/Networking/Envelopes/Unknown6.proto
-#pragma warning disable 1591, 0612, 3021
-#region Designer generated code
-
-using pb = global::Google.Protobuf;
-using pbc = global::Google.Protobuf.Collections;
-using pbr = global::Google.Protobuf.Reflection;
-using scg = global::System.Collections.Generic;
-namespace POGOProtos.Networking.Envelopes {
-
- /// Holder for reflection information generated from POGOProtos/Networking/Envelopes/Unknown6.proto
- public static partial class Unknown6Reflection {
-
- #region Descriptor
- /// File descriptor for POGOProtos/Networking/Envelopes/Unknown6.proto
- public static pbr::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbr::FileDescriptor descriptor;
-
- static Unknown6Reflection() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- string.Concat(
- "Ci5QT0dPUHJvdG9zL05ldHdvcmtpbmcvRW52ZWxvcGVzL1Vua25vd242LnBy",
- "b3RvEh9QT0dPUHJvdG9zLk5ldHdvcmtpbmcuRW52ZWxvcGVzIo8BCghVbmtu",
- "b3duNhIUCgxyZXF1ZXN0X3R5cGUYASABKAUSRAoIdW5rbm93bjIYAiABKAsy",
- "Mi5QT0dPUHJvdG9zLk5ldHdvcmtpbmcuRW52ZWxvcGVzLlVua25vd242LlVu",
- "a25vd24yGicKCFVua25vd24yEhsKE2VuY3J5cHRlZF9zaWduYXR1cmUYASAB",
- "KAxiBnByb3RvMw=="));
- descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { },
- new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.Unknown6), global::POGOProtos.Networking.Envelopes.Unknown6.Parser, new[]{ "RequestType", "Unknown2" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.Unknown6.Types.Unknown2), global::POGOProtos.Networking.Envelopes.Unknown6.Types.Unknown2.Parser, new[]{ "EncryptedSignature" }, null, null, null)})
- }));
- }
- #endregion
-
- }
- #region Messages
- public sealed partial class Unknown6 : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Unknown6());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::POGOProtos.Networking.Envelopes.Unknown6Reflection.Descriptor.MessageTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown6() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown6(Unknown6 other) : this() {
- requestType_ = other.requestType_;
- Unknown2 = other.unknown2_ != null ? other.Unknown2.Clone() : null;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown6 Clone() {
- return new Unknown6(this);
- }
-
- /// Field number for the "request_type" field.
- public const int RequestTypeFieldNumber = 1;
- private int requestType_;
- ///
- /// 5 for IAPs, 6 is unknown still
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int RequestType {
- get { return requestType_; }
- set {
- requestType_ = value;
- }
- }
-
- /// Field number for the "unknown2" field.
- public const int Unknown2FieldNumber = 2;
- private global::POGOProtos.Networking.Envelopes.Unknown6.Types.Unknown2 unknown2_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::POGOProtos.Networking.Envelopes.Unknown6.Types.Unknown2 Unknown2 {
- get { return unknown2_; }
- set {
- unknown2_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as Unknown6);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(Unknown6 other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (RequestType != other.RequestType) return false;
- if (!object.Equals(Unknown2, other.Unknown2)) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (RequestType != 0) hash ^= RequestType.GetHashCode();
- if (unknown2_ != null) hash ^= Unknown2.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (RequestType != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(RequestType);
- }
- if (unknown2_ != null) {
- output.WriteRawTag(18);
- output.WriteMessage(Unknown2);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (RequestType != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(RequestType);
- }
- if (unknown2_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(Unknown2);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(Unknown6 other) {
- if (other == null) {
- return;
- }
- if (other.RequestType != 0) {
- RequestType = other.RequestType;
- }
- if (other.unknown2_ != null) {
- if (unknown2_ == null) {
- unknown2_ = new global::POGOProtos.Networking.Envelopes.Unknown6.Types.Unknown2();
- }
- Unknown2.MergeFrom(other.Unknown2);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 8: {
- RequestType = input.ReadInt32();
- break;
- }
- case 18: {
- if (unknown2_ == null) {
- unknown2_ = new global::POGOProtos.Networking.Envelopes.Unknown6.Types.Unknown2();
- }
- input.ReadMessage(unknown2_);
- break;
- }
- }
- }
- }
-
- #region Nested types
- /// Container for nested types declared in the Unknown6 message type.
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static partial class Types {
- public sealed partial class Unknown2 : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Unknown2());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::POGOProtos.Networking.Envelopes.Unknown6.Descriptor.NestedTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown2() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown2(Unknown2 other) : this() {
- encryptedSignature_ = other.encryptedSignature_;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown2 Clone() {
- return new Unknown2(this);
- }
-
- /// Field number for the "encrypted_signature" field.
- public const int EncryptedSignatureFieldNumber = 1;
- private pb::ByteString encryptedSignature_ = pb::ByteString.Empty;
- ///
- /// This are the bytes of POGOProtos/Networking/Envelopes/Signature.proto encrypted.
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pb::ByteString EncryptedSignature {
- get { return encryptedSignature_; }
- set {
- encryptedSignature_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as Unknown2);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(Unknown2 other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (EncryptedSignature != other.EncryptedSignature) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (EncryptedSignature.Length != 0) hash ^= EncryptedSignature.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (EncryptedSignature.Length != 0) {
- output.WriteRawTag(10);
- output.WriteBytes(EncryptedSignature);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (EncryptedSignature.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeBytesSize(EncryptedSignature);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(Unknown2 other) {
- if (other == null) {
- return;
- }
- if (other.EncryptedSignature.Length != 0) {
- EncryptedSignature = other.EncryptedSignature;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 10: {
- EncryptedSignature = input.ReadBytes();
- break;
- }
- }
- }
- }
-
- }
-
- }
- #endregion
-
- }
-
- #endregion
-
-}
-
-#endregion Designer generated code
diff --git a/Networking/Envelopes/Unknown6Response.cs b/Networking/Envelopes/Unknown6Response.cs
deleted file mode 100644
index fd8f0fc..0000000
--- a/Networking/Envelopes/Unknown6Response.cs
+++ /dev/null
@@ -1,895 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: POGOProtos/Networking/Envelopes/Unknown6Response.proto
-#pragma warning disable 1591, 0612, 3021
-#region Designer generated code
-
-using pb = global::Google.Protobuf;
-using pbc = global::Google.Protobuf.Collections;
-using pbr = global::Google.Protobuf.Reflection;
-using scg = global::System.Collections.Generic;
-namespace POGOProtos.Networking.Envelopes {
-
- /// Holder for reflection information generated from POGOProtos/Networking/Envelopes/Unknown6Response.proto
- public static partial class Unknown6ResponseReflection {
-
- #region Descriptor
- /// File descriptor for POGOProtos/Networking/Envelopes/Unknown6Response.proto
- public static pbr::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbr::FileDescriptor descriptor;
-
- static Unknown6ResponseReflection() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- string.Concat(
- "CjZQT0dPUHJvdG9zL05ldHdvcmtpbmcvRW52ZWxvcGVzL1Vua25vd242UmVz",
- "cG9uc2UucHJvdG8SH1BPR09Qcm90b3MuTmV0d29ya2luZy5FbnZlbG9wZXMa",
- "JVBPR09Qcm90b3MvRGF0YS9QbGF5ZXIvQ3VycmVuY3kucHJvdG8aKFBPR09Q",
- "cm90b3MvSW52ZW50b3J5L0l0ZW0vSXRlbURhdGEucHJvdG8ipgUKEFVua25v",
- "d242UmVzcG9uc2USFQoNcmVzcG9uc2VfdHlwZRgBIAEoBRJMCgh1bmtub3du",
- "MhgCIAEoCzI6LlBPR09Qcm90b3MuTmV0d29ya2luZy5FbnZlbG9wZXMuVW5r",
- "bm93bjZSZXNwb25zZS5Vbmtub3duMhqsBAoIVW5rbm93bjISEAoIdW5rbm93",
- "bjEYASABKAQSUwoFaXRlbXMYAiADKAsyRC5QT0dPUHJvdG9zLk5ldHdvcmtp",
- "bmcuRW52ZWxvcGVzLlVua25vd242UmVzcG9uc2UuVW5rbm93bjIuU3RvcmVJ",
- "dGVtEjsKEXBsYXllcl9jdXJyZW5jaWVzGAMgAygLMiAuUE9HT1Byb3Rvcy5E",
- "YXRhLlBsYXllci5DdXJyZW5jeRIQCgh1bmtub3duNBgEIAEoCRrpAgoJU3Rv",
- "cmVJdGVtEg8KB2l0ZW1faWQYASABKAkSDgoGaXNfaWFwGAIgASgIEjkKD2N1",
- "cnJlbmN5X3RvX2J1eRgDIAEoCzIgLlBPR09Qcm90b3MuRGF0YS5QbGF5ZXIu",
- "Q3VycmVuY3kSOQoPeWllbGRzX2N1cnJlbmN5GAQgASgLMiAuUE9HT1Byb3Rv",
- "cy5EYXRhLlBsYXllci5DdXJyZW5jeRI4Cgt5aWVsZHNfaXRlbRgFIAEoCzIj",
- "LlBPR09Qcm90b3MuSW52ZW50b3J5Lkl0ZW0uSXRlbURhdGESVgoEdGFncxgG",
- "IAMoCzJILlBPR09Qcm90b3MuTmV0d29ya2luZy5FbnZlbG9wZXMuVW5rbm93",
- "bjZSZXNwb25zZS5Vbmtub3duMi5TdG9yZUl0ZW0uVGFnEhAKCHVua25vd243",
- "GAcgASgFGiEKA1RhZxILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAliBnBy",
- "b3RvMw=="));
- descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { global::POGOProtos.Data.Player.CurrencyReflection.Descriptor, global::POGOProtos.Inventory.Item.ItemDataReflection.Descriptor, },
- new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.Unknown6Response), global::POGOProtos.Networking.Envelopes.Unknown6Response.Parser, new[]{ "ResponseType", "Unknown2" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2), global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2.Parser, new[]{ "Unknown1", "Items", "PlayerCurrencies", "Unknown4" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2.Types.StoreItem), global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2.Types.StoreItem.Parser, new[]{ "ItemId", "IsIap", "CurrencyToBuy", "YieldsCurrency", "YieldsItem", "Tags", "Unknown7" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2.Types.StoreItem.Types.Tag), global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2.Types.StoreItem.Types.Tag.Parser, new[]{ "Key", "Value" }, null, null, null)})})})
- }));
- }
- #endregion
-
- }
- #region Messages
- public sealed partial class Unknown6Response : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Unknown6Response());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::POGOProtos.Networking.Envelopes.Unknown6ResponseReflection.Descriptor.MessageTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown6Response() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown6Response(Unknown6Response other) : this() {
- responseType_ = other.responseType_;
- Unknown2 = other.unknown2_ != null ? other.Unknown2.Clone() : null;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown6Response Clone() {
- return new Unknown6Response(this);
- }
-
- /// Field number for the "response_type" field.
- public const int ResponseTypeFieldNumber = 1;
- private int responseType_;
- ///
- /// Still don't know what 6 is, but 5 lists items available via IAPs.
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int ResponseType {
- get { return responseType_; }
- set {
- responseType_ = value;
- }
- }
-
- /// Field number for the "unknown2" field.
- public const int Unknown2FieldNumber = 2;
- private global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2 unknown2_;
- ///
- /// Response data
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2 Unknown2 {
- get { return unknown2_; }
- set {
- unknown2_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as Unknown6Response);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(Unknown6Response other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (ResponseType != other.ResponseType) return false;
- if (!object.Equals(Unknown2, other.Unknown2)) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (ResponseType != 0) hash ^= ResponseType.GetHashCode();
- if (unknown2_ != null) hash ^= Unknown2.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (ResponseType != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(ResponseType);
- }
- if (unknown2_ != null) {
- output.WriteRawTag(18);
- output.WriteMessage(Unknown2);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (ResponseType != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(ResponseType);
- }
- if (unknown2_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(Unknown2);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(Unknown6Response other) {
- if (other == null) {
- return;
- }
- if (other.ResponseType != 0) {
- ResponseType = other.ResponseType;
- }
- if (other.unknown2_ != null) {
- if (unknown2_ == null) {
- unknown2_ = new global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2();
- }
- Unknown2.MergeFrom(other.Unknown2);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 8: {
- ResponseType = input.ReadInt32();
- break;
- }
- case 18: {
- if (unknown2_ == null) {
- unknown2_ = new global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2();
- }
- input.ReadMessage(unknown2_);
- break;
- }
- }
- }
- }
-
- #region Nested types
- /// Container for nested types declared in the Unknown6Response message type.
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static partial class Types {
- public sealed partial class Unknown2 : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Unknown2());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::POGOProtos.Networking.Envelopes.Unknown6Response.Descriptor.NestedTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown2() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown2(Unknown2 other) : this() {
- unknown1_ = other.unknown1_;
- items_ = other.items_.Clone();
- playerCurrencies_ = other.playerCurrencies_.Clone();
- unknown4_ = other.unknown4_;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Unknown2 Clone() {
- return new Unknown2(this);
- }
-
- /// Field number for the "unknown1" field.
- public const int Unknown1FieldNumber = 1;
- private ulong unknown1_;
- ///
- /// Maybe status? It's always 1 (success), so it's probably that.
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ulong Unknown1 {
- get { return unknown1_; }
- set {
- unknown1_ = value;
- }
- }
-
- /// Field number for the "items" field.
- public const int ItemsFieldNumber = 2;
- private static readonly pb::FieldCodec _repeated_items_codec
- = pb::FieldCodec.ForMessage(18, global::POGOProtos.Networking.Envelopes.Unknown6Response.Types.Unknown2.Types.StoreItem.Parser);
- private readonly pbc::RepeatedField items_ = new pbc::RepeatedField