Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (31 sloc) 832 Bytes
syntax = "proto2";
import "dependency.proto";
message role_cfg {
optional uint32 id = 1;
optional uint32 unlock_level = 2;
optional uint32 cost_type = 3;
optional int32 cost_value = 4;
optional string name = 5;
optional dep_cfg dep_test = 10;
repeated string test_array = 11;
}
message role_upgrade_cfg {
optional uint32 Id = 1;
optional uint32 Level = 2;
optional uint32 CostType = 3;
optional int32 CostValue = 4;
optional int32 ScoreAdd = 5;
}
message test_msg_verifier {
optional uint32 test_id_1 = 10001;
optional uint32 test_id_2 = 10002;
}
message arr_in_arr {
optional string name = 1;
repeated int32 int_arr = 2 [ packed = true ];
repeated string str_arr = 3;
}
message arr_in_arr_cfg {
optional uint32 id = 1;
repeated arr_in_arr arr = 2;
}