Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
MyCard
ygopro
Commits
b02c18a8
Commit
b02c18a8
authored
Jan 12, 2025
by
Chen Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update struct CardDataC
parent
2961cbb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gframe/data_manager.h
gframe/data_manager.h
+4
-4
No files found.
gframe/data_manager.h
View file @
b02c18a8
...
@@ -20,8 +20,8 @@ constexpr unsigned int MIN_CARD_ID = (unsigned int)(MAX_STRING_ID + 1) >> 4;
...
@@ -20,8 +20,8 @@ constexpr unsigned int MIN_CARD_ID = (unsigned int)(MAX_STRING_ID + 1) >> 4;
using
CardData
=
card_data
;
using
CardData
=
card_data
;
struct
CardDataC
:
card_data
{
struct
CardDataC
:
card_data
{
u
nsigned
in
t
ot
{};
u
int32_
t
ot
{};
u
nsigned
in
t
category
{};
u
int32_
t
category
{};
bool
is_setcodes
(
std
::
vector
<
uint32_t
>
values
)
const
{
bool
is_setcodes
(
std
::
vector
<
uint32_t
>
values
)
const
{
for
(
auto
&
value
:
values
)
{
for
(
auto
&
value
:
values
)
{
...
@@ -36,8 +36,8 @@ struct CardString {
...
@@ -36,8 +36,8 @@ struct CardString {
std
::
wstring
text
;
std
::
wstring
text
;
std
::
wstring
desc
[
16
];
std
::
wstring
desc
[
16
];
};
};
typedef
std
::
unordered_map
<
unsigned
int
,
CardDataC
>::
const_iterator
code_pointe
r
;
using
code_pointer
=
std
::
unordered_map
<
unsigned
int
,
CardDataC
>::
const_iterato
r
;
typedef
std
::
unordered_map
<
unsigned
int
,
CardString
>::
const_iterator
string_pointe
r
;
using
string_pointer
=
std
::
unordered_map
<
unsigned
int
,
CardString
>::
const_iterato
r
;
class
DataManager
{
class
DataManager
{
public:
public:
...
...
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