protos/pogo0.431.0

Mensagemholoholo.rpc

ReferralMilestonesProto

holoholo.rpc.ReferralMilestonesProtoFicheiro: holo_protos.protoTipo C#: Holoholo.Rpc.ReferralMilestonesProto7 camposDesde a 0.431.0

NºCampoTipoTag
1milestones_template_idstring0a
2versionint3210
5milestonemap<string, ReferralMilestonesProto.MilestoneProto>2a
oneof player_id · 2 opções, só uma de cada vez
3referrer_player_idstring1a
4referee_player_idstring22
oneof niantic_id · 2 opções, só uma de cada vez
6referrer_niantic_idstring32
7referee_niantic_idstring3a

Tipos aninhados

Usado em (3)

Código .proto
// holo_protos.proto · package holoholo.rpc
message ReferralMilestonesProto {
  string milestones_template_id = 1;
  int32 version = 2;
  map<string, MilestoneProto> milestone = 5;
  oneof player_id {
    string referrer_player_id = 3;
    string referee_player_id = 4;
  }
  oneof niantic_id {
    string referrer_niantic_id = 6;
    string referee_niantic_id = 7;
  }

  message MilestoneProto {
    string name_key = 1;
    Status status = 2;
    repeated bytes reward = 3;
    string milestone_template_id = 4;
    int32 version = 5;
    repeated TemplateVariableProto name_template_variable = 6;
    bool viewed_by_client = 7;
    int64 created_timestamp_ms = 8;

    enum Status {
      STATUS_UNSET = 0;
      STATUS_ACTIVE = 1;
      STATUS_ACHIEVED = 2;
      STATUS_ACTIVE_HIDDEN = 3;
      STATUS_ACHIEVED_HIDDEN = 4;
      STATUS_REWARDS_CLAIMED = 5;
    }

    message TemplateVariableProto {
      string name = 1;
      string literal = 2;
    }
  }
}