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
6d59159b
Commit
6d59159b
authored
Jun 16, 2022
by
Melledy
Browse files
Cleanup package names
parent
ac49114c
Changes
24
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/Grasscutter.java
View file @
6d59159b
...
@@ -6,8 +6,8 @@ import java.util.Calendar;
...
@@ -6,8 +6,8 @@ import java.util.Calendar;
import
emu.grasscutter.auth.AuthenticationSystem
;
import
emu.grasscutter.auth.AuthenticationSystem
;
import
emu.grasscutter.auth.DefaultAuthentication
;
import
emu.grasscutter.auth.DefaultAuthentication
;
import
emu.grasscutter.command.CommandMap
;
import
emu.grasscutter.command.CommandMap
;
import
emu.grasscutter.game.managers.
E
nergy
Manager
.EnergyManager
;
import
emu.grasscutter.game.managers.
e
nergy.EnergyManager
;
import
emu.grasscutter.game.managers.
S
tamina
Manager
.StaminaManager
;
import
emu.grasscutter.game.managers.
s
tamina.StaminaManager
;
import
emu.grasscutter.plugin.PluginManager
;
import
emu.grasscutter.plugin.PluginManager
;
import
emu.grasscutter.plugin.api.ServerHook
;
import
emu.grasscutter.plugin.api.ServerHook
;
import
emu.grasscutter.scripts.ScriptLoader
;
import
emu.grasscutter.scripts.ScriptLoader
;
...
...
src/main/java/emu/grasscutter/command/commands/UnlimitEnergyCommand.java
View file @
6d59159b
...
@@ -5,7 +5,7 @@ import emu.grasscutter.command.Command;
...
@@ -5,7 +5,7 @@ import emu.grasscutter.command.Command;
import
emu.grasscutter.command.CommandHandler
;
import
emu.grasscutter.command.CommandHandler
;
import
emu.grasscutter.game.avatar.Avatar
;
import
emu.grasscutter.game.avatar.Avatar
;
import
emu.grasscutter.game.entity.EntityAvatar
;
import
emu.grasscutter.game.entity.EntityAvatar
;
import
emu.grasscutter.game.managers.
E
nergy
Manager
.EnergyManager
;
import
emu.grasscutter.game.managers.
e
nergy.EnergyManager
;
import
emu.grasscutter.game.player.Player
;
import
emu.grasscutter.game.player.Player
;
import
emu.grasscutter.game.player.TeamManager
;
import
emu.grasscutter.game.player.TeamManager
;
import
emu.grasscutter.game.props.ElementType
;
import
emu.grasscutter.game.props.ElementType
;
...
...
src/main/java/emu/grasscutter/game/managers/
C
hat
Manager
/ChatManager.java
→
src/main/java/emu/grasscutter/game/managers/
c
hat/ChatManager.java
View file @
6d59159b
package
emu.grasscutter.game.managers.
C
hat
Manager
;
package
emu.grasscutter.game.managers.
c
hat
;
import
emu.grasscutter.command.CommandMap
;
import
emu.grasscutter.command.CommandMap
;
import
emu.grasscutter.game.player.Player
;
import
emu.grasscutter.game.player.Player
;
...
...
src/main/java/emu/grasscutter/game/managers/
C
hat
Manager
/ChatManagerHandler.java
→
src/main/java/emu/grasscutter/game/managers/
c
hat/ChatManagerHandler.java
View file @
6d59159b
package
emu.grasscutter.game.managers.
C
hat
Manager
;
package
emu.grasscutter.game.managers.
c
hat
;
import
emu.grasscutter.game.player.Player
;
import
emu.grasscutter.game.player.Player
;
import
emu.grasscutter.server.game.GameServer
;
import
emu.grasscutter.server.game.GameServer
;
...
...
src/main/java/emu/grasscutter/game/managers/
D
eforestation
Manager
/DeforestationManager.java
→
src/main/java/emu/grasscutter/game/managers/
d
eforestation/DeforestationManager.java
View file @
6d59159b
package
emu.grasscutter.game.managers.
D
eforestation
Manager
;
package
emu.grasscutter.game.managers.
d
eforestation
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.HashMap
;
...
...
src/main/java/emu/grasscutter/game/managers/
D
eforestation
Manager
/HitTreeRecord.java
→
src/main/java/emu/grasscutter/game/managers/
d
eforestation/HitTreeRecord.java
View file @
6d59159b
package
emu.grasscutter.game.managers.
D
eforestation
Manager
;
package
emu.grasscutter.game.managers.
d
eforestation
;
...
...
src/main/java/emu/grasscutter/game/managers/
E
nergy
Manager
/EnergyDropEntry.java
→
src/main/java/emu/grasscutter/game/managers/
e
nergy/EnergyDropEntry.java
View file @
6d59159b
package
emu.grasscutter.game.managers.
E
nergy
Manager
;
package
emu.grasscutter.game.managers.
e
nergy
;
import
java.util.List
;
import
java.util.List
;
...
...
src/main/java/emu/grasscutter/game/managers/
E
nergy
Manager
/EnergyDropInfo.java
→
src/main/java/emu/grasscutter/game/managers/
e
nergy/EnergyDropInfo.java
View file @
6d59159b
package
emu.grasscutter.game.managers.
E
nergy
Manager
;
package
emu.grasscutter.game.managers.
e
nergy
;
public
class
EnergyDropInfo
{
public
class
EnergyDropInfo
{
private
int
ballId
;
private
int
ballId
;
...
...
src/main/java/emu/grasscutter/game/managers/
E
nergy
Manager
/EnergyManager.java
→
src/main/java/emu/grasscutter/game/managers/
e
nergy/EnergyManager.java
View file @
6d59159b
package
emu.grasscutter.game.managers.
E
nergy
Manager
;
package
emu.grasscutter.game.managers.
e
nergy
;
import
emu.grasscutter.Grasscutter
;
import
emu.grasscutter.Grasscutter
;
import
emu.grasscutter.data.DataLoader
;
import
emu.grasscutter.data.DataLoader
;
...
...
src/main/java/emu/grasscutter/game/managers/
E
nergy
Manager
/SkillParticleGenerationEntry.java
→
src/main/java/emu/grasscutter/game/managers/
e
nergy/SkillParticleGenerationEntry.java
View file @
6d59159b
package
emu.grasscutter.game.managers.
E
nergy
Manager
;
package
emu.grasscutter.game.managers.
e
nergy
;
import
java.util.List
;
import
java.util.List
;
...
...
src/main/java/emu/grasscutter/game/managers/
E
nergy
Manager
/SkillParticleGenerationInfo.java
→
src/main/java/emu/grasscutter/game/managers/
e
nergy/SkillParticleGenerationInfo.java
View file @
6d59159b
package
emu.grasscutter.game.managers.
E
nergy
Manager
;
package
emu.grasscutter.game.managers.
e
nergy
;
public
class
SkillParticleGenerationInfo
{
public
class
SkillParticleGenerationInfo
{
private
int
value
;
private
int
value
;
...
...
src/main/java/emu/grasscutter/game/managers/
F
orging
Manager
/ActiveForgeData.java
→
src/main/java/emu/grasscutter/game/managers/
f
orging/ActiveForgeData.java
View file @
6d59159b
package
emu.grasscutter.game.managers.
F
orging
Manager
;
package
emu.grasscutter.game.managers.
f
orging
;
import
dev.morphia.annotations.Entity
;
import
dev.morphia.annotations.Entity
;
import
emu.grasscutter.utils.Utils
;
import
emu.grasscutter.utils.Utils
;
...
...
src/main/java/emu/grasscutter/game/managers/
F
orging
Manager
/ForgingManager.java
→
src/main/java/emu/grasscutter/game/managers/
f
orging/ForgingManager.java
View file @
6d59159b
package
emu.grasscutter.game.managers.
F
orging
Manager
;
package
emu.grasscutter.game.managers.
f
orging
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.HashMap
;
...
...
src/main/java/emu/grasscutter/game/managers/
M
ap
M
ark
Manager
/MapMark.java
→
src/main/java/emu/grasscutter/game/managers/
m
ap
m
ark/MapMark.java
View file @
6d59159b
package
emu.grasscutter.game.managers.
M
ap
M
ark
Manager
;
package
emu.grasscutter.game.managers.
m
ap
m
ark
;
import
dev.morphia.annotations.Entity
;
import
dev.morphia.annotations.Entity
;
import
emu.grasscutter.net.proto.MapMarkFromTypeOuterClass.MapMarkFromType
;
import
emu.grasscutter.net.proto.MapMarkFromTypeOuterClass.MapMarkFromType
;
...
...
src/main/java/emu/grasscutter/game/managers/
M
ap
M
ark
Manager
/MapMarksManager.java
→
src/main/java/emu/grasscutter/game/managers/
m
ap
m
ark/MapMarksManager.java
View file @
6d59159b
package
emu.grasscutter.game.managers.
M
ap
M
ark
Manager
;
package
emu.grasscutter.game.managers.
m
ap
m
ark
;
import
emu.grasscutter.game.player.Player
;
import
emu.grasscutter.game.player.Player
;
import
emu.grasscutter.net.proto.MapMarkPointTypeOuterClass.MapMarkPointType
;
import
emu.grasscutter.net.proto.MapMarkPointTypeOuterClass.MapMarkPointType
;
...
...
src/main/java/emu/grasscutter/game/managers/
S
tamina
Manager
/AfterUpdateStaminaListener.java
→
src/main/java/emu/grasscutter/game/managers/
s
tamina/AfterUpdateStaminaListener.java
View file @
6d59159b
package
emu.grasscutter.game.managers.
S
tamina
Manager
;
package
emu.grasscutter.game.managers.
s
tamina
;
public
interface
AfterUpdateStaminaListener
{
public
interface
AfterUpdateStaminaListener
{
/**
/**
...
...
src/main/java/emu/grasscutter/game/managers/
S
tamina
Manager
/BeforeUpdateStaminaListener.java
→
src/main/java/emu/grasscutter/game/managers/
s
tamina/BeforeUpdateStaminaListener.java
View file @
6d59159b
package
emu.grasscutter.game.managers.
S
tamina
Manager
;
package
emu.grasscutter.game.managers.
s
tamina
;
public
interface
BeforeUpdateStaminaListener
{
public
interface
BeforeUpdateStaminaListener
{
/**
/**
...
...
src/main/java/emu/grasscutter/game/managers/
S
tamina
Manager
/Consumption.java
→
src/main/java/emu/grasscutter/game/managers/
s
tamina/Consumption.java
View file @
6d59159b
package
emu.grasscutter.game.managers.
S
tamina
Manager
;
package
emu.grasscutter.game.managers.
s
tamina
;
public
class
Consumption
{
public
class
Consumption
{
public
ConsumptionType
type
=
ConsumptionType
.
None
;
public
ConsumptionType
type
=
ConsumptionType
.
None
;
...
...
src/main/java/emu/grasscutter/game/managers/
S
tamina
Manager
/ConsumptionType.java
→
src/main/java/emu/grasscutter/game/managers/
s
tamina/ConsumptionType.java
View file @
6d59159b
package
emu.grasscutter.game.managers.
S
tamina
Manager
;
package
emu.grasscutter.game.managers.
s
tamina
;
public
enum
ConsumptionType
{
public
enum
ConsumptionType
{
None
(
0
),
None
(
0
),
...
...
src/main/java/emu/grasscutter/game/managers/
S
tamina
Manager
/README.md
→
src/main/java/emu/grasscutter/game/managers/
s
tamina/README.md
View file @
6d59159b
Prev
1
2
Next
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