Skip to content

Instantly share code, notes, and snippets.

/settings.proto Secret

Created July 14, 2016 20:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/1f05df105102f7d70e6b6be40dcf68f7 to your computer and use it in GitHub Desktop.
Save anonymous/1f05df105102f7d70e6b6be40dcf68f7 to your computer and use it in GitHub Desktop.
syntax = "proto3";
package Holoholo.Rpc;
message Final {
DownloadSettingsResponseProto Settings = 100;
}
message DownloadSettingsResponseProto {
string Error = 1;
string Sha1 = 2;
GlobalSettingsProto Values = 3;
}
message GlobalSettingsProto {
Holoholo.Rpc.FortSettingsProto FortSettings = 2;
Holoholo.Rpc.MapSettingsProto MapSettings = 3;
Holoholo.Rpc.LevelSettingsProto LevelSettings = 4;
Holoholo.Rpc.InventorySettingsProto InventorySettings = 5;
string MinimumClientVersion = 6;
}
message FortSettingsProto {
double InteractionRangeMeters = 1;
int32 MaxTotalDeployedPokemon = 2;
int32 MaxPlayerDeployedPokemon = 3;
double DeployStaminaMultiplier = 4;
double DeployAttackMultiplier = 5;
double FarInteractionRangeMeters = 6;
}
message MapSettingsProto {
double PokemonVisibleRange = 1;
double PokeNavRangeMeters = 2;
double EncounterRangeMeters = 3;
float GetMapObjectsMinRefreshSeconds = 4;
float GetMapObjectsMaxRefreshSeconds = 5;
float GetMapObjectsMinDistanceMeters = 6;
string GoogleMapsApiKey = 7;
}
message LevelSettingsProto {
double TrainerCpModifier = 2;
double TrainerDifficultyModifier = 3;
}
message InventorySettingsProto {
int32 MaxPokemon = 1;
int32 MaxBagItems = 2;
int32 BasePokemon = 3;
int32 BaseBagItems = 4;
int32 BaseEggs = 5;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment