Difference between revisions of "TOnRequestEvent"

From Soldat Community Wiki
Jump to: navigation, search
(new page)
 
m (Declaration)
Line 36: Line 36:
  
  
[[Category:Classes]][[Category:Events]]
+
[[Category:Classes]]

Revision as of 14:25, 26 July 2013

Inheritance

Description

Class used in TGame.OnRequest as an event handler type.

user constructable: NO
user destructable:  NO

Declaration

 function (Ip: string; Port: Word; State: Byte; Forwarded: Boolean; Password: string): Integer;
  Ip: Player IP
  Port: Player Port
  State: Current request state
  Forwarded: True if player has been redirected from another server
  Password: Password that a player entered
  Result: Final request state
State Value Description
1 OK
2 Wrong Soldat version
3 Wrong password
4 Banned
5 Server full
6 Duplicate IP