-
Notifications
You must be signed in to change notification settings - Fork 9
User Reconnect Try
Ta Van Dung edited this page Jun 15, 2016
·
2 revisions
import com.tvd12.ezyfox.core.annotation.ServerEventHandler;
import com.tvd12.ezyfox.core.command.Log;
import com.tvd12.ezyfox.core.config.ServerEvent;
import com.tvd12.ezyfox.core.content.AppContext;
import com.tvd12.ezyfox.core.model.ApiZone;
@ServerEventHandler(event = ServerEvent.USER_RECONNECTION_TRY)
public class UserReconnectTryHandler {
public void handle(AppContext context, ApiZone zone, YourUser user) {
context.command(Log.class).from(this).info(
"=====>> user " + user.getName()
+ " reconnection try zone = "
+ zone.getName());
}
}
Hello World