ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/pod/events.pod
(Generate patch)

Comparing deliantra/server/pod/events.pod (file contents):
Revision 1.7 by root, Mon Dec 11 22:56:57 2006 UTC vs.
Revision 1.11 by root, Fri Dec 22 06:02:29 2006 UTC

334=head3 leave (map player -- ) 334=head3 leave (map player -- )
335 335
336Invoked whenever a player tries to leave the B<map>. Overriding means the 336Invoked whenever a player tries to leave the B<map>. Overriding means the
337player won't be able to leave. 337player won't be able to leave.
338 338
339=head3 trigger (map connection state) 339=head3 trigger (map connection state -- )
340 340
341Invoked whenever something activates a B<connection> on the B<map>. If B<state> 341Invoked whenever something activates a B<connection> on the B<map>. If B<state>
342is true the connection was 'state' and if false it is 'released'. 342is true the connection was 'state' and if false it is 'released'.
343 343
344
345=head2 CLIENT EVENTS
346
347These events are very similar to player events, but they are might be
348handled asynchronously as soon as the command reaches the server, even when
349the player hasn't logged in yet (meaning there is no player yet).
350
351=head3 connect (client -- )
352
353Called as soon as a new connection to the server is established. Should
354not be overriden.
355
356=head3 addme (client -- )
357
358The client sent an addme, thus ending the initial handshaking. If overriden, the server
359will not send any response.
360
361=head3 reattach (client -- )
362
363Invoked whenever attachments/plug-ins need to get reattached to the
364object. This usually happens when server was reloaded. This event will
365only be generated if the object has attachments.
366
367=head3 destroy (client -- )
368
369Called when the runtime wants to destroy the client structure.
370
371=head3 reply (client replystring -- )
372
373Called when the client submits a reply in the ST_CUSTOM state. Usually
374handled internally by language plugins.
375
376=head3 exticmd (client string -- )
377
378Like C<extcmd>, but can be called before a player has logged in.
379
380Programmable plug-ins usually handle this event internally.
381

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines