ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/cf.pm
(Generate patch)

Comparing deliantra/server/lib/cf.pm (file contents):
Revision 1.43 by root, Fri Aug 25 17:11:53 2006 UTC vs.
Revision 1.44 by root, Sat Aug 26 08:44:06 2006 UTC

90my %ext_pkg; 90my %ext_pkg;
91my @exts; 91my @exts;
92my @hook; 92my @hook;
93my %command; 93my %command;
94my %extcmd; 94my %extcmd;
95
96#############################################################################
97# object support
98
99sub reattach {
100 warn "reattach<@_>\n";
101}
102
103sub instantiate {
104 warn "instantiate<@_>\n";
105}
106
107sub clone {
108 warn "clone<@_>\n";
109}
95 110
96############################################################################# 111#############################################################################
97# "new" plug-in system 112# "new" plug-in system
98 113
99=item cf::object::attach ... # NYI 114=item cf::object::attach ... # NYI
466 481
467############################################################################# 482#############################################################################
468# extcmd framework, basically convert ext <msg> 483# extcmd framework, basically convert ext <msg>
469# into pkg::->on_extcmd_arg1 (...) while shortcutting a few 484# into pkg::->on_extcmd_arg1 (...) while shortcutting a few
470 485
471attach_global 486attach_to_players
472 on_extcmd => sub { 487 on_extcmd => sub {
473 my ($pl, $buf) = @_; 488 my ($pl, $buf) = @_;
474 489
475 my $msg = eval { from_json $buf }; 490 my $msg = eval { from_json $buf };
476 491

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines