Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
I
ImgGen
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
MyCard
ImgGen
Commits
a337dd5e
Commit
a337dd5e
authored
Feb 25, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update enum
parent
e872aa6e
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
160 additions
and
218 deletions
+160
-218
Attribute.cs
Attribute.cs
+8
-7
Data.cs
Data.cs
+8
-3
DataManager.cs
DataManager.cs
+102
-172
Race.cs
Race.cs
+21
-18
Type.cs
Type.cs
+21
-18
No files found.
Attribute.cs
View file @
a337dd5e
...
@@ -2,15 +2,16 @@
...
@@ -2,15 +2,16 @@
{
{
using
System
;
using
System
;
public
enum
Attribute
[
Flags
]
public
enum
Attribute
:
int
{
{
ATTRIBUTE_
DARK
=
0x20
,
ATTRIBUTE_
EARTH
=
0x01
,
ATTRIBUTE_
DEVINE
=
0x40
,
ATTRIBUTE_
WATER
=
0x02
,
ATTRIBUTE_
EARTH
=
1
,
ATTRIBUTE_
FIRE
=
0x04
,
ATTRIBUTE_
FIRE
=
4
,
ATTRIBUTE_
WIND
=
0x08
,
ATTRIBUTE_LIGHT
=
0x10
,
ATTRIBUTE_LIGHT
=
0x10
,
ATTRIBUTE_
WATER
=
2
,
ATTRIBUTE_
DARK
=
0x20
,
ATTRIBUTE_
WIND
=
8
ATTRIBUTE_
DEVINE
=
0x40
}
}
}
}
Data.cs
View file @
a337dd5e
...
@@ -9,12 +9,17 @@
...
@@ -9,12 +9,17 @@
public
int
code
;
public
int
code
;
public
int
alias
;
public
int
alias
;
public
int
setcode
;
public
int
setcode
;
public
int
type
;
public
Type
type
;
public
int
level
;
public
int
level
;
public
int
attribute
;
public
Attribute
attribute
;
public
int
race
;
public
Race
race
;
public
int
attack
;
public
int
attack
;
public
int
defence
;
public
int
defence
;
public
bool
isType
(
Type
typ
)
{
return
(
type
&
typ
)
==
typ
;
}
}
}
}
}
DataManager.cs
View file @
a337dd5e
This diff is collapsed.
Click to expand it.
Race.cs
View file @
a337dd5e
...
@@ -2,31 +2,34 @@
...
@@ -2,31 +2,34 @@
{
{
using
System
;
using
System
;
public
enum
Race
[
Flags
]
public
enum
Race
:
int
{
{
RACE_WARRIOR
=
0x1
,
RACE_SPELLCASTER
=
0x2
,
RACE_FAIRY
=
0x4
,
RACE_FIEND
=
0x8
,
RACE_ZOMBIE
=
0x10
,
RACE_MACHINE
=
0x20
,
RACE_AQUA
=
0x40
,
RACE_AQUA
=
0x40
,
RACE_PYRO
=
0x80
,
RACE_ROCK
=
0x100
,
RACE_WINDBEAST
=
0x200
,
RACE_PLANT
=
0x400
,
RACE_INSECT
=
0x800
,
RACE_THUNDER
=
0x1000
,
RACE_DRAGON
=
0x2000
,
RACE_BEAST
=
0x4000
,
RACE_BEAST
=
0x4000
,
RACE_BEASTWARRIOR
=
0x8000
,
RACE_BEASTWARRIOR
=
0x8000
,
RACE_DEVINE
=
0x200000
,
RACE_DINOSAUR
=
0x10000
,
RACE_DINOSAUR
=
0x10000
,
RACE_DRAGON
=
0x2000
,
RACE_FAIRY
=
4
,
RACE_FIEND
=
8
,
RACE_FISH
=
0x20000
,
RACE_FISH
=
0x20000
,
RACE_INSECT
=
0x800
,
RACE_MACHINE
=
0x20
,
RACE_PLANT
=
0x400
,
RACE_PSYCHO
=
0x100000
,
RACE_PYRO
=
0x80
,
RACE_REPTILE
=
0x80000
,
RACE_ROCK
=
0x100
,
RACE_SEASERPENT
=
0x40000
,
RACE_SEASERPENT
=
0x40000
,
RACE_
SPELLCASTER
=
2
,
RACE_
REPTILE
=
0x80000
,
RACE_
THUNDER
=
0x1
000
,
RACE_
PSYCHO
=
0x100
000
,
RACE_
WARRIOR
=
1
,
RACE_
DEVINE
=
0x200000
,
RACE_
WINDBEAST
=
0x2
00
,
RACE_
CREATORGOD
=
0x4000
00
,
RACE_
ZOMBIE
=
0x1
0
,
RACE_
WYRM
=
0x80000
0
,
RACE_
WYRM
=
0x8
00000
RACE_
CYBERS
=
0x10
00000
}
}
}
}
Type.cs
View file @
a337dd5e
...
@@ -2,31 +2,34 @@
...
@@ -2,31 +2,34 @@
{
{
using
System
;
using
System
;
public
enum
Type
[
Flags
]
public
enum
Type
:
int
{
{
TYPE_CONTINUOUS
=
0x20000
,
TYPE_MONSTER
=
0x1
,
TYPE_COUNTER
=
0x100000
,
TYPE_SPELL
=
0x2
,
TYPE_DUAL
=
0x800
,
TYPE_TRAP
=
0x4
,
TYPE_NORMAL
=
0x10
,
TYPE_EFFECT
=
0x20
,
TYPE_EFFECT
=
0x20
,
TYPE_EQUIP
=
0x40000
,
TYPE_XYZ
=
0x800000
,
TYPE_FIELD
=
0x80000
,
TYPE_FLIP
=
0x200000
,
TYPE_FUSION
=
0x40
,
TYPE_FUSION
=
0x40
,
TYPE_MONSTER
=
1
,
TYPE_NORMAL
=
0x10
,
TYPE_QUICKPLAY
=
0x10000
,
TYPE_RITUAL
=
0x80
,
TYPE_RITUAL
=
0x80
,
TYPE_
SPELL
=
2
,
TYPE_
TRAPMONSTER
=
0x100
,
TYPE_SPIRIT
=
0x200
,
TYPE_SPIRIT
=
0x200
,
TYPE_SYNCRO
=
0x2000
,
TYPE_UNION
=
0x400
,
TYPE_DUAL
=
0x800
,
TYPE_TUNER
=
0x1000
,
TYPE_SYNCHRO
=
0x2000
,
TYPE_TOKEN
=
0x4000
,
TYPE_TOKEN
=
0x4000
,
TYPE_QUICKPLAY
=
0x10000
,
TYPE_CONTINUOUS
=
0x20000
,
TYPE_EQUIP
=
0x40000
,
TYPE_FIELD
=
0x80000
,
TYPE_COUNTER
=
0x100000
,
TYPE_FLIP
=
0x200000
,
TYPE_TOON
=
0x400000
,
TYPE_TOON
=
0x400000
,
TYPE_TRAP
=
4
,
TYPE_XYZ
=
0x800000
,
TYPE_TRAPMONSTER
=
0x100
,
TYPE_PENDULUM
=
0x1000000
,
TYPE_TUNER
=
0x1000
,
TYPE_SPSUMMON
=
0x2000000
,
TYPE_UNION
=
0x400
,
TYPE_LINK
=
0x4000000
TYPE_PENDULUM
=
0x1000000
}
}
}
}
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