Files
S/proto/pb/cs_gem.proto
2026-02-02 21:19:34 +03:00

38 lines
827 B
Protocol Buffer

syntax = "proto3";
package proto;
option go_package = "/csproto";
import "options.proto";
import "common.proto";
message CS_GEM_RECAST {
string formula_id = 1;
int32 count = 2;
repeated uint64 cost_gem_inst_ids = 3;
}
message SC_GEM_RECAST {
string formula_id = 1;
int32 count = 2;
repeated uint64 gem_inst_ids = 3;
}
message CS_GEM_ENHANCE {
uint64 enhance_gem_inst_id = 1;
int32 term_id = 2;
uint64 cost_gem_inst_id = 3;
bool use_enhancement_item = 4;
}
message SC_GEM_ENHANCE {
uint64 gem_inst_id = 1;
repeated GEM_TERM terms = 2;
bool is_success = 3;
REWARD_ITEM refund_item = 4;
}
message CS_GEM_DISMANTLE {
repeated uint64 gem_inst_ids = 1;
}
message SC_GEM_DISMANTLE {
repeated REWARD_ITEM refund_items = 1;
repeated REWARD_ITEM refund_money = 2;
}