-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
578992d
commit 21813c8
Showing
40 changed files
with
234 additions
and
327 deletions.
There are no files selected for viewing
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
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
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
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
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ makeevrserg.java.ktarget=17 | |
# Project | ||
makeevrserg.project.name=AstraRating | ||
makeevrserg.project.group=com.astrainteractive.astrarating | ||
makeevrserg.project.version.string=1.7.7 | ||
makeevrserg.project.version.string=1.8.0-RC1 | ||
makeevrserg.project.description=Rating plugin for EmpireProjekt | ||
makeevrserg.project.developers=makeevrserg|Makeev Roman|[email protected] | ||
makeevrserg.project.url=https://empireprojekt.ru | ||
|
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
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
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
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
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
27 changes: 23 additions & 4 deletions
27
spigot/src/main/kotlin/com/astrainteractive/astrarating/commands/di/CommandsModule.kt
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 |
---|---|---|
@@ -1,7 +1,26 @@ | ||
package com.astrainteractive.astrarating.commands.di | ||
|
||
import com.astrainteractive.astrarating.commands.rating.di.RatingCommandControllerModule | ||
import com.astrainteractive.astrarating.commands.rating.di.RatingCommandModule | ||
import ru.astrainteractive.astralibs.Module | ||
import com.astrainteractive.astrarating.AstraRating | ||
import com.astrainteractive.astrarating.commands.rating.RatingCommandController | ||
import com.astrainteractive.astrarating.domain.api.RatingDBApi | ||
import com.astrainteractive.astrarating.domain.usecases.InsertUserUseCase | ||
import com.astrainteractive.astrarating.gui.ratings.RatingsGUI | ||
import com.astrainteractive.astrarating.plugin.EmpireConfig | ||
import com.astrainteractive.astrarating.plugin.PluginTranslation | ||
import kotlinx.coroutines.CoroutineScope | ||
import org.bukkit.entity.Player | ||
import ru.astrainteractive.astralibs.async.BukkitDispatchers | ||
import ru.astrainteractive.klibs.kdi.Factory | ||
import ru.astrainteractive.klibs.kdi.Module | ||
|
||
interface CommandsModule : Module, RatingCommandModule, RatingCommandControllerModule | ||
interface CommandsModule : Module { | ||
val plugin: AstraRating | ||
val dispatchers: BukkitDispatchers | ||
val scope: CoroutineScope | ||
val translation: PluginTranslation | ||
val config: EmpireConfig | ||
val dbApi: RatingDBApi | ||
val insertUseCase: InsertUserUseCase | ||
val ratingCommandController: RatingCommandController | ||
fun ratingsGUIFactory(player: Player): Factory<RatingsGUI> | ||
} |
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
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
22 changes: 0 additions & 22 deletions
22
...tlin/com/astrainteractive/astrarating/commands/rating/di/RatingCommandControllerModule.kt
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
...rc/main/kotlin/com/astrainteractive/astrarating/commands/rating/di/RatingCommandModule.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.