mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 14:38:49 +00:00
Fix spacing
This commit is contained in:
1 parent
a8788c7d3d
commit
a47ff4e7b2
74 files changed
+5000
-4927
No files matched your search
@@ -11,45 +11,45 @@ import java.util.List;
|
||||
|
||||
public class ChannelRegisterEvent extends Event {
|
||||
|
||||
/**
|
||||
* Bukkit event stuff
|
||||
*/
|
||||
@NonNull
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
/**
|
||||
* Bukkit event stuff
|
||||
*/
|
||||
@NonNull
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public HandlerList getHandlers() {
|
||||
return handlers;
|
||||
}
|
||||
@Override
|
||||
@NonNull
|
||||
public HandlerList getHandlers() {
|
||||
return handlers;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static HandlerList getHandlerList() {
|
||||
return handlers;
|
||||
}
|
||||
@NonNull
|
||||
public static HandlerList getHandlerList() {
|
||||
return handlers;
|
||||
}
|
||||
|
||||
/**
|
||||
* Relevant stuff
|
||||
*/
|
||||
@NonNull
|
||||
private final List<@NonNull ChatChannel> registeredChannels;
|
||||
/**
|
||||
* Relevant stuff
|
||||
*/
|
||||
@NonNull
|
||||
private final List<@NonNull ChatChannel> registeredChannels;
|
||||
|
||||
@NonNull
|
||||
private final Registry<ChatChannel> registry;
|
||||
@NonNull
|
||||
private final Registry<ChatChannel> registry;
|
||||
|
||||
public ChannelRegisterEvent(@NonNull List<@NonNull ChatChannel> registeredChannels, @NonNull Registry<ChatChannel> registry) {
|
||||
super(!Bukkit.isPrimaryThread());
|
||||
public ChannelRegisterEvent(@NonNull List<@NonNull ChatChannel> registeredChannels, @NonNull Registry<ChatChannel> registry) {
|
||||
super(!Bukkit.isPrimaryThread());
|
||||
|
||||
this.registeredChannels = registeredChannels;
|
||||
this.registry = registry;
|
||||
}
|
||||
this.registeredChannels = registeredChannels;
|
||||
this.registry = registry;
|
||||
}
|
||||
|
||||
public void register(@NonNull ChatChannel chatChannel) {
|
||||
registry.register(chatChannel.getKey(), chatChannel);
|
||||
}
|
||||
public void register(@NonNull ChatChannel chatChannel) {
|
||||
registry.register(chatChannel.getKey(), chatChannel);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public List<@NonNull ChatChannel> getRegisteredChannels() {
|
||||
return registeredChannels;
|
||||
}
|
||||
@NonNull
|
||||
public List<@NonNull ChatChannel> getRegisteredChannels() {
|
||||
return registeredChannels;
|
||||
}
|
||||
}
|
||||
@@ -11,70 +11,70 @@ import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
|
||||
public class ChannelSwitchEvent extends Event implements Cancellable {
|
||||
|
||||
/**
|
||||
* Bukkit event stuff
|
||||
*/
|
||||
@NonNull
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
private boolean cancelled = false;
|
||||
/**
|
||||
* Bukkit event stuff
|
||||
*/
|
||||
@NonNull
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
private boolean cancelled = false;
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public HandlerList getHandlers() {
|
||||
return handlers;
|
||||
}
|
||||
@Override
|
||||
@NonNull
|
||||
public HandlerList getHandlers() {
|
||||
return handlers;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static HandlerList getHandlerList() {
|
||||
return handlers;
|
||||
}
|
||||
@NonNull
|
||||
public static HandlerList getHandlerList() {
|
||||
return handlers;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCancelled() {
|
||||
return cancelled;
|
||||
}
|
||||
@Override
|
||||
public boolean isCancelled() {
|
||||
return cancelled;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCancelled(boolean cancelled) {
|
||||
this.cancelled = cancelled;
|
||||
}
|
||||
@Override
|
||||
public void setCancelled(boolean cancelled) {
|
||||
this.cancelled = cancelled;
|
||||
}
|
||||
|
||||
/**
|
||||
* Relevant stuff
|
||||
*/
|
||||
@NonNull
|
||||
private final ChatChannel channel;
|
||||
/**
|
||||
* Relevant stuff
|
||||
*/
|
||||
@NonNull
|
||||
private final ChatChannel channel;
|
||||
|
||||
@NonNull
|
||||
private final ChatUser user;
|
||||
@NonNull
|
||||
private final ChatUser user;
|
||||
|
||||
@Nullable
|
||||
private String failureMessage;
|
||||
@Nullable
|
||||
private String failureMessage;
|
||||
|
||||
public ChannelSwitchEvent(@NonNull ChatChannel channel, @NonNull ChatUser user, @Nullable String failureMessage) {
|
||||
super(!Bukkit.isPrimaryThread());
|
||||
public ChannelSwitchEvent(@NonNull ChatChannel channel, @NonNull ChatUser user, @Nullable String failureMessage) {
|
||||
super(!Bukkit.isPrimaryThread());
|
||||
|
||||
this.channel = channel;
|
||||
this.user = user;
|
||||
this.failureMessage = failureMessage;
|
||||
}
|
||||
this.channel = channel;
|
||||
this.user = user;
|
||||
this.failureMessage = failureMessage;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public ChatUser getUser() {
|
||||
return user;
|
||||
}
|
||||
@NonNull
|
||||
public ChatUser getUser() {
|
||||
return user;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public ChatChannel getChannel() {
|
||||
return channel;
|
||||
}
|
||||
@NonNull
|
||||
public ChatChannel getChannel() {
|
||||
return channel;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public String getFailureMessage() {
|
||||
return failureMessage;
|
||||
}
|
||||
@Nullable
|
||||
public String getFailureMessage() {
|
||||
return failureMessage;
|
||||
}
|
||||
|
||||
public void setFailureMessage(@Nullable String failureMessage) {
|
||||
this.failureMessage = failureMessage;
|
||||
}
|
||||
public void setFailureMessage(@Nullable String failureMessage) {
|
||||
this.failureMessage = failureMessage;
|
||||
}
|
||||
}
|
||||
@@ -12,87 +12,87 @@ import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
|
||||
public class ChatComponentEvent extends Event implements Cancellable {
|
||||
|
||||
@NonNull
|
||||
private static final HandlerList HANDLERS_LIST = new HandlerList();
|
||||
private boolean isCancelled = false;
|
||||
@NonNull
|
||||
private static final HandlerList HANDLERS_LIST = new HandlerList();
|
||||
private boolean isCancelled = false;
|
||||
|
||||
@NonNull
|
||||
private final ChatUser sender;
|
||||
@NonNull
|
||||
private final ChatUser sender;
|
||||
|
||||
@Nullable
|
||||
private final ChatUser target;
|
||||
@Nullable
|
||||
private final ChatUser target;
|
||||
|
||||
@NonNull
|
||||
private ChatChannel chatChannel;
|
||||
@NonNull
|
||||
private ChatChannel chatChannel;
|
||||
|
||||
@NonNull
|
||||
private TextComponent component;
|
||||
@NonNull
|
||||
private TextComponent component;
|
||||
|
||||
@NonNull
|
||||
private final String originalMessage;
|
||||
@NonNull
|
||||
private final String originalMessage;
|
||||
|
||||
public ChatComponentEvent(@NonNull ChatUser sender, @Nullable ChatUser target, @NonNull ChatChannel chatChannel, @NonNull TextComponent component, @NonNull String originalMessage) {
|
||||
super(!Bukkit.isPrimaryThread());
|
||||
public ChatComponentEvent(@NonNull ChatUser sender, @Nullable ChatUser target, @NonNull ChatChannel chatChannel, @NonNull TextComponent component, @NonNull String originalMessage) {
|
||||
super(!Bukkit.isPrimaryThread());
|
||||
|
||||
this.sender = sender;
|
||||
this.target = target;
|
||||
this.chatChannel = chatChannel;
|
||||
this.component = component;
|
||||
this.originalMessage = originalMessage;
|
||||
}
|
||||
this.sender = sender;
|
||||
this.target = target;
|
||||
this.chatChannel = chatChannel;
|
||||
this.component = component;
|
||||
this.originalMessage = originalMessage;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCancelled() {
|
||||
return isCancelled;
|
||||
}
|
||||
@Override
|
||||
public boolean isCancelled() {
|
||||
return isCancelled;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCancelled(boolean cancelled) {
|
||||
this.isCancelled = cancelled;
|
||||
}
|
||||
@Override
|
||||
public void setCancelled(boolean cancelled) {
|
||||
this.isCancelled = cancelled;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public HandlerList getHandlers() {
|
||||
return HANDLERS_LIST;
|
||||
}
|
||||
@Override
|
||||
@NonNull
|
||||
public HandlerList getHandlers() {
|
||||
return HANDLERS_LIST;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static HandlerList getHandlerList() {
|
||||
return HANDLERS_LIST;
|
||||
}
|
||||
@NonNull
|
||||
public static HandlerList getHandlerList() {
|
||||
return HANDLERS_LIST;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public ChatUser getSender() {
|
||||
return sender;
|
||||
}
|
||||
@NonNull
|
||||
public ChatUser getSender() {
|
||||
return sender;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public ChatUser getTarget() {
|
||||
return target;
|
||||
}
|
||||
@Nullable
|
||||
public ChatUser getTarget() {
|
||||
return target;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public ChatChannel getChannel() {
|
||||
return chatChannel;
|
||||
}
|
||||
@NonNull
|
||||
public ChatChannel getChannel() {
|
||||
return chatChannel;
|
||||
}
|
||||
|
||||
public void setChannel(@NonNull ChatChannel chatChannel) {
|
||||
this.chatChannel = chatChannel;
|
||||
}
|
||||
public void setChannel(@NonNull ChatChannel chatChannel) {
|
||||
this.chatChannel = chatChannel;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public TextComponent getComponent() {
|
||||
return component;
|
||||
}
|
||||
@NonNull
|
||||
public TextComponent getComponent() {
|
||||
return component;
|
||||
}
|
||||
|
||||
public void setComponent(@NonNull TextComponent component) {
|
||||
this.component = component;
|
||||
}
|
||||
public void setComponent(@NonNull TextComponent component) {
|
||||
this.component = component;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public String getOriginalMessage() {
|
||||
return originalMessage;
|
||||
}
|
||||
@NonNull
|
||||
public String getOriginalMessage() {
|
||||
return originalMessage;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -11,91 +11,91 @@ import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
|
||||
public class ChatFormatEvent extends Event implements Cancellable {
|
||||
|
||||
@NonNull
|
||||
private static final HandlerList HANDLERS_LIST = new HandlerList();
|
||||
private boolean isCancelled = false;
|
||||
@NonNull
|
||||
private static final HandlerList HANDLERS_LIST = new HandlerList();
|
||||
private boolean isCancelled = false;
|
||||
|
||||
@NonNull
|
||||
private final ChatUser sender;
|
||||
@NonNull
|
||||
private final ChatUser sender;
|
||||
|
||||
@Nullable
|
||||
private final ChatUser target;
|
||||
@Nullable
|
||||
private final ChatUser target;
|
||||
|
||||
@NonNull
|
||||
private ChatChannel chatChannel;
|
||||
@NonNull
|
||||
private ChatChannel chatChannel;
|
||||
|
||||
@Nullable
|
||||
private String format;
|
||||
@Nullable
|
||||
private String format;
|
||||
|
||||
@NonNull
|
||||
private String message;
|
||||
@NonNull
|
||||
private String message;
|
||||
|
||||
public ChatFormatEvent(@NonNull ChatUser sender, @Nullable ChatUser target, @NonNull ChatChannel chatChannel, @Nullable String format, @NonNull String message) {
|
||||
super(!Bukkit.isPrimaryThread());
|
||||
public ChatFormatEvent(@NonNull ChatUser sender, @Nullable ChatUser target, @NonNull ChatChannel chatChannel, @Nullable String format, @NonNull String message) {
|
||||
super(!Bukkit.isPrimaryThread());
|
||||
|
||||
this.sender = sender;
|
||||
this.target = target;
|
||||
this.sender = sender;
|
||||
this.target = target;
|
||||
|
||||
this.chatChannel = chatChannel;
|
||||
this.format = format;
|
||||
this.message = message;
|
||||
}
|
||||
this.chatChannel = chatChannel;
|
||||
this.format = format;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCancelled() {
|
||||
return isCancelled;
|
||||
}
|
||||
@Override
|
||||
public boolean isCancelled() {
|
||||
return isCancelled;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCancelled(boolean cancelled) {
|
||||
this.isCancelled = cancelled;
|
||||
}
|
||||
@Override
|
||||
public void setCancelled(boolean cancelled) {
|
||||
this.isCancelled = cancelled;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public HandlerList getHandlers() {
|
||||
return HANDLERS_LIST;
|
||||
}
|
||||
@Override
|
||||
@NonNull
|
||||
public HandlerList getHandlers() {
|
||||
return HANDLERS_LIST;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static HandlerList getHandlerList() {
|
||||
return HANDLERS_LIST;
|
||||
}
|
||||
@NonNull
|
||||
public static HandlerList getHandlerList() {
|
||||
return HANDLERS_LIST;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public ChatUser getSender() {
|
||||
return sender;
|
||||
}
|
||||
@NonNull
|
||||
public ChatUser getSender() {
|
||||
return sender;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public ChatUser getTarget() {
|
||||
return target;
|
||||
}
|
||||
@Nullable
|
||||
public ChatUser getTarget() {
|
||||
return target;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public ChatChannel getChannel() {
|
||||
return chatChannel;
|
||||
}
|
||||
@NonNull
|
||||
public ChatChannel getChannel() {
|
||||
return chatChannel;
|
||||
}
|
||||
|
||||
public void setChannel(@NonNull ChatChannel chatChannel) {
|
||||
this.chatChannel = chatChannel;
|
||||
}
|
||||
public void setChannel(@NonNull ChatChannel chatChannel) {
|
||||
this.chatChannel = chatChannel;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public String getFormat() {
|
||||
return format;
|
||||
}
|
||||
@Nullable
|
||||
public String getFormat() {
|
||||
return format;
|
||||
}
|
||||
|
||||
public void setFormat(@Nullable String format) {
|
||||
this.format = format;
|
||||
}
|
||||
public void setFormat(@Nullable String format) {
|
||||
this.format = format;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
@NonNull
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public void setMessage(@NonNull String message) {
|
||||
this.message = message;
|
||||
}
|
||||
public void setMessage(@NonNull String message) {
|
||||
this.message = message;
|
||||
}
|
||||
}
|
||||
@@ -11,82 +11,82 @@ import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
|
||||
public class PreChatFormatEvent extends Event implements Cancellable {
|
||||
|
||||
@NonNull
|
||||
private static final HandlerList HANDLERS_LIST = new HandlerList();
|
||||
private boolean isCancelled = false;
|
||||
@NonNull
|
||||
private static final HandlerList HANDLERS_LIST = new HandlerList();
|
||||
private boolean isCancelled = false;
|
||||
|
||||
@NonNull
|
||||
private final ChatUser user;
|
||||
@NonNull
|
||||
private final ChatUser user;
|
||||
|
||||
@NonNull
|
||||
private ChatChannel chatChannel;
|
||||
@NonNull
|
||||
private ChatChannel chatChannel;
|
||||
|
||||
@Nullable
|
||||
private String format;
|
||||
@Nullable
|
||||
private String format;
|
||||
|
||||
@NonNull
|
||||
private String message;
|
||||
@NonNull
|
||||
private String message;
|
||||
|
||||
public PreChatFormatEvent(@NonNull ChatUser user, @NonNull ChatChannel chatChannel, @Nullable String format, @NonNull String message) {
|
||||
super(!Bukkit.isPrimaryThread());
|
||||
public PreChatFormatEvent(@NonNull ChatUser user, @NonNull ChatChannel chatChannel, @Nullable String format, @NonNull String message) {
|
||||
super(!Bukkit.isPrimaryThread());
|
||||
|
||||
this.user = user;
|
||||
this.chatChannel = chatChannel;
|
||||
this.format = format;
|
||||
this.message = message;
|
||||
}
|
||||
this.user = user;
|
||||
this.chatChannel = chatChannel;
|
||||
this.format = format;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCancelled() {
|
||||
return isCancelled;
|
||||
}
|
||||
@Override
|
||||
public boolean isCancelled() {
|
||||
return isCancelled;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCancelled(boolean cancelled) {
|
||||
this.isCancelled = cancelled;
|
||||
}
|
||||
@Override
|
||||
public void setCancelled(boolean cancelled) {
|
||||
this.isCancelled = cancelled;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public HandlerList getHandlers() {
|
||||
return HANDLERS_LIST;
|
||||
}
|
||||
@Override
|
||||
@NonNull
|
||||
public HandlerList getHandlers() {
|
||||
return HANDLERS_LIST;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static HandlerList getHandlerList() {
|
||||
return HANDLERS_LIST;
|
||||
}
|
||||
@NonNull
|
||||
public static HandlerList getHandlerList() {
|
||||
return HANDLERS_LIST;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public ChatUser getUser() {
|
||||
return user;
|
||||
}
|
||||
@NonNull
|
||||
public ChatUser getUser() {
|
||||
return user;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public ChatChannel getChannel() {
|
||||
return chatChannel;
|
||||
}
|
||||
@NonNull
|
||||
public ChatChannel getChannel() {
|
||||
return chatChannel;
|
||||
}
|
||||
|
||||
public void setChannel(@NonNull ChatChannel chatChannel) {
|
||||
this.chatChannel = chatChannel;
|
||||
}
|
||||
public void setChannel(@NonNull ChatChannel chatChannel) {
|
||||
this.chatChannel = chatChannel;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public String getFormat() {
|
||||
return format;
|
||||
}
|
||||
@Nullable
|
||||
public String getFormat() {
|
||||
return format;
|
||||
}
|
||||
|
||||
public void setFormat(@Nullable String format) {
|
||||
this.format = format;
|
||||
}
|
||||
public void setFormat(@Nullable String format) {
|
||||
this.format = format;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
@NonNull
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public void setMessage(@NonNull String message) {
|
||||
this.message = message;
|
||||
}
|
||||
public void setMessage(@NonNull String message) {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -10,85 +10,85 @@ import org.checkerframework.checker.nullness.qual.NonNull;
|
||||
|
||||
public class PrivateMessageEvent extends Event implements Cancellable {
|
||||
|
||||
/**
|
||||
* Bukkit event stuff
|
||||
*/
|
||||
@NonNull
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
private boolean cancelled = false;
|
||||
/**
|
||||
* Bukkit event stuff
|
||||
*/
|
||||
@NonNull
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
private boolean cancelled = false;
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public HandlerList getHandlers() {
|
||||
return handlers;
|
||||
}
|
||||
@Override
|
||||
@NonNull
|
||||
public HandlerList getHandlers() {
|
||||
return handlers;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static HandlerList getHandlerList() {
|
||||
return handlers;
|
||||
}
|
||||
@NonNull
|
||||
public static HandlerList getHandlerList() {
|
||||
return handlers;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCancelled() {
|
||||
return cancelled;
|
||||
}
|
||||
@Override
|
||||
public boolean isCancelled() {
|
||||
return cancelled;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCancelled(boolean cancelled) {
|
||||
this.cancelled = cancelled;
|
||||
}
|
||||
@Override
|
||||
public void setCancelled(boolean cancelled) {
|
||||
this.cancelled = cancelled;
|
||||
}
|
||||
|
||||
/**
|
||||
* Relevant stuff
|
||||
*/
|
||||
@NonNull
|
||||
private final ChatUser sender;
|
||||
/**
|
||||
* Relevant stuff
|
||||
*/
|
||||
@NonNull
|
||||
private final ChatUser sender;
|
||||
|
||||
@NonNull
|
||||
private final ChatUser target;
|
||||
@NonNull
|
||||
private final ChatUser target;
|
||||
|
||||
@NonNull
|
||||
private final Component senderComponent;
|
||||
@NonNull
|
||||
private final Component senderComponent;
|
||||
|
||||
@NonNull
|
||||
private final Component targetComponent;
|
||||
@NonNull
|
||||
private final Component targetComponent;
|
||||
|
||||
@NonNull
|
||||
private final String message;
|
||||
@NonNull
|
||||
private final String message;
|
||||
|
||||
public PrivateMessageEvent(@NonNull ChatUser sender, @NonNull ChatUser target, @NonNull Component senderComponent, @NonNull Component targetComponent, @NonNull String message) {
|
||||
super(!Bukkit.isPrimaryThread());
|
||||
public PrivateMessageEvent(@NonNull ChatUser sender, @NonNull ChatUser target, @NonNull Component senderComponent, @NonNull Component targetComponent, @NonNull String message) {
|
||||
super(!Bukkit.isPrimaryThread());
|
||||
|
||||
this.sender = sender;
|
||||
this.target = target;
|
||||
this.senderComponent = senderComponent;
|
||||
this.targetComponent = targetComponent;
|
||||
this.message = message;
|
||||
}
|
||||
this.sender = sender;
|
||||
this.target = target;
|
||||
this.senderComponent = senderComponent;
|
||||
this.targetComponent = targetComponent;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public ChatUser getSender() {
|
||||
return sender;
|
||||
}
|
||||
@NonNull
|
||||
public ChatUser getSender() {
|
||||
return sender;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public ChatUser getTarget() {
|
||||
return target;
|
||||
}
|
||||
@NonNull
|
||||
public ChatUser getTarget() {
|
||||
return target;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public Component getSenderComponent() {
|
||||
return senderComponent;
|
||||
}
|
||||
@NonNull
|
||||
public Component getSenderComponent() {
|
||||
return senderComponent;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public Component getTargetComponent() {
|
||||
return targetComponent;
|
||||
}
|
||||
@NonNull
|
||||
public Component getTargetComponent() {
|
||||
return targetComponent;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
@NonNull
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user