$TILE *FACE *FACEDATA
TILESIZE CACHESTRIDE
editor_archs arch_extents
);
use JSON::XS qw(decode_json encode_json);
our $LIB = $ENV{DELIANTRA_LIBDIR};
our $VARDIR = $ENV{HOME} ? "$ENV{HOME}/
'eq' => sub { "$_[0]" eq "$_[1]" },
'ne' => sub { "$_[0]" ne "$_[1]" },
;
sub TO_JSON {
$_[0][0]
}
}
sub Deliantra::MoveType::new {
my ($class, $string) = @_;
my $mas
e archetype
if (exists $ob->{attach}) {
my $arch = $ARCH{$ob->{_name}};
my $js = JSON::XS->new->utf8->canonical (1);
if (defined $arch->{attach}
&& $js->encode ($js->
use Compress::LZF;
use Scalar::Util ();
use Socket ();
use Deliantra::Protocol::Constants;
use JSON::XS ();
=item new Deliantra::Protocol::Base host => ..., port => ..., user => ..., pass => ...
ken => "a",
s_version => { },
tilesize => 32,
json_coder => (JSON::XS->new->max_size(1e7)->utf8),
@_
}, $class;
$self->{fh_guard} = AnyEvent
ragmented packets
%{$self->{setup_req} || {} },
};
$self->send ("version " . $self->{json_coder}->encode ({
protver => 1,
client => "Deliantra Perl Module [$0]",