ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/DC/MessageDistributor.pm
(Generate patch)

Comparing deliantra/Deliantra-Client/DC/MessageDistributor.pm (file contents):
Revision 1.5 by root, Fri Sep 19 01:23:36 2008 UTC vs.
Revision 1.8 by root, Sat Apr 3 02:58:25 2010 UTC

1package DC::MessageDistributor; 1package DC::MessageDistributor;
2use strict; 2
3no warnings; 3use common::sense;
4 4
5sub new { 5sub new {
6 my $this = shift; 6 my $this = shift;
7 my $class = ref($this) || $this; 7 my $class = ref($this) || $this;
8 my $self = { @_ }; 8 my $self = { @_ };
21 . "the line you entered will be sent to the server as a command.", 21 . "the line you entered will be sent to the server as a command.",
22 reply => '' 22 reply => ''
23 } 23 }
24 ) 24 )
25 ); 25 );
26
27 $self->{dockbar}->select_dockable ($self->{log});
26 28
27 return $self 29 return $self
28} 30}
29 31
30# called by MAPWIDGET activate console event 32# called by MAPWIDGET activate console event
93 } 95 }
94} 96}
95 97
96sub update_chat { 98sub update_chat {
97 my ($self, $id) = @_; 99 my ($self, $id) = @_;
100
98 $self->{chatview}->{$id}->update_info ($self->{info}->{$id}); 101 $self->{chatview}->{$id}->update_info ($self->{info}->{$id});
99} 102}
100 103
101sub init_chat { 104sub init_chat {
102 my ($self, $id) = @_; 105 my ($self, $id) = @_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines