mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 06:28:54 +00:00
Whispers, part 1
This commit is contained in:
1 parent
bb68ba0923
commit
4693c0d55a
5 files changed
+85
-1
No files matched your search
@@ -3,7 +3,6 @@ package net.draycia.carbon.api.users;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.UUID;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
import net.draycia.carbon.api.channels.ChatChannel;
|
||||
import net.kyori.adventure.audience.Audience;
|
||||
import net.kyori.adventure.identity.Identified;
|
||||
@@ -191,4 +190,20 @@ public interface CarbonPlayer extends Audience, Identified {
|
||||
*/
|
||||
boolean online();
|
||||
|
||||
/**
|
||||
* The UUID of the player that replies will be sent to.
|
||||
*
|
||||
* @return the player's reply target
|
||||
* @since 2.0.0
|
||||
*/
|
||||
@Nullable UUID whisperReplyTarget();
|
||||
|
||||
/**
|
||||
* Sets the whisper reply target for this player.
|
||||
*
|
||||
* @param uuid the uuid of the reply target
|
||||
* @since 2.0.0
|
||||
*/
|
||||
void whisperReplyTarget(final @Nullable UUID uuid);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user