Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro2
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
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
nanahira
ygopro2
Commits
b1d1b754
Commit
b1d1b754
authored
Mar 24, 2019
by
無名の凝泪
Committed by
Unicorn369
Mar 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update OCG/TCG/Custom mark
parent
c7a2bd22
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
102 additions
and
58 deletions
+102
-58
Assets/SibylSystem/ResourceManagers/GameStringHelper.cs
Assets/SibylSystem/ResourceManagers/GameStringHelper.cs
+5
-5
Assets/SibylSystem/deckManager/DeckManager.cs
Assets/SibylSystem/deckManager/DeckManager.cs
+87
-47
Assets/YGOSharp/CardsManager.cs
Assets/YGOSharp/CardsManager.cs
+10
-6
No files found.
Assets/SibylSystem/ResourceManagers/GameStringHelper.cs
View file @
b1d1b754
...
...
@@ -123,16 +123,16 @@ public class GameStringHelper
switch
(
card
.
Ot
)
{
case
1
:
limitot
=
"[OCG] "
;
limitot
=
GameStringManager
.
get_unsafe
(
1240
)
;
break
;
case
2
:
limitot
=
"[TCG] "
;
limitot
=
GameStringManager
.
get_unsafe
(
1241
)
;
break
;
case
3
:
limitot
=
"[OCG/TCG] "
;
limitot
=
GameStringManager
.
get_unsafe
(
1242
)
;
break
;
case
4
:
limitot
=
"[Anime] "
;
limitot
=
GameStringManager
.
get_unsafe
(
1243
)
;
break
;
}
string
re
=
""
;
...
...
@@ -140,7 +140,7 @@ public class GameStringHelper
{
re
+=
"[b]"
+
card
.
Name
+
"[/b]"
;
re
+=
"\n"
;
re
+=
"[sup]
"
+
limitot
+
"
[/sup]"
;
re
+=
"[sup]
["
+
limitot
+
"]
[/sup]"
;
re
+=
"\r"
;
re
+=
"[sup]"
+
card
.
Id
.
ToString
()
+
"[/sup]"
;
re
+=
"\n"
;
...
...
Assets/SibylSystem/deckManager/DeckManager.cs
View file @
b1d1b754
This diff is collapsed.
Click to expand it.
Assets/YGOSharp/CardsManager.cs
View file @
b1d1b754
...
...
@@ -103,6 +103,7 @@ namespace YGOSharp
int
getDefence_UP
,
int
getP_UP
,
int
getYear_UP
,
int
getOT
,
string
getPack
,
int
getBAN
,
Banlist
banlist
,
...
...
@@ -127,7 +128,7 @@ namespace YGOSharp
{
if
(((
card
.
Type
&
getTypeFilter
))
==
getTypeFilter
||
getTypeFilter
==
0
)
{
if
((
card
.
Race
&
getRaceFilter
)
>
0
||
getRaceFilter
==
0
)
if
((
card
.
Race
&
getRaceFilter
)
>
0
||
getRaceFilter
==
0
)
{
if
((
card
.
Attribute
&
getAttributeFilter
)
>
0
||
getAttributeFilter
==
0
)
{
...
...
@@ -144,6 +145,8 @@ namespace YGOSharp
if
(
judgeint
(
getYear
,
getYear_UP
,
card
.
year
))
{
if
(
getBAN
==
-
233
||
banlist
==
null
||
banlist
.
GetQuantity
(
card
.
Id
)
==
getBAN
)
{
if
(
getOT
==
0
||
getOT
==
card
.
Ot
)
{
if
(
getPack
==
""
||
card
.
packFullName
==
getPack
)
{
...
...
@@ -162,6 +165,7 @@ namespace YGOSharp
}
}
}
}
nameInSearch
=
getName
;
returnValue
.
Sort
(
comparisonOfCard
());
nameInSearch
=
""
;
...
...
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