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
4df068bb
Commit
4df068bb
authored
Jun 22, 2022
by
14eyes
Committed by
GitHub
Jun 22, 2022
Browse files
Add missing lua constants (#1342)
* Add missing script constants * Fix formating
parent
c76f0c0e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/scripts/constants/EventType.java
View file @
4df068bb
...
@@ -82,4 +82,46 @@ public class EventType {
...
@@ -82,4 +82,46 @@ public class EventType {
public
static
final
int
EVENT_SET_GAME_TIME
=
75
;
public
static
final
int
EVENT_SET_GAME_TIME
=
75
;
public
static
final
int
EVENT_HIDE_AND_SEEK_PLAYER_QUIT
=
76
;
public
static
final
int
EVENT_HIDE_AND_SEEK_PLAYER_QUIT
=
76
;
public
static
final
int
EVENT_AVATAR_DIE
=
77
;
public
static
final
int
EVENT_AVATAR_DIE
=
77
;
public
static
final
int
EVENT_SCENE_MULTISTAGE_PLAY_STAGE_START
=
78
;
public
static
final
int
EVENT_GALLERY_PROGRESS_PASS
=
79
;
public
static
final
int
EVENT_GALLERY_PROGRESS_EMPTY
=
80
;
public
static
final
int
EVENT_GALLERY_PROGRESS_FULL
=
81
;
public
static
final
int
EVENT_HUNTING_FINISH_FINAL
=
82
;
public
static
final
int
EVENT_USE_WIDGET_TOY_FOX_CAMERA
=
83
;
public
static
final
int
EVENT_LUNA_RITE_SACRIFICE
=
84
;
public
static
final
int
EVENT_SUMO_SWITCH_TEAM_EVENT
=
85
;
public
static
final
int
EVENT_FISHING_START
=
86
;
public
static
final
int
EVENT_FISHING_STOP
=
87
;
public
static
final
int
EVENT_FISHING_QTE_FINISH
=
88
;
public
static
final
int
EVENT_FISHING_TIMEOUT_FLEE
=
89
;
public
static
final
int
EVENT_ROGUE_CELL_STATE_CHANGE
=
90
;
public
static
final
int
EVENT_ROGUE_CELL_CONSTRUCT
=
91
;
public
static
final
int
EVENT_ROGUE_CELL_FINISH_SELECT_CARD
=
92
;
public
static
final
int
EVENT_ANY_MONSTER_CAPTURE
=
93
;
public
static
final
int
EVENT_ACTIVITY_INTERACT_GADGET
=
94
;
public
static
final
int
EVENT_CHALLENGE_PAUSE
=
95
;
public
static
final
int
EVENT_LEVEL_TAG_CHANGE
=
96
;
public
static
final
int
EVENT_CUSTOM_DUNGEON_START
=
97
;
public
static
final
int
EVENT_CUSTOM_DUNGEON_RESTART
=
98
;
public
static
final
int
EVENT_CUSTOM_DUNGEON_REACTIVE
=
99
;
public
static
final
int
EVENT_CUSTOM_DUNGEON_OUT_STUCK
=
100
;
public
static
final
int
EVENT_CUSTOM_DUNGEON_EXIT_TRY
=
101
;
public
static
final
int
EVENT_CUSTOM_DUNGEON_OFFICIAL_RESTART
=
102
;
public
static
final
int
EVENT_ANY_MONSTER_CAPTURE_AND_DISAPPEAR
=
103
;
public
static
final
int
EVENT_MICHIAE_INTERACT
=
104
;
public
static
final
int
EVENT_SELECT_UIINTERACT
=
105
;
public
static
final
int
EVENT_LUA_NOTIFY
=
106
;
public
static
final
int
EVENT_PHOTO_FINISH
=
107
;
public
static
final
int
EVENT_IRODORI_MASTER_READY
=
108
;
public
static
final
int
EVENT_ROGUE_START_FIGHT
=
109
;
public
static
final
int
EVENT_ROGUE_CREAGE_FIGHT_GADGET
=
110
;
public
static
final
int
EVENT_ROGUE_CREAGE_REPAIR_GADGET
=
111
;
public
static
final
int
EVENT_ROGUE_OPEN_ACCESS
=
112
;
public
static
final
int
EVENT_GADGET_GIVING_FINISHED
=
113
;
public
static
final
int
EVENT_OBSERVATION_POINT_NOTIFY
=
114
;
public
static
final
int
EVENT_GADGET_GIVING_TAKEBACK
=
115
;
public
static
final
int
EVENT_ECHO_SHELL_INTERACT
=
116
;
public
static
final
int
EVENT_PLATFORM_ARRIVAL
=
2701
;
public
static
final
int
EVENT_PLAYER_BACK_GALLERY_REVIVE_POINT
=
2800
;
public
static
final
int
EVENT_GALLERY_CANNOT_START_AFTER_COUNTDOWN
=
2801
;
}
}
src/main/java/emu/grasscutter/scripts/constants/ScriptRegionShape.java
View file @
4df068bb
...
@@ -4,4 +4,6 @@ public class ScriptRegionShape {
...
@@ -4,4 +4,6 @@ public class ScriptRegionShape {
public
static
final
int
NONE
=
0
;
public
static
final
int
NONE
=
0
;
public
static
final
int
SPHERE
=
1
;
public
static
final
int
SPHERE
=
1
;
public
static
final
int
CUBIC
=
2
;
public
static
final
int
CUBIC
=
2
;
public
static
final
int
CYLINDER
=
3
;
public
static
final
int
POLYGON
=
4
;
}
}
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