Package com.tenio.core.handler.event
Interface EventPlayerLoggedinResult<P extends Player>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Returns the result when a player tried to log in the server.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(P player, PlayerLoggedInResult result) When a player tried to log in the server.
-
Method Details
-
handle
When a player tried to log in the server.- Parameters:
player
- the joiningPlayer
result
- the joining result presented byPlayerLoggedInResult
. A player is considered as it joined the server when the result equals to success- See Also:
-