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
fallenstardust
YGOProUnity_V2
Commits
c458ea69
Commit
c458ea69
authored
Sep 03, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
maybe fix the empty side
parent
db691afd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Assets/SibylSystem/MonoHelpers/TcpHelper.cs
Assets/SibylSystem/MonoHelpers/TcpHelper.cs
+2
-0
Assets/SibylSystem/Room/Room.cs
Assets/SibylSystem/Room/Room.cs
+1
-4
No files found.
Assets/SibylSystem/MonoHelpers/TcpHelper.cs
View file @
c458ea69
...
...
@@ -259,6 +259,8 @@ public static class TcpHelper
public
static
YGOSharp
.
Deck
deck
;
public
static
void
CtosMessage_UpdateDeck
(
YGOSharp
.
Deck
deckFor
)
{
if
(
deckFor
.
Main
.
Count
==
0
)
return
;
deckStrings
.
Clear
();
deck
=
deckFor
;
Package
message
=
new
Package
();
...
...
Assets/SibylSystem/Room/Room.cs
View file @
c458ea69
...
...
@@ -19,16 +19,13 @@ public class Room : WindowServantSP
void
onSelected
()
{
Config
.
Set
(
"deckInUse"
,
superScrollView
.
selectedString
);
if
(
selftype
<
realPlayers
.
Length
&&
realPlayers
[
selftype
]
!=
null
&&
realPlayers
[
selftype
].
getIfPreped
())
{
TcpHelper
.
CtosMessage_HsNotReady
();
TcpHelper
.
CtosMessage_UpdateDeck
(
new
YGOSharp
.
Deck
(
"deck/"
+
superScrollView
.
selectedString
+
".ydk"
));
TcpHelper
.
CtosMessage_HsReady
();
}
else
{
Config
.
Set
(
"deckInUse"
,
superScrollView
.
selectedString
);
}
}
void
printFile
()
...
...
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