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.37 by root, Tue Apr 6 23:34:57 2010 UTC vs.
Revision 1.40 by root, Tue Apr 13 18:57:06 2010 UTC

384=head3 shout (player message --) 384=head3 shout (player message --)
385 385
386Invoked whenever the player uses the B<say>, B<chat> or B<shout> command, 386Invoked whenever the player uses the B<say>, B<chat> or B<shout> command,
387before it gets processed. 387before it gets processed.
388 388
389=head3 build (player builder map x y --) 389=head3 build (player builder map x y checkok --)
390 390
391Players tries to build using C<builder> at (map+x+y). Is invoked after the 391Players tries to build using C<builder> at (map+x+y). Is invoked after
392usual sanity checks, so the coordinates are valid. 392the usual map sanity checks, so the coordinates are valid. The boolean
393C<checkok> is true only if the build code thinks it is "ok" to build at
394that space, and normally you should only build when it is true.
393 395
394 396
395=head2 MAP EVENTS 397=head2 MAP EVENTS
396 398
397These events are generally dependent on a map and thus all have a map 399These events are generally dependent on a map and thus all have a map
441handled asynchronously as soon as the command reaches the server, even when 443handled asynchronously as soon as the command reaches the server, even when
442the player hasn't logged in yet (meaning there is no player yet). 444the player hasn't logged in yet (meaning there is no player yet).
443 445
444=head3 connect (client -- ) 446=head3 connect (client -- )
445 447
446Called as soon as a new connection to the server is established. Should 448Called as soon as a new connection to the server is established and the
447not be overriden. 449socket has been configured.
450
451=head3 version (client string -- )
452
453Called as soon as the version command from the client is received
454(normally the very first command sent).
448 455
449=head3 setup (client string -- ) 456=head3 setup (client string -- )
450 457
451Client sent the setup command to negotiate parameters. Handling is 458Client sent the setup command to negotiate parameters. Handling is
452mandatory and done by F<login.ext>. 459mandatory and done by F<login.ext>.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines