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
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
赤子奈落
YGOProUnity_V2
Commits
f33fcb3c
Commit
f33fcb3c
authored
May 26, 2020
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix new_card CardPosition
parent
e44a1638
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
Assets/SibylSystem/coreWrapper.cs
Assets/SibylSystem/coreWrapper.cs
+11
-11
No files found.
Assets/SibylSystem/coreWrapper.cs
View file @
f33fcb3c
using
System
;
using
System
;
using
System.Collections.Generic
;
using
System.Collections.Generic
;
using
System.Diagnostics
;
using
System.Diagnostics
;
using
System.IO
;
using
System.IO
;
...
@@ -531,12 +531,12 @@ namespace Percy
...
@@ -531,12 +531,12 @@ namespace Percy
for
(
int
i
=
deck_player
.
Main
.
Count
-
1
;
i
>=
0
;
i
--)
for
(
int
i
=
deck_player
.
Main
.
Count
-
1
;
i
>=
0
;
i
--)
{
{
dll
.
new_card
(
duel
,
(
uint
)
deck_player
.
Main
[
i
],
dll
.
new_card
(
duel
,
(
uint
)
deck_player
.
Main
[
i
],
(
byte
)
playerId
,
(
byte
)
playerId
,
(
byte
)
CardLocation
.
Deck
,
0
,
0
);
(
byte
)
playerId
,
(
byte
)
playerId
,
(
byte
)
CardLocation
.
Deck
,
0
,
(
byte
)
CardPosition
.
FaceDownDefence
);
}
}
for
(
int
i
=
0
;
i
<
deck_player
.
Extra
.
Count
;
i
++)
for
(
int
i
=
0
;
i
<
deck_player
.
Extra
.
Count
;
i
++)
{
{
dll
.
new_card
(
duel
,
(
uint
)
deck_player
.
Extra
[
i
],
dll
.
new_card
(
duel
,
(
uint
)
deck_player
.
Extra
[
i
],
(
byte
)
playerId
,
(
byte
)
playerId
,
(
byte
)
CardLocation
.
Extra
,
0
,
0
);
(
byte
)
playerId
,
(
byte
)
playerId
,
(
byte
)
CardLocation
.
Extra
,
0
,
(
byte
)
CardPosition
.
FaceDownDefence
);
}
}
}
}
...
@@ -568,11 +568,11 @@ namespace Percy
...
@@ -568,11 +568,11 @@ namespace Percy
{
{
foreach
(
var
item
in
yrp
.
playerData
[
0
].
main
)
foreach
(
var
item
in
yrp
.
playerData
[
0
].
main
)
{
{
dll
.
new_card
(
duel
,
(
uint
)
item
,
(
byte
)
0
,
(
byte
)
0
,
(
byte
)
CardLocation
.
Deck
,
0
,
0
);
dll
.
new_card
(
duel
,
(
uint
)
item
,
(
byte
)
0
,
(
byte
)
0
,
(
byte
)
CardLocation
.
Deck
,
0
,
(
byte
)
CardPosition
.
FaceDownDefence
);
}
}
foreach
(
var
item
in
yrp
.
playerData
[
0
].
extra
)
foreach
(
var
item
in
yrp
.
playerData
[
0
].
extra
)
{
{
dll
.
new_card
(
duel
,
(
uint
)
item
,
(
byte
)
0
,
(
byte
)
0
,
(
byte
)
CardLocation
.
Extra
,
0
,
0
);
dll
.
new_card
(
duel
,
(
uint
)
item
,
(
byte
)
0
,
(
byte
)
0
,
(
byte
)
CardLocation
.
Extra
,
0
,
(
byte
)
CardPosition
.
FaceDownDefence
);
}
}
foreach
(
var
item
in
yrp
.
playerData
[
1
].
main
)
foreach
(
var
item
in
yrp
.
playerData
[
1
].
main
)
{
{
...
@@ -585,11 +585,11 @@ namespace Percy
...
@@ -585,11 +585,11 @@ namespace Percy
foreach
(
var
item
in
yrp
.
playerData
[
2
].
main
)
foreach
(
var
item
in
yrp
.
playerData
[
2
].
main
)
{
{
dll
.
new_card
(
duel
,
(
uint
)
item
,
(
byte
)
1
,
(
byte
)
1
,
(
byte
)
CardLocation
.
Deck
,
0
,
0
);
dll
.
new_card
(
duel
,
(
uint
)
item
,
(
byte
)
1
,
(
byte
)
1
,
(
byte
)
CardLocation
.
Deck
,
0
,
(
byte
)
CardPosition
.
FaceDownDefence
);
}
}
foreach
(
var
item
in
yrp
.
playerData
[
2
].
extra
)
foreach
(
var
item
in
yrp
.
playerData
[
2
].
extra
)
{
{
dll
.
new_card
(
duel
,
(
uint
)
item
,
(
byte
)
1
,
(
byte
)
1
,
(
byte
)
CardLocation
.
Extra
,
0
,
0
);
dll
.
new_card
(
duel
,
(
uint
)
item
,
(
byte
)
1
,
(
byte
)
1
,
(
byte
)
CardLocation
.
Extra
,
0
,
(
byte
)
CardPosition
.
FaceDownDefence
);
}
}
foreach
(
var
item
in
yrp
.
playerData
[
3
].
main
)
foreach
(
var
item
in
yrp
.
playerData
[
3
].
main
)
{
{
...
@@ -604,20 +604,20 @@ namespace Percy
...
@@ -604,20 +604,20 @@ namespace Percy
{
{
foreach
(
var
item
in
yrp
.
playerData
[
0
].
main
)
foreach
(
var
item
in
yrp
.
playerData
[
0
].
main
)
{
{
dll
.
new_card
(
duel
,
(
uint
)
item
,
(
byte
)
0
,
(
byte
)
0
,
(
byte
)
CardLocation
.
Deck
,
0
,
0
);
dll
.
new_card
(
duel
,
(
uint
)
item
,
(
byte
)
0
,
(
byte
)
0
,
(
byte
)
CardLocation
.
Deck
,
0
,
(
byte
)
CardPosition
.
FaceDownDefence
);
}
}
foreach
(
var
item
in
yrp
.
playerData
[
0
].
extra
)
foreach
(
var
item
in
yrp
.
playerData
[
0
].
extra
)
{
{
dll
.
new_card
(
duel
,
(
uint
)
item
,
(
byte
)
0
,
(
byte
)
0
,
(
byte
)
CardLocation
.
Extra
,
0
,
0
);
dll
.
new_card
(
duel
,
(
uint
)
item
,
(
byte
)
0
,
(
byte
)
0
,
(
byte
)
CardLocation
.
Extra
,
0
,
(
byte
)
CardPosition
.
FaceDownDefence
);
}
}
foreach
(
var
item
in
yrp
.
playerData
[
1
].
main
)
foreach
(
var
item
in
yrp
.
playerData
[
1
].
main
)
{
{
dll
.
new_card
(
duel
,
(
uint
)
item
,
(
byte
)
1
,
(
byte
)
1
,
(
byte
)
CardLocation
.
Deck
,
0
,
0
);
dll
.
new_card
(
duel
,
(
uint
)
item
,
(
byte
)
1
,
(
byte
)
1
,
(
byte
)
CardLocation
.
Deck
,
0
,
(
byte
)
CardPosition
.
FaceDownDefence
);
}
}
foreach
(
var
item
in
yrp
.
playerData
[
1
].
extra
)
foreach
(
var
item
in
yrp
.
playerData
[
1
].
extra
)
{
{
dll
.
new_card
(
duel
,
(
uint
)
item
,
(
byte
)
1
,
(
byte
)
1
,
(
byte
)
CardLocation
.
Extra
,
0
,
0
);
dll
.
new_card
(
duel
,
(
uint
)
item
,
(
byte
)
1
,
(
byte
)
1
,
(
byte
)
CardLocation
.
Extra
,
0
,
(
byte
)
CardPosition
.
FaceDownDefence
);
}
}
}
}
BinaryMaster
master
=
new
BinaryMaster
();
BinaryMaster
master
=
new
BinaryMaster
();
...
...
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