Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
love_飞影
Neos
Commits
04d77b54
Commit
04d77b54
authored
Mar 18, 2023
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sync neos-protobuf
parent
fb466b56
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
1 deletion
+23
-1
neos-protobuf
neos-protobuf
+1
-1
src/api/ocgcore/idl/ocgcore.ts
src/api/ocgcore/idl/ocgcore.ts
+22
-0
No files found.
neos-protobuf
@
9711eef5
Subproject commit
3383e74b3f523574a91d4d41fa3a7a3602728cda
Subproject commit
9711eef553da455be0d01238dae7f026d8d5650e
src/api/ocgcore/idl/ocgcore.ts
View file @
04d77b54
...
@@ -8618,6 +8618,7 @@ export namespace ygopro {
...
@@ -8618,6 +8618,7 @@ export namespace ygopro {
code?: number;
code?: number;
location?: CardLocation;
location?: CardLocation;
response?: number;
response?: number;
release_param?: number;
}
}
) {
) {
super();
super();
...
@@ -8639,6 +8640,9 @@ export namespace ygopro {
...
@@ -8639,6 +8640,9 @@ export namespace ygopro {
if ("response" in data && data.response != undefined) {
if ("response" in data && data.response != undefined) {
this.response = data.response;
this.response = data.response;
}
}
if ("release_param" in data && data.release_param != undefined) {
this.release_param = data.release_param;
}
}
}
}
}
get code() {
get code() {
...
@@ -8666,10 +8670,17 @@ export namespace ygopro {
...
@@ -8666,10 +8670,17 @@ export namespace ygopro {
set response(value: number) {
set response(value: number) {
pb_1.Message.setField(this, 3, value);
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: {
static fromObject(data: {
code?: number;
code?: number;
location?: ReturnType<typeof CardLocation.prototype.toObject>;
location?: ReturnType<typeof CardLocation.prototype.toObject>;
response?: number;
response?: number;
release_param?: number;
}): SelectAbleCard {
}): SelectAbleCard {
const message = new SelectAbleCard({});
const message = new SelectAbleCard({});
if (data.code != null) {
if (data.code != null) {
...
@@ -8681,6 +8692,9 @@ export namespace ygopro {
...
@@ -8681,6 +8692,9 @@ export namespace ygopro {
if (data.response != null) {
if (data.response != null) {
message.response = data.response;
message.response = data.response;
}
}
if (data.release_param != null) {
message.release_param = data.release_param;
}
return message;
return message;
}
}
toObject() {
toObject() {
...
@@ -8688,6 +8702,7 @@ export namespace ygopro {
...
@@ -8688,6 +8702,7 @@ export namespace ygopro {
code?: number;
code?: number;
location?: ReturnType<typeof CardLocation.prototype.toObject>;
location?: ReturnType<typeof CardLocation.prototype.toObject>;
response?: number;
response?: number;
release_param?: number;
} = {};
} = {};
if (this.code != null) {
if (this.code != null) {
data.code = this.code;
data.code = this.code;
...
@@ -8698,6 +8713,9 @@ export namespace ygopro {
...
@@ -8698,6 +8713,9 @@ export namespace ygopro {
if (this.response != null) {
if (this.response != null) {
data.response = this.response;
data.response = this.response;
}
}
if (this.release_param != null) {
data.release_param = this.release_param;
}
return data;
return data;
}
}
serialize(): Uint8Array;
serialize(): Uint8Array;
...
@@ -8710,6 +8728,7 @@ export namespace ygopro {
...
@@ -8710,6 +8728,7 @@ export namespace ygopro {
this.location.serialize(writer)
this.location.serialize(writer)
);
);
if (this.response != 0) writer.writeInt32(3, this.response);
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();
if (!w) return writer.getResultBuffer();
}
}
static deserialize(
static deserialize(
...
@@ -8735,6 +8754,9 @@ export namespace ygopro {
...
@@ -8735,6 +8754,9 @@ export namespace ygopro {
case 3:
case 3:
message.response = reader.readInt32();
message.response = reader.readInt32();
break;
break;
case 4:
message.release_param = reader.readInt32();
break;
default:
default:
reader.skipField();
reader.skipField();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment