AutoReferee  2.5
 All Classes Functions Variables
org.mctourney.autoreferee.event.player.PlayerTeamJoinEvent Class Reference

Called when a player joins a team. More...

+ Inheritance diagram for org.mctourney.autoreferee.event.player.PlayerTeamJoinEvent:

Public Member Functions

AutoRefTeam getTeam ()
 Gets the team for this event. More...
 
boolean isCancelled ()
 Checks the cancelled state of the event. More...
 
void setCancelled (boolean cancel)
 Sets the cancelled state of the event. More...
 

Detailed Description

Called when a player joins a team.

Author
authorblues

Member Function Documentation

AutoRefTeam org.mctourney.autoreferee.event.player.PlayerTeamEvent.getTeam ( )
inherited

Gets the team for this event.

Returns
team
boolean org.mctourney.autoreferee.event.player.PlayerTeamJoinEvent.isCancelled ( )

Checks the cancelled state of the event.

Returns
true if the event has been cancelled, false otherwise
void org.mctourney.autoreferee.event.player.PlayerTeamJoinEvent.setCancelled ( boolean  cancel)

Sets the cancelled state of the event.

Parameters
canceltrue to cancel the event, false to uncancel the event

The documentation for this class was generated from the following file: