-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add new service events and restructure files
- Loading branch information
1 parent
061ed30
commit 82ec884
Showing
15 changed files
with
115 additions
and
36 deletions.
There are no files selected for viewing
16 changes: 0 additions & 16 deletions
16
src/main/java/minevalley/core/api/users/events/UserEnterFractionServiceEvent.java
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
src/main/java/minevalley/core/api/users/events/UserLeaveFractionServiceEvent.java
This file was deleted.
Oops, something went wrong.
3 changes: 2 additions & 1 deletion
3
...i/users/events/UserImprisonmentEvent.java → .../events/prison/UserImprisonmentEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
.../users/events/UserPrisonReleaseEvent.java → ...events/prison/UserPrisonReleaseEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...ore/api/users/events/UserFreezeEvent.java → ...rs/events/punishment/UserFreezeEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...e/api/users/events/UserUnfreezeEvent.java → .../events/punishment/UserUnfreezeEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...va/minevalley/core/api/users/events/services/fractions/UserEnterFractionServiceEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package minevalley.core.api.users.events.services.fractions; | ||
|
||
import lombok.Getter; | ||
import minevalley.core.api.users.User; | ||
import minevalley.core.api.users.enums.FractionService; | ||
|
||
@Getter | ||
public class UserEnterFractionServiceEvent extends UserUpdateFractionServiceEvent { | ||
|
||
public UserEnterFractionServiceEvent(User user, FractionService fractionService) { | ||
super(user, fractionService); | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...va/minevalley/core/api/users/events/services/fractions/UserLeaveFractionServiceEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package minevalley.core.api.users.events.services.fractions; | ||
|
||
import lombok.Getter; | ||
import minevalley.core.api.users.User; | ||
import minevalley.core.api.users.enums.FractionService; | ||
|
||
@Getter | ||
public class UserLeaveFractionServiceEvent extends UserUpdateFractionServiceEvent { | ||
|
||
public UserLeaveFractionServiceEvent(User user, FractionService fractionService) { | ||
super(user, fractionService); | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...a/minevalley/core/api/users/events/services/fractions/UserUpdateFractionServiceEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package minevalley.core.api.users.events.services.fractions; | ||
|
||
import lombok.Getter; | ||
import minevalley.core.api.users.User; | ||
import minevalley.core.api.users.enums.FractionService; | ||
import minevalley.core.api.users.events.UserEvent; | ||
|
||
@Getter | ||
public abstract class UserUpdateFractionServiceEvent extends UserEvent { | ||
|
||
private final FractionService fractionService; | ||
|
||
public UserUpdateFractionServiceEvent(User user, FractionService fractionService) { | ||
super(user); | ||
this.fractionService = fractionService; | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
.../java/minevalley/core/api/users/events/services/support/UserEnterSupportServiceEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package minevalley.core.api.users.events.services.support; | ||
|
||
import minevalley.core.api.users.User; | ||
import minevalley.core.api.users.events.services.team.UserUpdateTeamServiceEvent; | ||
|
||
public class UserEnterSupportServiceEvent extends UserUpdateTeamServiceEvent { | ||
|
||
public UserEnterSupportServiceEvent(User user) { | ||
super(user); | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
.../java/minevalley/core/api/users/events/services/support/UserLeaveSupportServiceEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package minevalley.core.api.users.events.services.support; | ||
|
||
import minevalley.core.api.users.User; | ||
import minevalley.core.api.users.events.services.team.UserUpdateTeamServiceEvent; | ||
|
||
public class UserLeaveSupportServiceEvent extends UserUpdateTeamServiceEvent { | ||
|
||
public UserLeaveSupportServiceEvent(User user) { | ||
super(user); | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...java/minevalley/core/api/users/events/services/support/UserUpdateSupportServiceEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package minevalley.core.api.users.events.services.support; | ||
|
||
import minevalley.core.api.users.User; | ||
import minevalley.core.api.users.events.UserEvent; | ||
|
||
public abstract class UserUpdateSupportServiceEvent extends UserEvent { | ||
|
||
public UserUpdateSupportServiceEvent(User user) { | ||
super(user); | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
src/main/java/minevalley/core/api/users/events/services/team/UserEnterTeamServiceEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package minevalley.core.api.users.events.services.team; | ||
|
||
import minevalley.core.api.users.User; | ||
|
||
public class UserEnterTeamServiceEvent extends UserUpdateTeamServiceEvent { | ||
|
||
public UserEnterTeamServiceEvent(User user) { | ||
super(user); | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
src/main/java/minevalley/core/api/users/events/services/team/UserLeaveTeamServiceEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package minevalley.core.api.users.events.services.team; | ||
|
||
import minevalley.core.api.users.User; | ||
|
||
public class UserLeaveTeamServiceEvent extends UserUpdateTeamServiceEvent { | ||
|
||
public UserLeaveTeamServiceEvent(User user) { | ||
super(user); | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
src/main/java/minevalley/core/api/users/events/services/team/UserUpdateTeamServiceEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package minevalley.core.api.users.events.services.team; | ||
|
||
import minevalley.core.api.users.User; | ||
import minevalley.core.api.users.events.UserEvent; | ||
|
||
public abstract class UserUpdateTeamServiceEvent extends UserEvent { | ||
|
||
public UserUpdateTeamServiceEvent(User user) { | ||
super(user); | ||
} | ||
} |