TeamDeleteEvent
class TeamDeleteEvent extends Event
Event announced when a team is deleted
Methods
getDeleter()
Get the player who deleted the team
null|Player[]
getMembers()
Get the former members of the team
notify(string $type)
Send a notification to the players affected by this event
serialize()
Serialize an event so that it can be stored in the database
unserialize(string $data)
Call the event's constructor using serialized data
Details
at line line 49
Team
getTeam()
Get the team that was deleted
at line line 59
Player
getDeleter()
Get the player who deleted the team
at line line 69
null|Player[]
getMembers()
Get the former members of the team
at line line 77
notify(string $type)
Send a notification to the players affected by this event
at line line 85
serialize()
Serialize an event so that it can be stored in the database
at line line 96
unserialize(string $data)
Call the event's constructor using serialized data