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
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
wind2009
ygopro
Commits
567d3144
Commit
567d3144
authored
May 27, 2024
by
Chen Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove bool type in HostInfo
parent
e8209d5d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
gframe/network.h
gframe/network.h
+10
-10
No files found.
gframe/network.h
View file @
567d3144
...
@@ -14,16 +14,16 @@ namespace ygo {
...
@@ -14,16 +14,16 @@ namespace ygo {
constexpr
int
MAX_DATA_SIZE
=
SIZE_NETWORK_BUFFER
-
3
;
constexpr
int
MAX_DATA_SIZE
=
SIZE_NETWORK_BUFFER
-
3
;
struct
HostInfo
{
struct
HostInfo
{
unsigned
int
lflist
{
0
};
unsigned
int
lflist
{};
unsigned
char
rule
{
0
};
unsigned
char
rule
{};
unsigned
char
mode
{
0
};
unsigned
char
mode
{};
unsigned
char
duel_rule
{
0
};
unsigned
char
duel_rule
{};
bool
no_check_deck
{
false
};
unsigned
char
no_check_deck
{
};
bool
no_shuffle_deck
{
false
};
unsigned
char
no_shuffle_deck
{
};
unsigned
int
start_lp
{
0
};
unsigned
int
start_lp
{};
unsigned
char
start_hand
{
0
};
unsigned
char
start_hand
{};
unsigned
char
draw_count
{
0
};
unsigned
char
draw_count
{};
unsigned
short
time_limit
{
0
};
unsigned
short
time_limit
{};
};
};
struct
HostPacket
{
struct
HostPacket
{
unsigned
short
identifier
;
unsigned
short
identifier
;
...
...
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