MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 1 | logon() |
Zesstra | 953f997 | 2017-02-18 15:37:36 +0100 | [diff] [blame] | 2 | ******* |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 3 | |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 4 | |
Zesstra | 953f997 | 2017-02-18 15:37:36 +0100 | [diff] [blame] | 5 | SYNOPSIS |
| 6 | ======== |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 7 | |
Zesstra | 953f997 | 2017-02-18 15:37:36 +0100 | [diff] [blame] | 8 | int logon(void) |
| 9 | |
| 10 | |
| 11 | DESCRIPTION |
| 12 | =========== |
| 13 | |
| 14 | When the parser accepts a new connection, it first calls |
| 15 | connect() in the master object and then applies logon() to |
| 16 | the object that is returned by the master. That will usually be |
| 17 | a special login object, that is expected to clone and get going |
| 18 | a user shell or player object. |
| 19 | Should return 0 on failure, everything else means success. |
| 20 | |
| 21 | |
| 22 | SEE ALSO |
| 23 | ======== |
| 24 | |
| 25 | connect(M) |