Commit fe2b3c91 authored by Chunchi Che's avatar Chunchi Che

optimize overlay location

parent 9b3dbfe3
Pipeline #22063 failed with stage
in 18 seconds
...@@ -22,11 +22,10 @@ enum CardZone { ...@@ -22,11 +22,10 @@ enum CardZone {
GRAVE = 4; // 墓地 GRAVE = 4; // 墓地
REMOVED = 5; // 除外 REMOVED = 5; // 除外
EXTRA = 6; // 额外卡组 EXTRA = 6; // 额外卡组
OVERLAY = 7; // 超量叠加 ONFIELD = 7; // 场地
ONFIELD = 8; // 场地 FZONE = 8; // TODO
FZONE = 9; // TODO PZONE = 9; // 灵摆区
PZONE = 10; // 灵摆区 TZONE = 10; // 衍生物区
TZONE = 11; // 衍生物区
} }
// 卡牌的表示方式类型 // 卡牌的表示方式类型
...@@ -48,12 +47,14 @@ message CardInfo { ...@@ -48,12 +47,14 @@ message CardInfo {
int32 sequence = 4; int32 sequence = 4;
} }
// 超量素材的zone和sequence都是跟随超量怪兽的,同时它会有个单独的overlay_sequence
message CardLocation { message CardLocation {
int32 controler = 1; int32 controler = 1; // 控制者编号
CardZone location = 2; CardZone zone = 2; // 区域编号
int32 sequence = 3; int32 sequence = 3; // 在某个区域的序号
CardPosition position = 4; CardPosition position = 4; // 表示形式
int32 overlay_sequence = 5; bool is_overlay = 5; // 是否在超量区
int32 overlay_sequence = 5; // 超量素材序号
} }
// ----- Service ----- // ----- 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