-
Notifications
You must be signed in to change notification settings - Fork 3
/
remaining.proto
1447 lines (1434 loc) · 37.1 KB
/
remaining.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
syntax = "proto3";
package Holoholo.Rpc;
import public "holoholo_shared.proto";
message GoogleAuthEventParams {
}
message ChannelAuthEventParams {
}
message LocationUpdateEventParams {
}
message RpcResponseEventParams {
}
message GoogleToken {
}
message AssetDigestRequestProto {
Rpc.Platform Platform = 1;
string DeviceManufacturer = 2;
string DeviceModel = 3;
string Locale = 4;
uint32 AppVersion = 5;
}
message AssetDigestEntryProto {
string AssetId = 1;
string BundleName = 2;
int64 Version = 3;
uint32 Checksum = 4;
int32 Size = 5;
bytes Key = 6;
}
message AssetDigestOutProto {
repeated AssetDigestEntryProto Digest = 1;
uint64 Timestamp = 2;
}
message DownloadUrlRequestProto {
repeated string AssetId = 1;
}
message DownloadUrlEntryProto {
string AssetId = 1;
string Url = 2;
int32 Size = 3;
uint32 Checksum = 4;
}
message DownloadUrlOutProto {
repeated DownloadUrlEntryProto DownloadUrls = 1;
}
message CollectDailyBonusProto {
}
message CollectDailyBonusOutProto {
Rpc.Types.CollectDailyBonusOutProto.Result Result = 1;
}
message CollectDailyDefenderBonusProto {
}
message CollectDailyDefenderBonusOutProto {
Rpc.Types.CollectDailyDefenderBonusOutProto.Result Result = 1;
repeated string CurrencyType = 2;
repeated int32 CurrencyAwarded = 3;
int32 NumDefenders = 4;
}
message EchoProto {
}
message EchoOutProto {
string Context = 1;
}
message GetHatchedEggsProto {
}
message GetHatchedEggsOutProto {
bool Success = 1;
repeated uint64 PokemonId = 2;
repeated int32 ExpAwarded = 3;
repeated int32 CandyAwarded = 4;
repeated int32 StardustAwarded = 5;
}
message EncounterProto {
uint64 EncounterId = 1;
string SpawnpointId = 2;
double PlayerLatDegrees = 3;
double PlayerLngDegrees = 4;
}
message EncounterOutProto {
WildPokemonProto Pokemon = 1;
Rpc.Types.EncounterOutProto.Background Background = 2;
Rpc.Types.EncounterOutProto.Status Status = 3;
CaptureProbabilityProto CaptureProbability = 4;
}
message CatchPokemonProto {
uint64 EncounterId = 1;
int32 Pokeball = 2;
double NormalizedReticleSize = 3;
string SpawnPointGuid = 4;
bool HitPokemon = 5;
double SpinModifier = 6;
double NormalizedHitPosition = 7;
}
message CatchPokemonOutProto {
Rpc.Types.CatchPokemonOutProto.Status Status = 1;
double MissPercent = 2;
uint64 CapturedPokemonId = 3;
CaptureScoreProto Scores = 4;
}
message UseItemCaptureProto {
Rpc.Item Item = 1;
uint64 EncounterId = 2;
string SpawnPointGuid = 3;
}
message UseItemCaptureOutProto {
bool Success = 1;
double ItemCaptureMult = 2;
double ItemFleeMult = 3;
bool StopMovement = 4;
bool StopAttack = 5;
bool TargetMax = 6;
bool TargetSlow = 7;
}
message EncounterTutorialCompleteProto {
int32 PokedexId = 1;
}
message EncounterTutorialCompleteOutProto {
Rpc.Types.EncounterTutorialCompleteOutProto.Result Result = 1;
PokemonProto Pokemon = 2;
CaptureScoreProto Scores = 3;
}
message CaptureProbabilityProto {
repeated Rpc.Item PokeballType = 1;
repeated float CaptureProbability = 2;
double ReticleDifficultyScale = 12;
}
message CaptureScoreProto {
repeated Rpc.HoloActivityType ActivityType = 1;
repeated int32 Exp = 2;
repeated int32 Candy = 3;
repeated int32 Stardust = 4;
}
message UseIncenseActionProto {
Rpc.Item IncenseType = 1;
}
message UseIncenseActionOutProto {
Rpc.Types.UseIncenseActionOutProto.Result Result = 1;
AppliedItemProto AppliedIncense = 2;
}
message GetIncensePokemonProto {
double PlayerLatDegrees = 1;
double PlayerLngDegrees = 2;
}
message GetIncensePokemonOutProto {
Rpc.Types.GetIncensePokemonOutProto.Result Result = 1;
int32 PokemonTypeId = 2;
double Lat = 3;
double Lng = 4;
string EncounterLocation = 5;
uint64 EncounterId = 6;
int64 DisappearTimeMs = 7;
}
message IncenseEncounterProto {
int64 EncounterId = 1;
string EncounterLocation = 2;
}
message IncenseEncounterOutProto {
Rpc.Types.IncenseEncounterOutProto.Result Result = 1;
PokemonProto Pokemon = 2;
CaptureProbabilityProto CaptureProbability = 3;
}
message DiskEncounterProto {
int64 EncounterId = 1;
string FortId = 2;
double PlayerLatDegrees = 3;
double PlayerLngDegrees = 4;
}
message DiskEncounterOutProto {
Rpc.Types.DiskEncounterOutProto.Result Result = 1;
PokemonProto Pokemon = 2;
CaptureProbabilityProto CaptureProbability = 3;
}
message EvolvePokemonProto {
uint64 PokemonId = 1;
}
message EvolvePokemonOutProto {
Rpc.Types.EvolvePokemonOutProto.Result Result = 1;
PokemonProto EvolvedPokemon = 2;
int32 ExpAwarded = 3;
int32 CandyAwarded = 4;
}
message FortDeployProto {
string FortId = 1;
uint64 PokemonId = 2;
double PlayerLatDegrees = 3;
double PlayerLngDegrees = 4;
}
message FortDeployOutProto {
Rpc.Types.FortDeployOutProto.Result Result = 1;
FortDetailsOutProto FortDetailsOutProto = 2;
PokemonProto EggPokemon = 3;
GymStateProto GymStateProto = 4;
}
message FortRecallProto {
string FortId = 1;
uint64 PokemonId = 2;
double PlayerLatDegrees = 3;
double PlayerLngDegrees = 4;
}
message FortRecallOutProto {
Rpc.Types.FortRecallOutProto.Result Result = 1;
FortDetailsOutProto FortDetailsOutProto = 2;
}
message AddFortModifierProto {
Rpc.Item ModifierType = 1;
string FortId = 2;
double PlayerLatDegrees = 3;
double PlayerLngDegrees = 4;
}
message AddFortModifierOutProto {
Rpc.Types.AddFortModifierOutProto.Result Result = 1;
FortDetailsOutProto FortDetailsOutProto = 2;
}
message PokemonCameraAttributesProto {
float DiskRadiusM = 1;
float CylRadiusM = 2;
float CylHeightM = 3;
float CylGroundM = 4;
float ShoulderModeScale = 5;
}
message PokemonEncounterAttributesProto {
float BaseCaptureRate = 1;
float BaseFleeRate = 2;
float CollisionRadiusM = 3;
float CollisionHeightM = 4;
float CollisionHeadRadiusM = 5;
Rpc.HoloPokemonMovementType MovementType = 6;
float MovementTimerS = 7;
float JumpTimeS = 8;
float AttackTimerS = 9;
}
message PokemonStatsAttributesProto {
int32 BaseStamina = 1;
int32 BaseAttack = 2;
int32 BaseDefense = 3;
int32 DodgeEnergyDelta = 8;
}
message PokemonSettingsProto {
Rpc.HoloPokemonId UniqueId = 1;
float ModelScale = 3;
Rpc.HoloPokemonType Type1 = 4;
Rpc.HoloPokemonType Type2 = 5;
PokemonCameraAttributesProto Camera = 6;
PokemonEncounterAttributesProto Encounter = 7;
PokemonStatsAttributesProto Stats = 8;
repeated Rpc.HoloPokemonMove QuickMoves = 9;
repeated Rpc.HoloPokemonMove CinematicMoves = 10;
repeated float AnimTime = 11;
repeated Rpc.HoloPokemonId Evolution = 12;
int32 EvolutionPips = 13;
Rpc.HoloPokemonClass PokemonClass = 14;
float PokedexHeightM = 15;
float PokedexWeightKg = 16;
Rpc.HoloPokemonId ParentId = 17;
float HeightStdDev = 18;
float WeightStdDev = 19;
float KmDistanceToHatch = 20;
Rpc.HoloPokemonFamilyId FamilyId = 21;
int32 CandyToEvolve = 22;
}
message PokeBallAttributesProto {
Rpc.HoloItemEffect ItemEffect = 1;
float CaptureMulti = 2;
float CaptureMultiEffect = 3;
float ItemEffectMod = 4;
}
message PotionAttributesProto {
float StaPercent = 1;
int32 StaAmount = 2;
}
message ReviveAttributesProto {
float StaPercent = 1;
}
message BattleAttributesProto {
float StaPercent = 1;
float AtkPercent = 2;
float DefPercent = 3;
float DurationS = 4;
}
message FoodAttributesProto {
repeated Rpc.HoloItemEffect ItemEffect = 1;
repeated float ItemEffectPercent = 2;
float GrowthPercent = 3;
}
message InventoryUpgradeAttributesProto {
int32 AdditionalStorage = 1;
Rpc.InventoryUpgradeType UpgradeType = 2;
}
message ExperienceBoostAttributesProto {
float XpMultiplier = 1;
int32 BoostDurationMs = 2;
}
message EggIncubatorAttributesProto {
Rpc.EggIncubatorType IncubatorType = 1;
int32 Uses = 2;
float DistanceMultiplier = 3;
}
message IncenseAttributesProto {
int32 IncenseLifetimeSeconds = 1;
repeated Rpc.HoloPokemonType PokemonType = 2;
float PokemonIncenseTypeProbability = 3;
int32 StandingTimeBetweenEncountersSec = 4;
int32 MovingTimeBetweenEncounterSec = 5;
int32 DistanceRequiredForShorterIntervalMeters = 6;
int32 PokemonAttractedLengthSec = 7;
}
message FortModifierAttributesProto {
int32 ModifierLifetimeSeconds = 1;
int32 TroyDiskNumPokemonSpawned = 2;
}
message ItemSettingsProto {
Rpc.Item UniqueId = 1;
Rpc.HoloItemType ItemType = 2;
Rpc.HoloItemCategory Category = 3;
float DropFreq = 4;
int32 DropTrainerLevel = 5;
PokeBallAttributesProto Pokeball = 6;
PotionAttributesProto Potion = 7;
ReviveAttributesProto Revive = 8;
BattleAttributesProto Battle = 9;
FoodAttributesProto Food = 10;
InventoryUpgradeAttributesProto InventoryUpgrade = 11;
ExperienceBoostAttributesProto XpBoost = 12;
IncenseAttributesProto Incense = 13;
EggIncubatorAttributesProto EggIncubator = 14;
FortModifierAttributesProto FortModifier = 15;
}
message MoveSettingsProto {
Rpc.HoloPokemonMove UniqueId = 1;
int32 AnimationId = 2;
Rpc.HoloPokemonType Type = 3;
float Power = 4;
float AccuracyChance = 5;
float CriticalChance = 6;
float HealScalar = 7;
float StaminaLossScalar = 8;
int32 TrainerLevelMin = 9;
int32 TrainerLevelMax = 10;
string VfxName = 11;
int32 DurationMs = 12;
int32 DamageWindowStartMs = 13;
int32 DamageWindowEndMs = 14;
int32 EnergyDelta = 15;
}
message MoveSequenceSettingsProto {
repeated string Sequence = 1;
}
message TypeEffectiveSettingsProto {
Rpc.HoloPokemonType AttackType = 2;
repeated float AttackScalar = 1;
}
message BadgeSettingsProto {
Rpc.HoloBadgeType BadgeType = 1;
int32 BadgeRanks = 2;
repeated int32 Targets = 3;
}
message CameraSettingsProto {
string NextCamera = 1;
repeated Rpc.CameraInterpolation Interpolation = 2;
repeated Rpc.CameraTarget TargetType = 3;
repeated float EaseInSpeed = 4;
repeated float EaseOutSpeed = 5;
repeated float DurationS = 6;
repeated float WaitS = 7;
repeated float TransitionS = 8;
repeated float AngleDeg = 9;
repeated float AngleOffsetDeg = 10;
repeated float PitchDeg = 11;
repeated float PitchOffsetDeg = 12;
repeated float RollDeg = 13;
repeated float DistanceM = 14;
repeated float HeightPercent = 15;
repeated float VertCtrRatio = 16;
}
message PlayerLevelSettingsProto {
repeated int32 RankNum = 1;
repeated int32 RequiredExp = 2;
repeated float CpMultiplier = 3;
int32 MaxEggPlayerLevel = 4;
int32 MaxEncounterPlayerLevel = 5;
}
message GymLevelSettingsProto {
repeated int32 RequiredExp = 1;
repeated int32 LeaderSlots = 2;
repeated int32 TrainerSlots = 3;
repeated int32 SearchRollBonus = 4;
}
message GymBattleSettingsProto {
float EnergyPerSec = 1;
float DodgeEnergyCost = 2;
float RetargetSeconds = 3;
float EnemyAttackInterval = 4;
float AttackServerInterval = 5;
float RoundDurationSeconds = 6;
float BonusTimePerAllySeconds = 7;
int32 MaximumAttackersPerBattle = 8;
float SameTypeAttackBonusMultiplier = 9;
int32 MaximumEnergy = 10;
float EnergyDeltaPerHealthLost = 11;
int32 DodgeDurationMs = 12;
int32 MinimumPlayerLevel = 13;
int32 SwapDurationMs = 14;
}
message EncounterSettingsProto {
float SpinBonusThreshold = 1;
float ExcellentThrowThreshold = 2;
float GreatThrowThreshold = 3;
float NiceThrowThreshold = 4;
int32 MilestoneThreshold = 5;
}
message PokemonUpgradeSettingsProto {
int32 UpgradesPerLevel = 1;
int32 AllowedLevelsAbovePlayer = 2;
repeated int32 CandyCost = 3;
repeated int32 StardustCost = 4;
}
message EquippedBadgeSettingsProto {
int64 EquipBadgeCooldownMs = 1;
repeated float CatchProbabilityBonus = 2;
repeated float FleeProbabilityBonus = 3;
}
message GameMasterClientTemplateProto {
string TemplateId = 1;
PokemonSettingsProto Pokemon = 2;
ItemSettingsProto Item = 3;
MoveSettingsProto Move = 4;
MoveSequenceSettingsProto MoveSequence = 5;
TypeEffectiveSettingsProto TypeEffective = 8;
BadgeSettingsProto Badge = 10;
CameraSettingsProto Camera = 11;
PlayerLevelSettingsProto PlayerLevel = 12;
GymLevelSettingsProto GymLevel = 13;
GymBattleSettingsProto BattleSettings = 14;
EncounterSettingsProto EncounterSettings = 15;
IapItemDisplayProto IapItemDisplay = 16;
IapSettingsProto IapSettings = 17;
PokemonUpgradeSettingsProto PokemonUpgrades = 18;
EquippedBadgeSettingsProto EquippedBadges = 19;
}
message GetGameMasterClientTemplatesProto {
}
message GetGameMasterClientTemplatesOutProto {
Rpc.Types.GetGameMasterClientTemplatesOutProto.Result Result = 1;
repeated GameMasterClientTemplateProto Items = 2;
uint64 Timestamp = 3;
}
message GetRemoteConfigVersionsProto {
Rpc.Platform Platform = 1;
string DeviceManufacturer = 2;
string DeviceModel = 3;
string Locale = 4;
uint32 AppVersion = 5;
}
message GetRemoteConfigVersionsOutProto {
Rpc.Types.GetRemoteConfigVersionsOutProto.Result Result = 1;
uint64 GameMasterTimestamp = 2;
uint64 AssetDigestTimestamp = 3;
}
message ActionLogEntry {
int64 TimestampMs = 1;
bool Sfida = 2;
oneof Action {
CatchPokemonLogEntry CatchPokemon = 3;
FortSearchLogEntry FortSearch = 4;
}
}
message CatchPokemonLogEntry {
Rpc.Types.CatchPokemonLogEntry.Result Result = 1;
int32 PokedexNumber = 2;
int32 CombatPoints = 3;
uint64 PokemonId = 4;
}
message FortSearchLogEntry {
Rpc.Types.FortSearchLogEntry.Result Result = 1;
string FortId = 2;
repeated ItemProto Items = 3;
int32 Eggs = 4;
}
message PlayerBadgeProto {
Rpc.HoloBadgeType BadgeType = 1;
int32 Rank = 2;
int32 StartValue = 3;
int32 EndValue = 4;
double CurrentValue = 5;
}
message PlayerProfileProto {
string PlayerName = 1;
}
message PlayerProfileOutProto {
Rpc.Types.PlayerProfileOutProto.Result Result = 1;
int64 StartTime = 2;
repeated PlayerBadgeProto Badges = 3;
}
message LevelUpRewardsProto {
int32 Level = 1;
}
message LevelUpRewardsOutProto {
Rpc.Types.LevelUpRewardsOutProto.Result Result = 1;
repeated AwardItemProto Items = 2;
repeated Rpc.Item ItemsUnlocked = 4;
}
message ClientPlayerProto {
int64 CreationTimeMs = 1;
string Name = 2;
int32 Team = 5;
repeated Rpc.TutorialCompletion TutorialComplete = 7;
PlayerAvatarProto PlayerAvatarProto = 8;
int32 MaxPokemonStorage = 9;
int32 MaxItemStorage = 10;
DailyBonusProto DailyBonusProto = 11;
EquippedBadgeProto EquippedBadgeProto = 12;
ContactSettingsProto ContactSettingsProto = 13;
repeated CurrencyQuantityProto CurrencyBalance = 14;
}
message CurrencyQuantityProto {
string CurrencyType = 1;
int32 Quantity = 2;
}
message ContactSettingsProto {
bool SendMarketingEmails = 1;
bool SendPushNotifications = 2;
}
message DailyBonusProto {
int64 NextCollectTimestampMs = 1;
int64 NextDefenderBonusCollectTimestampMs = 2;
}
message EquippedBadgeProto {
Rpc.HoloBadgeType EquippedBadge = 1;
int32 Level = 2;
int64 NextEquipChangeAllowedTimestampMs = 3;
}
message GetPlayerProto {
}
message GetPlayerOutProto {
bool Success = 1;
ClientPlayerProto Player = 2;
}
message PlayerUpdateProto {
double Lat = 1;
double Lng = 2;
}
message PlayerUpdateOutProto {
repeated WildPokemonProto WildPokemon = 1;
repeated PokemonFortProto Fort = 2;
int32 FortsNearby = 3;
}
message SetFavoritePokemonProto {
int64 PokemonId = 1;
bool IsFavorite = 2;
}
message SetFavoritePokemonOutProto {
Rpc.Types.SetFavoritePokemonOutProto.Result Result = 1;
}
message ReleasePokemonProto {
uint64 PokemonId = 1;
repeated uint64 PokemonIds = 2;
}
message ReleasePokemonOutProto {
Rpc.Types.ReleasePokemonOutProto.Status Status = 1;
int32 CandyAwarded = 2;
}
message DebugDeletePlayerProto {
}
message DebugDeletePlayerOutProto {
bool Success = 1;
}
message GetSuggestedCodenamesRequestProto {
}
message GetSuggestedCodenamesResponseProto {
repeated string Codename = 1;
bool Success = 2;
}
message CheckCodenameAvailableRequestProto {
string Codename = 1;
}
message ClaimCodenameRequestProto {
string Codename = 1;
}
message CodenameResultProto {
string Codename = 1;
string UserMessage = 2;
bool IsAssignable = 3;
Rpc.Types.CodenameResultProto.Status Status = 4;
}
message SetAvatarProto {
PlayerAvatarProto PlayerAvatarProto = 2;
}
message SetAvatarOutProto {
Rpc.Types.SetAvatarOutProto.Status Status = 1;
ClientPlayerProto Player = 2;
}
message SetContactSettingsProto {
ContactSettingsProto ContactSettingsProto = 1;
}
message SetContactSettingsOutProto {
Rpc.Types.SetContactSettingsOutProto.Status Status = 1;
ClientPlayerProto Player = 2;
}
message SetPlayerTeamProto {
Rpc.Team Team = 1;
}
message SetPlayerTeamOutProto {
Rpc.Types.SetPlayerTeamOutProto.Status Status = 1;
ClientPlayerProto Player = 2;
}
message MarkTutorialCompleteProto {
repeated Rpc.TutorialCompletion TutorialComplete = 1;
bool SendMarketingEmails = 2;
bool SendPushNotifications = 3;
}
message MarkTutorialCompleteOutProto {
bool Success = 1;
ClientPlayerProto Player = 2;
}
message CheckAwardedBadgesProto {
}
message CheckAwardedBadgesOutProto {
bool Success = 1;
repeated Rpc.HoloBadgeType AwardedBadges = 2;
repeated int32 AwardedBadgeLevels = 3;
}
message PtcToken {
string Token = 1;
int32 Expiration = 2;
}
message EquipBadgeProto {
Rpc.HoloBadgeType Badge = 1;
}
message EquipBadgeOutProto {
Rpc.Types.EquipBadgeOutProto.Result Result = 1;
EquippedBadgeProto Equipped = 2;
}
message GetActionLogRequest {
}
message GetActionLogResponse {
Rpc.Types.GetActionLogResponse.Result Result = 1;
repeated ActionLogEntry Log = 2;
}
//These are new types to conform to the protocol more consistantly
message SfidaActionLogProto{
}
message SfidaActionLogOutProto{
Rpc.Types.GetActionLogResponse.Result Result = 1;
repeated ActionLogEntry Log = 2;
}
message DownloadSettingsActionProto {
string Sha1 = 1;
}
message DownloadSettingsResponseProto {
string Error = 1;
string Sha1 = 2;
bytes Values = 3;
}
message TradingSearchProto {
double Lat = 1;
double Lng = 2;
}
message TradingSearchOutProto {
Rpc.Types.TradingSearchOutProto.Result Result = 1;
repeated string PlayerNames = 2;
}
message TradingOfferProto {
string TradingPlayer = 1;
uint64 PokemonId = 2;
}
message TradingOfferOutProto {
Rpc.Types.TradingOfferOutProto.Result Result = 1;
uint64 TradeId = 2;
}
message PollForTradeResponseProto {
uint64 TradeId = 1;
uint64 PokemonId = 2;
bool RequestCancel = 3;
}
message PollForTradeResponseOutProto {
Rpc.Types.PollForTradeResponseOutProto.Result Result = 1;
PokemonProto ReturnPokemon = 2;
}
message TradingResultProto {
uint64 TradeId = 1;
bool PlayerAccept = 2;
}
message TradingResultOutProto {
Rpc.Types.TradingResultOutProto.Result Result = 1;
}
message UpgradePokemonProto {
uint64 PokemonId = 1;
}
message UpgradePokemonOutProto {
Rpc.Types.UpgradePokemonOutProto.Result Result = 1;
PokemonProto UpgradedPokemon = 2;
}
message UseItemPotionProto {
Rpc.Item Item = 1;
uint64 PokemonId = 2;
}
message UseItemPotionOutProto {
Rpc.Types.UseItemPotionOutProto.Result Result = 1;
int32 Stamina = 2;
}
message UseItemReviveProto {
Rpc.Item Item = 1;
uint64 PokemonId = 2;
}
message UseItemReviveOutProto {
Rpc.Types.UseItemReviveOutProto.Result Result = 1;
int32 Stamina = 2;
}
message UseItemGymProto {
Rpc.Item Item = 1;
string GymId = 2;
double PlayerLatDegrees = 3;
double PlayerLngDegrees = 4;
}
message UseItemGymOutProto {
Rpc.Types.UseItemGymOutProto.Result Result = 1;
int64 UpdatedGp = 2;
}
message UseItemXpBoostProto {
Rpc.Item Item = 1;
}
message UseItemXpBoostOutProto {
Rpc.Types.UseItemXpBoostOutProto.Result Result = 1;
AppliedItemsProto AppliedItems = 2;
}
message UseItemEggIncubatorProto {
string ItemId = 1;
int64 PokemondId = 2;
}
message UseItemEggIncubatorOutProto {
Rpc.Types.UseItemEggIncubatorOutProto.Result Result = 1;
EggIncubatorProto EggIncubator = 2;
}
message Niantic {
message Holoholo {
message Encounter {
enum EncounterResult {
CapturedPokemon = 0;
UserFled = 1;
PokemonFled = 2;
Error = 3;
}
}
message Gym {
enum ApproachMode {
BATTLE_PREP = 0;
DEPLOY = 1;
FRIENDLY_CHOICE = 2;
PICK_TEAM = 3;
}
message GymMinimapDot {
enum DotState {
EMPTY = 0;
FULL = 1;
LEADER = 2;
}
}
message AttackAffector {
enum FxPriority {
Neutral = 0;
Tap = 1;
Sequence = 2;
}
}
}
message Map {
enum PokemonEncounterResponse {
Success = 0;
Failure = 1;
}
message MapSpawnPoint {
enum VisibilityType {
Low = 0;
High = 1;
}
}
message MapGestureHandler {
enum PanGestureType {
Unknown = 0;
Pan = 1;
DragZoom = 2;
Tilt = 3;
Rotation = 4;
}
}
enum DayPeriod {
Day = 0;
Night = 1;
}
}
message Items {
enum IncubationResult {
SUCCESS = 0;
FAILURE = 1;
}
enum BuffSelectionState {
Canceled = 0;
Selected = 1;
}
}
message UserTasks {
enum TaskCompletionResult {
Success = 0;
Failed = 1;
}
}
message DeferredInvoke {
enum DeferMode {
Seconds = 0;
EndOfFrame = 1;
}
}
message Assets {
enum AssetRequestPriority {
Preload = 0;
Normal = 1;
Immediate = 2;
}
}
message Sfida {
message SfidaService {
enum State {
NO_CONNECTION = 0;
IDLE = 1;
FINDING_NOTIFY_POKESTOP = 2;
NOTIFYING_POKESTOP = 3;
SEARCH_RESULT = 4;
FINDING_NOTIFY_POKEMON = 5;
NOTIFYING_POKEMON = 6;
ENCOUNTER = 7;
CATCH = 8;
CATCH_RESULT = 9;
DOWSER = 10;
ERROR = 11;
}
}
}
}
}
enum UpdateType {
ADD = 0;
MODIFY = 1;
REMOVE = 2;
PREDICTED_MODIFY = 3;
PREDICTED_REMOVE = 4;
ROLLED_BACK_MODIFY = 5;
ROLLED_BACK_REMOVE = 6;
}
enum EnumScaleMode {
BRB = 0;
Maya = 1;
MayaWCurve = 2;
}
enum FovSide {
UP = 0;
DOWN = 1;
LEFT = 2;
RIGHT = 3;
NUM_SIDES = 4;
}
enum RemoteConfigurationType {
ASSET_DIGEST = 0;
GAME_MASTER = 1;
}
enum Command {
VFX = 0;
F2FVFX = 1;
SFX = 2;
CAM = 3;
ANIM = 4;
WAIT = 5;
SYS = 6;
SHAKE = 7;
SCALE = 8;
SINK = 9;
EVENT = 10;
MODE = 11;
HIDE = 12;
UNHIDE = 13;
SPIN = 14;
SQUISH = 15;
BACKGROUND = 16;
RESET_BACKGROUND = 17;
SILHOUETTE = 18;
RESET_SILHOUETTE = 19;
HIDE_OTHER = 20;
UNHIDE_OTHER = 21;
DSCVFX = 22;
}
enum TargetType {
MAIN_CAMERA = 0;
SPECIFIED_OBJECT = 1;
}
enum Effect {
NO_DAMAGE = 0;
REDUCED_DAMAGE = 1;
NORMAL_DAMAGE = 2;
INCREASED_DAMAGE = 3;
}
enum PokemonCreateContext {
CREATE_CONTEXT_WILD = 0;
CREATE_CONTEXT_EGG = 1;
CREATE_CONTEXT_EVOLVE = 2;
}
enum PlayerAvatarType {
PLAYER_AVATAR_UNSET = 0;
PLAYER_AVATAR_MALE = 1;
PLAYER_AVATAR_FEMALE = 2;
}
enum Team {
UNSET = 0;
TEAM_BLUE = 1;
TEAM_RED = 2;
TEAM_YELLOW = 3;
}
enum HoloPokemonType {
POKEMON_TYPE_NONE = 0;
POKEMON_TYPE_NORMAL = 1;
POKEMON_TYPE_FIGHTING = 2;
POKEMON_TYPE_FLYING = 3;
POKEMON_TYPE_POISON = 4;
POKEMON_TYPE_GROUND = 5;
POKEMON_TYPE_ROCK = 6;
POKEMON_TYPE_BUG = 7;
POKEMON_TYPE_GHOST = 8;
POKEMON_TYPE_STEEL = 9;
POKEMON_TYPE_FIRE = 10;
POKEMON_TYPE_WATER = 11;
POKEMON_TYPE_GRASS = 12;
POKEMON_TYPE_ELECTRIC = 13;
POKEMON_TYPE_PSYCHIC = 14;
POKEMON_TYPE_ICE = 15;
POKEMON_TYPE_DRAGON = 16;
POKEMON_TYPE_DARK = 17;
POKEMON_TYPE_FAIRY = 18;
}
enum HoloPokemonClass {
POKEMON_CLASS_NORMAL = 0;
POKEMON_CLASS_LEGENDARY = 1;
POKEMON_CLASS_MYTHIC = 2;
}
enum HoloPokemonNature {
NATURE_UNKNOWN = 0;
V0001_POKEMON_NATURE_STOIC = 1;
V0002_POKEMON_NATURE_ASSASSIN = 2;
V0003_POKEMON_NATURE_GUARDIAN = 3;
V0004_POKEMON_NATURE_RAIDER = 4;
V0005_POKEMON_NATURE_PROTECTOR = 5;
V0006_POKEMON_NATURE_SENTRY = 6;
V0007_POKEMON_NATURE_CHAMPION = 7;
}
enum HoloPokemonMovementType {
POKEMON_ENC_MOVEMENT_STATIC = 0;
POKEMON_ENC_MOVEMENT_JUMP = 1;
POKEMON_ENC_MOVEMENT_VERTICAL = 2;
POKEMON_ENC_MOVEMENT_PSYCHIC = 3;
POKEMON_ENC_MOVEMENT_ELECTRIC = 4;
POKEMON_ENC_MOVEMENT_FLYING = 5;
POKEMON_ENC_MOVEMENT_HOVERING = 6;
}
enum HoloItemCategory {
ITEM_CATEGORY_NONE = 0;
ITEM_CATEGORY_POKEBALL = 1;
ITEM_CATEGORY_FOOD = 2;
ITEM_CATEGORY_MEDICINE = 3;
ITEM_CATEGORY_BOOST = 4;
ITEM_CATEGORY_UTILITES = 5;
ITEM_CATEGORY_CAMERA = 6;
ITEM_CATEGORY_DISK = 7;
ITEM_CATEGORY_INCUBATOR = 8;
ITEM_CATEGORY_INCENSE = 9;
ITEM_CATEGORY_XP_BOOST = 10;
ITEM_CATEGORY_INVENTORY_UPGRADE = 11;
}
enum HoloItemEffect {
ITEM_EFFECT_NONE = 0;
ITEM_EFFECT_CAP_NO_FLEE = 1000;
ITEM_EFFECT_CAP_NO_MOVEMENT = 1002;
ITEM_EFFECT_CAP_NO_THREAT = 1003;
ITEM_EFFECT_CAP_TARGET_MAX = 1004;
ITEM_EFFECT_CAP_TARGET_SLOW = 1005;
ITEM_EFFECT_CAP_CHANCE_NIGHT = 1006;
ITEM_EFFECT_CAP_CHANCE_TRAINER = 1007;
ITEM_EFFECT_CAP_CHANCE_FIRST_THROW = 1008;
ITEM_EFFECT_CAP_CHANCE_LEGEND = 1009;
ITEM_EFFECT_CAP_CHANCE_HEAVY = 1010;
ITEM_EFFECT_CAP_CHANCE_REPEAT = 1011;
ITEM_EFFECT_CAP_CHANCE_MULTI_THROW = 1012;
ITEM_EFFECT_CAP_CHANCE_ALWAYS = 1013;
ITEM_EFFECT_CAP_CHANCE_SINGLE_THROW = 1014;