exp.proto 1.1 KB

123456789101112131415161718192021222324252627282930
  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 ExpLog {
  10. int64 mid= 1 [(gogoproto.jsontag) = "mid"];
  11. int64 uexp = 2 [(gogoproto.jsontag) = "uexp"];
  12. int64 rexp = 3 [(gogoproto.jsontag) = "rexp"];
  13. int64 ts = 4 [(gogoproto.jsontag) = "ts"];
  14. string ip = 5 [(gogoproto.jsontag) = "ip"];
  15. string buvid = 6 [(gogoproto.jsontag) = "buvid"];
  16. map<string, string> content = 7 [(gogoproto.jsontag) = "content"];
  17. }
  18. message Level {
  19. int64 Uid = 1 [(gogoproto.jsontag) = "uid"];
  20. int64 Uexp = 2 [(gogoproto.jsontag) = "uexp"];
  21. int64 Rexp = 3 [(gogoproto.jsontag) = "rexp"];
  22. int32 Ulevel = 4 [(gogoproto.jsontag) = "ulevel"];
  23. int32 Rlevel = 5 [(gogoproto.jsontag) = "rlevel"];
  24. int32 Color = 6 [(gogoproto.jsontag) = "color"];
  25. int64 Unext = 7 [(gogoproto.jsontag) = "unext"];
  26. int64 Rnext = 8 [(gogoproto.jsontag) = "rnext"];
  27. }