Add on_auth_fail callback (#7039)
Called when a client fails to supply the correct password for the account it's attempting to login as.
This commit is contained in:
@@ -45,4 +45,5 @@ class ScriptApiPlayer : virtual public ScriptApiBase
|
||||
s16 on_player_hpchange(ServerActiveObject *player, s16 hp_change);
|
||||
void on_playerReceiveFields(ServerActiveObject *player,
|
||||
const std::string &formname, const StringMap &fields);
|
||||
void on_auth_failure(const std::string &name, const std::string &ip);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user