public class EditorClient implements PermissionHolder
Class EditorClient. Provides editorclient functionality for the Hytale server.
java.lang.Object > EditorClient
Field Summary
language
private
String
language
Field language.
msg
final
FormattedMessage
msg
Field msg.
Method Detail
EditorClient
public
public
EditorClient
(final String language, @Nonnull final PlayerAuthentication auth, final PacketHandler packetHandler)
Method EditorClient.
- Parameters:
final Stringlanguage@Nonnull final PlayerAuthenticationauthfinal PacketHandlerpacketHandler
getLanguage
public
String
getLanguage
()
Method getLanguage.
setLanguage
public
void
setLanguage
(final String language)
Method setLanguage.
- Parameters:
final Stringlanguage
getUuid
public
UUID
getUuid
()
Method getUuid.
getUsername
public
String
getUsername
()
Method getUsername.
hasPermission
public
boolean
hasPermission
(@Nonnull final String id)
Method hasPermission.
- Parameters:
@Nonnull final Stringid
sendPopupNotification
public
void
sendPopupNotification
(final AssetEditorPopupNotificationType type, @Nonnull final Message message)
Method sendPopupNotification.
- Parameters:
final AssetEditorPopupNotificationTypetype@Nonnull final Messagemessage
AssetEditorPopupNotification
public
new
AssetEditorPopupNotification
(type, msg)
Method AssetEditorPopupNotification.
- Parameters:
typetypemsgmsg
sendSuccessReply
public
void
sendSuccessReply
(final int token)
Method sendSuccessReply.
- Parameters:
final inttoken
SuccessReply
public
new
SuccessReply
(token, msg)
Method SuccessReply.
- Parameters:
tokentokenmsgmsg
sendFailureReply
Method sendFailureReply.
- Parameters:
final inttoken@Nonnull final Messagemessage
FailureReply
public
new
FailureReply
(token, msg)
Method FailureReply.
- Parameters:
tokentokenmsgmsg