Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOProUnity_V2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
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
MyCard
YGOProUnity_V2
Commits
41dd8f78
Commit
41dd8f78
authored
Jun 27, 2025
by
mercury233
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into patch-v1362
parents
20aedee9
79c7623c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
Assets/SibylSystem/Ocgcore/Ocgcore.cs
Assets/SibylSystem/Ocgcore/Ocgcore.cs
+1
-0
Assets/SibylSystem/coreWrapper.cs
Assets/SibylSystem/coreWrapper.cs
+3
-3
No files found.
Assets/SibylSystem/Ocgcore/Ocgcore.cs
View file @
41dd8f78
...
@@ -7210,6 +7210,7 @@ public class Ocgcore : ServantWithCardDescription
...
@@ -7210,6 +7210,7 @@ public class Ocgcore : ServantWithCardDescription
public
void
sendReturn
(
byte
[]
buffer
)
public
void
sendReturn
(
byte
[]
buffer
)
{
{
Program
.
DEBUGLOG
(
"sendReturn: "
+
BitConverter
.
ToString
(
buffer
));
if
(
paused
)
EventDelegate
.
Execute
(
UIHelper
.
getByName
<
UIButton
>(
toolBar
,
"go_"
).
onClick
);
if
(
paused
)
EventDelegate
.
Execute
(
UIHelper
.
getByName
<
UIButton
>(
toolBar
,
"go_"
).
onClick
);
clearResponse
();
clearResponse
();
if
(
handler
!=
null
)
handler
(
buffer
);
if
(
handler
!=
null
)
handler
(
buffer
);
...
...
Assets/SibylSystem/coreWrapper.cs
View file @
41dd8f78
...
@@ -392,9 +392,9 @@ namespace Percy
...
@@ -392,9 +392,9 @@ namespace Percy
var
len
=
result
&
0xFFFF
;
var
len
=
result
&
0xFFFF
;
if
(
len
>
0
)
if
(
len
>
0
)
{
{
var
arr
=
new
byte
[
4096
];
var
arr
=
new
byte
[
0x2000
];
dll
.
get_message
(
duel
,
_buffer
);
dll
.
get_message
(
duel
,
_buffer
);
Marshal
.
Copy
(
_buffer
,
arr
,
0
,
4096
);
Marshal
.
Copy
(
_buffer
,
arr
,
0
,
0x2000
);
var
breakOut
=
false
;
var
breakOut
=
false
;
var
stream
=
new
MemoryStream
(
arr
);
var
stream
=
new
MemoryStream
(
arr
);
var
reader
=
new
BinaryReader
(
stream
);
var
reader
=
new
BinaryReader
(
stream
);
...
@@ -1169,7 +1169,7 @@ namespace Percy
...
@@ -1169,7 +1169,7 @@ namespace Percy
//private
//private
private
readonly
IntPtr
_buffer
=
Marshal
.
AllocHGlobal
(
4096
);
private
readonly
IntPtr
_buffer
=
Marshal
.
AllocHGlobal
(
0x2000
);
private
IntPtr
duel
;
private
IntPtr
duel
;
...
...
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