> Functions
Sends you a notification. It arrives at the end of the fight, among your other notifications, with a link to the fight, and can also go out as a push notification or an email depending on your settings for the Fight category. A good place to call it is often afterFight() (see Fight hooks), when the outcome of the fight is known.
At most 50 notifications per day, counted from midnight (Paris time) across all your fights, test fights included: the following ones are ignored. To keep this quota for real fights, check the context with getFightContext. The title and the message fit on one line: a line break becomes a space.
true if the notification will be sent at the end of the fight (within the daily limit of 50), false if its title is empty, if this fight has already sent 50 or if the entity does not belong to a farmer (a turret, for example).Impossible de charger les données du jeu.
Vérifiez votre connexion et réessayez.