Commit 04d77b54 authored by Chunchi Che's avatar Chunchi Che

sync neos-protobuf

parent fb466b56
Pipeline #20770 failed with stages
in 5 minutes and 37 seconds
neos-protobuf @ 9711eef5
Subproject commit 3383e74b3f523574a91d4d41fa3a7a3602728cda
Subproject commit 9711eef553da455be0d01238dae7f026d8d5650e
......@@ -8618,6 +8618,7 @@ export namespace ygopro {
code?: number;
location?: CardLocation;
response?: number;
release_param?: number;
}
) {
super();
......@@ -8639,6 +8640,9 @@ export namespace ygopro {
if ("response" in data && data.response != undefined) {
this.response = data.response;
}
if ("release_param" in data && data.release_param != undefined) {
this.release_param = data.release_param;
}
}
}
get code() {
......@@ -8666,10 +8670,17 @@ export namespace ygopro {
set response(value: number) {
pb_1.Message.setField(this, 3, value);
}
get release_param() {
return pb_1.Message.getFieldWithDefault(this, 4, 0) as number;
}
set release_param(value: number) {
pb_1.Message.setField(this, 4, value);
}
static fromObject(data: {
code?: number;
location?: ReturnType<typeof CardLocation.prototype.toObject>;
response?: number;
release_param?: number;
}): SelectAbleCard {
const message = new SelectAbleCard({});
if (data.code != null) {
......@@ -8681,6 +8692,9 @@ export namespace ygopro {
if (data.response != null) {
message.response = data.response;
}
if (data.release_param != null) {
message.release_param = data.release_param;
}
return message;
}
toObject() {
......@@ -8688,6 +8702,7 @@ export namespace ygopro {
code?: number;
location?: ReturnType<typeof CardLocation.prototype.toObject>;
response?: number;
release_param?: number;
} = {};
if (this.code != null) {
data.code = this.code;
......@@ -8698,6 +8713,9 @@ export namespace ygopro {
if (this.response != null) {
data.response = this.response;
}
if (this.release_param != null) {
data.release_param = this.release_param;
}
return data;
}
serialize(): Uint8Array;
......@@ -8710,6 +8728,7 @@ export namespace ygopro {
this.location.serialize(writer)
);
if (this.response != 0) writer.writeInt32(3, this.response);
if (this.release_param != 0) writer.writeInt32(4, this.release_param);
if (!w) return writer.getResultBuffer();
}
static deserialize(
......@@ -8735,6 +8754,9 @@ export namespace ygopro {
case 3:
message.response = reader.readInt32();
break;
case 4:
message.release_param = reader.readInt32();
break;
default:
reader.skipField();
}
......
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