Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
W
Windbot-408
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
神之吹息
Windbot-408
Commits
ad3258a0
Commit
ad3258a0
authored
May 29, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add Card.HasLinkMarker
parent
917f7f5d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
Game/ClientCard.cs
Game/ClientCard.cs
+12
-2
No files found.
Game/ClientCard.cs
View file @
ad3258a0
...
...
@@ -23,7 +23,7 @@ namespace WindBot.Game
public
int
Defense
{
get
;
private
set
;
}
public
int
LScale
{
get
;
private
set
;
}
public
int
RScale
{
get
;
private
set
;
}
public
int
Link
{
get
;
private
set
;
}
public
int
Link
Count
{
get
;
private
set
;
}
public
int
LinkMarker
{
get
;
private
set
;
}
public
int
BaseAttack
{
get
;
private
set
;
}
public
int
BaseDefense
{
get
;
private
set
;
}
...
...
@@ -136,11 +136,21 @@ namespace WindBot.Game
RScale
=
packet
.
ReadInt32
();
if
((
flag
&
(
int
)
Query
.
Link
)
!=
0
)
{
Link
=
packet
.
ReadInt32
();
Link
Count
=
packet
.
ReadInt32
();
LinkMarker
=
packet
.
ReadInt32
();
}
}
public
bool
HasLinkMarker
(
int
dir
)
{
return
((
LinkMarker
&
dir
)
!=
0
);
}
public
bool
HasLinkMarker
(
LinkMarker
dir
)
{
return
((
LinkMarker
&
(
int
)
dir
)
!=
0
);
}
public
bool
HasType
(
CardType
type
)
{
return
((
Type
&
(
int
)
type
)
!=
0
);
...
...
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