syntax = "proto3";
option go_package = ".;pb";
import "oldtimes_db.proto";

// 旧时光章节和关卡数据
message OldtimesGetallReq{}

message OldtimesGetallResp{
    DBOldtimes data = 1;
}

//进入关卡
message OldtimesEnterReq{
    int32 chapterId = 1;
    int32 levelId = 2;
}

message OldtimesEnterResp{
    int32 code = 1;
}

//关卡通过
message OldtimesFinishReq{
    int32 chapterId = 1; //章节ID
    int32 levelId = 2; //关卡ID
}

message OldtimesFinishResp{
    int32 code = 1;
}

//领取章节奖励
message OldtimesReceiveReq{
    int32 chapterId = 1; //章节ID
}

message OldtimesReceiveResp{
    int32 code = 1;

}


