AssetEditorGamePacketHandler

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

public public AssetEditorGamePacketHandler (final IPacketHandler packetHandler)

Method AssetEditorGamePacketHandler.

Parameters:
final IPacketHandler packetHandler

registerHandlers

public void registerHandlers ()

Method registerHandlers.

handle

public void handle (final AssetEditorInitialize packet)

Method handle.

Parameters:
final AssetEditorInitialize packet

if

public else if (this.lacksPermission(playerComponent, false)

Method if.

Parameters:
this.lacksPermission(playerComponent this.lacksPermission(playerComponent
false false

AssetEditorAuthorization

public new AssetEditorAuthorization (false)

Method AssetEditorAuthorization.

Parameters:
false false

lacksPermission

private boolean lacksPermission (@Nonnull final Player player, final boolean shouldShowDenialMessage)

Method lacksPermission.

Parameters:
@Nonnull final Player player
final boolean shouldShowDenialMessage