Class SCMessage
java.lang.Object
net.sacredlabyrinth.phaed.simpleclans.chat.SCMessage
- All Implemented Interfaces:
Cloneable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe place where the message came from. -
Constructor Summary
ConstructorsConstructorDescriptionSCMessage(@NotNull SCMessage.Source source, ClanPlayer.Channel channel, @NotNull ClanPlayer sender, String content) Creates a new SCMessage without receiversSCMessage(@NotNull SCMessage.Source source, ClanPlayer.Channel channel, @NotNull ClanPlayer sender, String content, @NotNull List<ClanPlayer> receivers) Creates a message with initial parameters -
Method Summary
Modifier and TypeMethodDescriptionclone()voidsetContent(@NotNull String content) voidsetReceivers(@NotNull List<ClanPlayer> receivers)
-
Constructor Details
-
SCMessage
public SCMessage(@NotNull @NotNull SCMessage.Source source, @NotNull ClanPlayer.Channel channel, @NotNull @NotNull ClanPlayer sender, String content, @NotNull @NotNull List<ClanPlayer> receivers) Creates a message with initial parameters- Parameters:
source- The source of messagechannel- The channel of clan playersender- The clan player sendercontent- The content of messagereceivers- The clan players, who will receive the content
-
SCMessage
public SCMessage(@NotNull @NotNull SCMessage.Source source, @NotNull ClanPlayer.Channel channel, @NotNull @NotNull ClanPlayer sender, String content) Creates a new SCMessage without receivers- See Also:
-
-
Method Details