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
1
Merge Requests
1
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
2507ac03
Commit
2507ac03
authored
May 09, 2020
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix replay rule
parent
00f83095
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Assets/SibylSystem/coreWrapper.cs
Assets/SibylSystem/coreWrapper.cs
+2
-1
Assets/SibylSystem/selectReplay/selectReplay.cs
Assets/SibylSystem/selectReplay/selectReplay.cs
+2
-0
No files found.
Assets/SibylSystem/coreWrapper.cs
View file @
2507ac03
...
...
@@ -1447,8 +1447,9 @@ namespace Percy
WriteUnicode
(
writer
,
playerData
[
1
].
name
,
50
);
WriteUnicode
(
writer
,
playerData
[
1
].
name
,
50
);
}
writer
.
Write
((
Int32
)(
opt
>>
16
));
BinaryWriter
Rwriter
=
new
BinaryWriter
(
new
MemoryStream
());
Rwriter
.
Write
((
byte
)
235
);
Rwriter
.
Write
((
byte
)
YGOSharp
.
OCGWrapper
.
Enums
.
GameMessage
.
sibyl_name
);
Rwriter
.
Write
(
stream
.
ToArray
());
return
((
MemoryStream
)(
Rwriter
.
BaseStream
)).
ToArray
();
}
...
...
Assets/SibylSystem/selectReplay/selectReplay.cs
View file @
2507ac03
...
...
@@ -199,6 +199,7 @@ public class selectReplay : WindowServantSP
returnValue
.
StartHand
=
reader
.
ReadInt32
();
returnValue
.
DrawCount
=
reader
.
ReadInt32
();
returnValue
.
opt
=
reader
.
ReadInt32
();
Program
.
I
().
ocgcore
.
MasterRule
=
returnValue
.
opt
>>
16
;
for
(
int
i
=
0
;
i
<
4
;
i
++)
{
int
count
=
reader
.
ReadInt32
();
...
...
@@ -223,6 +224,7 @@ public class selectReplay : WindowServantSP
returnValue
.
StartHand
=
reader
.
ReadInt32
();
returnValue
.
DrawCount
=
reader
.
ReadInt32
();
returnValue
.
opt
=
reader
.
ReadInt32
();
Program
.
I
().
ocgcore
.
MasterRule
=
returnValue
.
opt
>>
16
;
for
(
int
i
=
0
;
i
<
2
;
i
++)
{
int
count
=
reader
.
ReadInt32
();
...
...
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