Files
EpinelPS/nksrv/Protos/liberate.proto
2024-07-20 11:02:19 -04:00

34 lines
764 B
Protocol Buffer

syntax = "proto3";
option csharp_namespace = "nksrv.Net";
import "google/protobuf/timestamp.proto";
import "google/protobuf/Duration.proto";
import "Protos/allmsgs.proto";
enum LiberateDataExpiredError {
LIBERATE_DATA_EXPIRED_ERROR_SUCCESS = 0;
LIBERATE_DATA_EXPIRED_ERROR_EXPIRED = 1;
}
message NetLiberateProgressData {
int32 CharacterId = 1;
int32 Step = 2;
int32 ProgressPoint = 3;
int32 RewardedCount = 4;
bool IsCompleted = 5;
}
message GetLiberateProgressListRequest {}
message GetLiberateProgressListResponse {
repeated NetLiberateProgressData ProgressData = 1;
}
message ChooseLiberateCharacterRequest {
int32 CharacterId = 2;
}
message ChooseLiberateCharacterResponse {
NetLiberateData data = 1;
LiberateDataExpiredError Error = 2;
}