MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 1 | SYNOPSIS |
Zesstra | 7ea4a03 | 2019-11-26 20:11:40 +0100 | [diff] [blame] | 2 | void disconnect(object ob, string remaining) |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 3 | |
| 4 | DESCRIPTION |
Zesstra | 7ea4a03 | 2019-11-26 20:11:40 +0100 | [diff] [blame] | 5 | Handle the loss of the IP connection for the (formerly) |
| 6 | interactive object <ob>. The connection can be lost because the |
| 7 | the underlying transport connection was lost ('netdead'), or |
| 8 | because of a call to exec() or remove_interactive(). |
| 9 | |
| 10 | <remaining> is a string holding the remaining unread input data from |
| 11 | the connection, if any. This data is unprocessed just as it was |
| 12 | received. |
| 13 | |
| 14 | The connection will be unbound upon return from this call, so |
| 15 | for the time of this call, interactive(ob) will still |
| 16 | return TRUE even if the actual network connection has already |
| 17 | been lost. |
| 18 | |
| 19 | This method is not called if the object has been destructed |
| 20 | already. |
| 21 | |
| 22 | HISTORY |
| 23 | LDMud 3.3.713 added the second argument for the remaining input data. |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 24 | |
| 25 | SEE ALSO |
Zesstra | 7ea4a03 | 2019-11-26 20:11:40 +0100 | [diff] [blame] | 26 | connect(M), remove_player(M), remove_interactive(E), exec(E), |
| 27 | interactive(E) |