Create a gist now

Instantly share code, notes, and snippets.

anonymous /player.proto Secret
Created Jul 14, 2016

syntax = "proto3";
package Holoholo.Rpc;
message Player {
bool success = 1;
int32 ResponseNumber = 2;
repeated GetPlayerOutProto Player = 100;
}
message GetPlayerOutProto {
bool Success = 1;
Holoholo.Rpc.ClientPlayerProto Player = 2;
}
message ClientPlayerProto {
int64 CreationTimeMs = 1;
string Name = 2;
int32 Team = 5;
//unknown TutorialComplete = 7;
Holoholo.Rpc.PlayerAvatarProto PlayerAvatarProto = 8;
int32 MaxPokemonStorage = 9;
int32 MaxItemStorage = 10;
Holoholo.Rpc.DailyBonusProto DailyBonusProto = 11;
Holoholo.Rpc.EquippedBadgeProto EquippedBadgeProto = 12;
Holoholo.Rpc.ContactSettingsProto ContactSettingsProto = 13;
//unknown CurrencyBalance = 14;
}
message PlayerAvatarProto {
int32 Avatar = 8;
int32 Skin = 2;
int32 Hair = 3;
int32 Shirt = 4;
int32 Pants = 5;
int32 Hat = 6;
int32 Shoes = 7;
int32 Eyes = 9;
int32 Backpack = 10;
}
message DailyBonusProto {
int64 NextCollectTimestampMs = 1;
int64 NextDefenderBonusCollectTimestampMs = 2;
}
message EquippedBadgeProto {
// ENUM.Holoholo.Rpc.HoloBadgeType EquippedBadge = 1;
int32 EquippedBadge = 1;
int32 Level = 2;
int64 NextEquipChangeAllowedTimestampMs = 3;
}
message SetContactSettingsProto {
Holoholo.Rpc.ContactSettingsProto ContactSettingsProto = 1;
}
message ContactSettingsProto {
bool SendMarketingEmails = 1;
bool SendPushNotifications = 2;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment