-
Notifications
You must be signed in to change notification settings - Fork 1
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
d1db3a6
commit b28acba
Showing
4 changed files
with
21 additions
and
27 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
24 changes: 5 additions & 19 deletions
24
src/main/java/com/github/angeschossen/pluginframework/api/player/PlayerData.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 |
---|---|---|
@@ -1,25 +1,11 @@ | ||
package com.github.angeschossen.pluginframework.api.player; | ||
|
||
import com.github.angeschossen.pluginframework.api.configuration.gui.GUIConfiguration; | ||
import com.github.angeschossen.pluginframework.api.configuration.messages.Messages; | ||
import org.bukkit.command.CommandSender; | ||
import org.bukkit.entity.Player; | ||
import org.jetbrains.annotations.NotNull; | ||
import org.jetbrains.annotations.Nullable; | ||
|
||
import java.util.Locale; | ||
import java.util.UUID; | ||
public interface PlayerData extends PlayerDataBase { | ||
@NotNull CommandSender getCommandSender(); | ||
|
||
public interface PlayerData { | ||
|
||
Object sendMessage(String msg, String[] p, String[] v); | ||
|
||
@NotNull | ||
Messages getMessages(); | ||
|
||
UUID getUUID(); | ||
|
||
GUIConfiguration getGUILocale(); | ||
|
||
GUIConfiguration getBedrockGUILocale(); | ||
|
||
@NotNull Locale getLocale(); | ||
Player getPlayer(); | ||
} |
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