Main > Programming > Libraries >

Crossfire::Protocol::Base 0.95

Crossfire::Protocol::Base 0.95

Sponsored Links

Crossfire::Protocol::Base 0.95 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.15 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 1031
Date added: 2007-01-04
Publisher: Marc Lehmann

Crossfire::Protocol::Base 0.95 description

Crossfire::Protocol::Base is a client protocol module.

SYNOPSIS

use base Crossfire::Protocol::Base; # you have to subclass

Base class to implement a crossfire client.
new Crossfire::Protocol::Base host => ..., port => ...

METHODS THAT CAN/MUST BE OVERWRITTEN

$self->setup ($setup)

Called after the last setup packet has been received, just before an addme request is sent.

$self->addme_success

$self->addme_failure

$self->eof

$conn->anim_update ($num) [OVERWRITE]

$conn->sound_play ($x, $y, $soundnum, $type)

$conn->query ($flags, $prompt)

$conn->drawextinfo ($color, $type, $subtype, $message)

$conn->drawinfo ($color, $text)

$conn->player_update ($player)

tag, weight, face, name

$conn->stats_update ($stats)

$conn->container_add ($id, $item...)

$conn->container_clear ($id)

$conn->item_update ($item)

$conn->item_delete ($item...)

$conn->spell_add ($spell)

$spell = {
tag => ...,
level => ...,
casting_time => ...,
mana => ...,
grace => ...,
damage => ...,
skill => ...,
path => ...,
face => ...,
name => ...,
message => ...,
};

$conn->spell_update ($spell)

(the default implementation calls delete then add)

$conn->spell_delete ($spell)

$conn->magicmap ($w, $h, $px, $py, $data)

$conn->map_change ($type, ...)

$conn->image_info ($numfaces, $chksum, [...image-sets])

$conn->map_change ($mode, ...) [OVERWRITE]

current < flags > < x > < y > < width > < height > < hashstring >

$conn->map_clear [OVERWRITE]

Called whenever the map is to be erased completely.

$conn->map_update ([ [x,y], [x,y], ...]) [OVERWRITE]

Called with a list of x|y coordinate pairs (as arrayrefs) for cells that have been updated and need refreshing.

$conn->map_scroll ($dx, $dy) [OVERWRITE]

Called whenever the map has been scrolled.

$conn->face_update ($facenum, $facedata, $changed) [OVERWRITE]

Called with the face number of face structure whenever a face image becomes known (either because face_find returned it, in which case $changed is false, or because we got an update, in which case $changed is true).

$conn->face_find ($facenum, $facedata) [OVERWRITE]

Find and return the png image for the given face, or the empty list if no face could be found, in which case it will be requested from the server.

$conn->send ($data)

Send a single packet/line to the server.

$conn->send_command ($command[, $cb1[, $cb2]])

Uses either command or ncom to send a user-level command to the server. Encodes the command to UTF-8.

If the server supports a fixed version of the ncom command and this is detected by this module, the following is also supported:

If the callback $cb1 is given, calls it with the absolute time when this command has finished processing, as soon as this information is available.

If the callback $cb2 is given it will be called when the command has finished processing, to the best knowledge of this module.

Crossfire::Protocol::Base 0.95 Screenshot

Advertisements

Crossfire::Protocol::Base 0.95 Keywords

Bookmark Crossfire::Protocol::Base 0.95

Hyperlink code:
Link for forum:

Crossfire::Protocol::Base 0.95 Copyright

WareSeeker periodically updates pricing and software information of Crossfire::Protocol::Base 0.95 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Crossfire::Protocol::Base 0.95 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Crossfire Maps packages includes maps for the Crossfire MUD client. Free Download
Crossfire TRT project is an advancement of the crossfire multi-user RPG game. Free Download
Crossfire is an open source, cooperative multiplayer graphical RPG. Free Download
Crossfire+ server is located in southern germany and has a fast connection. Free Download
CFPlus is a modern client for Crossfire+ and Crossfire MMORPG game servers. Free Download
Digital Camera Protocol is another command-line utility for DC21x cameras, this one looks and works just like "ftp" command. Free Download
SQLBuster project is a simple MySQL benchmarking utility. Free Download
Relations is a Perl module with functions to use with databases and queries. Free Download