Commit 75fb3c4b authored by Chunchi Che's avatar Chunchi Che

Merge branch 'optimize/overlay_location' into 'main'

optimize overlay location

See merge request !52
parents 9b3dbfe3 fbf8a18f
Pipeline #22065 passed with stage
in 15 seconds
......@@ -22,11 +22,10 @@ enum CardZone {
GRAVE = 4; // 墓地
REMOVED = 5; // 除外
EXTRA = 6; // 额外卡组
OVERLAY = 7; // 超量叠加
ONFIELD = 8; // 场地
FZONE = 9; // TODO
PZONE = 10; // 灵摆区
TZONE = 11; // 衍生物区
ONFIELD = 7; // 场地
FZONE = 8; // TODO
PZONE = 9; // 灵摆区
TZONE = 10; // 衍生物区
}
// 卡牌的表示方式类型
......@@ -48,12 +47,14 @@ message CardInfo {
int32 sequence = 4;
}
// 超量素材的zone和sequence都是跟随超量怪兽的,同时它会有个单独的overlay_sequence
message CardLocation {
int32 controler = 1;
CardZone location = 2;
int32 sequence = 3;
CardPosition position = 4;
int32 overlay_sequence = 5;
int32 controler = 1; // 控制者编号
CardZone zone = 2; // 区域编号
int32 sequence = 3; // 在某个区域的序号
CardPosition position = 4; // 表示形式
bool is_overlay = 5; // 是否在超量区
int32 overlay_sequence = 6; // 超量素材序号
}
// ----- Service -----
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment