Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
5ea5ea23
Commit
5ea5ea23
authored
Apr 23, 2022
by
Yazawazi
Committed by
GitHub
Apr 23, 2022
Browse files
OpenCond for unlocking judgment
parent
b11009f7
Changes
2
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/data/common/OpenCondData.java
0 → 100644
View file @
5ea5ea23
package
emu.grasscutter.data.common
;
import
java.util.List
;
public
class
OpenCondData
{
private
String
CondType
;
private
List
<
Integer
>
ParamList
;
public
String
getCondType
()
{
return
CondType
;
}
public
void
setCondType
(
String
condType
)
{
CondType
=
condType
;
}
public
List
<
Integer
>
getParamList
()
{
return
ParamList
;
}
public
void
setParamList
(
List
<
Integer
>
paramList
)
{
ParamList
=
paramList
;
}
}
src/main/java/emu/grasscutter/data/def/FetterData.java
View file @
5ea5ea23
package
emu.grasscutter.data.def
;
package
emu.grasscutter.data.def
;
import
java.util.List
;
import
emu.grasscutter.data.GenshinResource
;
import
emu.grasscutter.data.GenshinResource
;
import
emu.grasscutter.data.ResourceType
;
import
emu.grasscutter.data.ResourceType
;
import
emu.grasscutter.data.ResourceType.LoadPriority
;
import
emu.grasscutter.data.ResourceType.LoadPriority
;
import
emu.grasscutter.data.common.OpenCondData
;
@ResourceType
(
name
=
{
"FetterInfoExcelConfigData.json"
,
"FettersExcelConfigData.json"
,
"FetterStoryExcelConfigData.json"
},
loadPriority
=
LoadPriority
.
HIGHEST
)
@ResourceType
(
name
=
{
"FetterInfoExcelConfigData.json"
,
"FettersExcelConfigData.json"
,
"FetterStoryExcelConfigData.json"
},
loadPriority
=
LoadPriority
.
HIGHEST
)
public
class
FetterData
extends
GenshinResource
{
public
class
FetterData
extends
GenshinResource
{
private
int
AvatarId
;
private
int
AvatarId
;
private
int
FetterId
;
private
int
FetterId
;
private
List
<
OpenCondData
>
OpenCond
;
@Override
@Override
public
int
getId
()
{
public
int
getId
()
{
...
@@ -18,6 +22,10 @@ public class FetterData extends GenshinResource {
...
@@ -18,6 +22,10 @@ public class FetterData extends GenshinResource {
return
AvatarId
;
return
AvatarId
;
}
}
public
List
<
OpenCondData
>
getOpenConds
()
{
return
OpenCond
;
}
@Override
@Override
public
void
onLoad
()
{
public
void
onLoad
()
{
}
}
...
...
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