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.6 by root, Sun Dec 10 20:15:58 2006 UTC vs.
Revision 1.9 by root, Thu Dec 21 06:12:37 2006 UTC

253 253
254=head3 map_change (player newmap x y -- ) 254=head3 map_change (player newmap x y -- )
255 255
256Invoked before a player moves from one map to another, can override the movement. 256Invoked before a player moves from one map to another, can override the movement.
257 257
258=head3 command (player command args -- time)
259
260Execute a user command send by the client. Programmable plug-ins usually
261handle this event internally.
262
258=head3 extcmd (player string) 263=head3 extcmd (player string)
259 264
260Invoked whenever a client issues the C<extcmd> protocol command. It's 265Invoked whenever a client issues the C<extcmd> protocol command.
261argument is passed without any changes. 266Programmable plug-ins usually handle this event internally.
262 267
263=head3 move (player direction -- ) 268=head3 move (player direction -- )
264 269
265=head3 pray_altar (player altar skill -- ) 270=head3 pray_altar (player altar skill -- )
266 271
329=head3 leave (map player -- ) 334=head3 leave (map player -- )
330 335
331Invoked 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
332player won't be able to leave. 337player won't be able to leave.
333 338
334=head3 trigger (map connection state) 339=head3 trigger (map connection state -- )
335 340
336Invoked 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>
337is true the connection was 'state' and if false it is 'released'. 342is true the connection was 'state' and if false it is 'released'.
338 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 exticmd (client string -- )
368
369Like C<extcmd>, but can be called before a player has logged in.
370
371Programmable plug-ins usually handle this event internally.
372

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines