public class SpectatorToPlayerImpl extends BaseCommandImpl implements com.tvd12.ezyfox.core.command.SpectatorToPlayer
SpectatorToPlayer
api, context, extension
Constructor and Description |
---|
SpectatorToPlayerImpl(AppContextImpl context,
com.smartfoxserver.v2.api.ISFSApi api,
com.smartfoxserver.v2.extensions.ISFSExtension extension) |
Modifier and Type | Method and Description |
---|---|
Boolean |
execute() |
com.tvd12.ezyfox.core.command.SpectatorToPlayer |
fireClientEvent(boolean value) |
com.tvd12.ezyfox.core.command.SpectatorToPlayer |
fireServerEvent(boolean value) |
com.tvd12.ezyfox.core.command.SpectatorToPlayer |
room(com.tvd12.ezyfox.core.entities.ApiRoom room) |
com.tvd12.ezyfox.core.command.SpectatorToPlayer |
user(com.tvd12.ezyfox.core.entities.ApiBaseUser user) |
public SpectatorToPlayerImpl(AppContextImpl context, com.smartfoxserver.v2.api.ISFSApi api, com.smartfoxserver.v2.extensions.ISFSExtension extension)
context
- the contextapi
- the apiextension
- the extensionpublic Boolean execute()
execute
in interface com.tvd12.ezyfox.core.command.BaseCommand
public com.tvd12.ezyfox.core.command.SpectatorToPlayer user(com.tvd12.ezyfox.core.entities.ApiBaseUser user)
user
in interface com.tvd12.ezyfox.core.command.SpectatorToPlayer
public com.tvd12.ezyfox.core.command.SpectatorToPlayer room(com.tvd12.ezyfox.core.entities.ApiRoom room)
room
in interface com.tvd12.ezyfox.core.command.SpectatorToPlayer
public com.tvd12.ezyfox.core.command.SpectatorToPlayer fireClientEvent(boolean value)
fireClientEvent
in interface com.tvd12.ezyfox.core.command.SpectatorToPlayer
public com.tvd12.ezyfox.core.command.SpectatorToPlayer fireServerEvent(boolean value)
fireServerEvent
in interface com.tvd12.ezyfox.core.command.SpectatorToPlayer
Copyright © 2012–2017 Young Monkeys. All rights reserved.