exp.proto 696 B

1234567891011121314151617181920
  1. syntax = "proto3";
  2. package model;
  3. import "github.com/gogo/protobuf/gogoproto/gogo.proto";
  4. message Exp {
  5. int64 Uid = 1 [(gogoproto.jsontag) = "uid"];
  6. int64 Uexp = 2 [(gogoproto.jsontag) = "uexp"];
  7. int64 Rexp = 3 [(gogoproto.jsontag) = "rexp"];
  8. }
  9. message Level {
  10. int64 Uid = 1 [(gogoproto.jsontag) = "uid"];
  11. int64 Uexp = 2 [(gogoproto.jsontag) = "uexp"];
  12. int64 Rexp = 3 [(gogoproto.jsontag) = "rexp"];
  13. int32 Ulevel = 4 [(gogoproto.jsontag) = "ulevel"];
  14. int32 Rlevel = 5 [(gogoproto.jsontag) = "rlevel"];
  15. int32 Color = 6 [(gogoproto.jsontag) = "color"];
  16. int64 Unext = 7 [(gogoproto.jsontag) = "unext"];
  17. int64 Rnext = 8 [(gogoproto.jsontag) = "rnext"];
  18. }