public class AssetEditorGamePacketHandler implements SubPacketHandler
Class AssetEditorGamePacketHandler. Provides asseteditorgamepackethandler functionality for the Hytale server.
java.lang.Object > AssetEditorGamePacketHandler
Field Summary
playerRef
final
PlayerRef
playerRef
Field playerRef.
ref
final
Ref
ref
Field ref.
store
final
Store
store
Field store.
world
final
World
world
Field world.
playerComponent
final
Player
playerComponent
Field playerComponent.
mockClient
final
EditorClient
mockClient
Field mockClient.
assetEditorPlugin
final
AssetEditorPlugin
assetEditorPlugin
Field assetEditorPlugin.
editorClient
final
EditorClient
editorClient
Field editorClient.
Method Detail
AssetEditorGamePacketHandler
Method AssetEditorGamePacketHandler.
- Parameters:
final IPacketHandlerpacketHandler
registerHandlers
public
void
registerHandlers
()
Method registerHandlers.
if
public
else
if
(this.lacksPermission(playerComponent, false)
Method if.
- Parameters:
this.lacksPermission(playerComponentthis.lacksPermission(playerComponentfalsefalse
AssetEditorAuthorization
public
new
AssetEditorAuthorization
(false)
Method AssetEditorAuthorization.
- Parameters:
falsefalse
lacksPermission
private
boolean
lacksPermission
(@Nonnull final Player player, final boolean shouldShowDenialMessage)
Method lacksPermission.
- Parameters:
@Nonnull final Playerplayerfinal booleanshouldShowDenialMessage