35 lines
448 B
Protocol Buffer
35 lines
448 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package bilibili.metadata.restriction;
|
|
|
|
//
|
|
enum ModeType {
|
|
//
|
|
NORMAL = 0;
|
|
//
|
|
TEENAGERS = 1;
|
|
//
|
|
LESSONS = 2;
|
|
//
|
|
BASIC = 3;
|
|
}
|
|
|
|
//
|
|
message Restriction {
|
|
//
|
|
bool teenagers_mode = 1;
|
|
//
|
|
bool lessons_mode = 2;
|
|
//
|
|
ModeType mode = 3;
|
|
//
|
|
bool review = 4;
|
|
//
|
|
bool disable_rcmd = 5;
|
|
//
|
|
bool basic_mode = 6;
|
|
//
|
|
int32 teenagers_age = 7;
|
|
}
|
|
|