wyvern.common.net
Interface RPCConstants

All Known Subinterfaces:
RemoteClient
All Known Implementing Classes:
ClientCommands, Kernel, MagicMap, PlayerImpl

public interface RPCConstants

This interface contains the numbers assigned to each RPC call, as well as some other constants used in the RPC interface.

Version:
1.0, Apr 23, 1998
Author:
Steve Yegge

Nested Class Summary
static interface RPCConstants.ImageAlign
          Specifies whether an image is left, center, or right-justified.
static interface RPCConstants.ImageFlags
          Extra flags for controlling the image.
static interface RPCConstants.ImageFormat
          Specifies the format of an image (GIF, JPG, etc.)
static interface RPCConstants.OutputView
          Directs an image (or text) to go to a specific view.
static interface RPCConstants.TextStyle
          Text-style specifiers.
 
Field Summary
static java.lang.String ALERT_EVENT
           
static byte CHAR_BANISHED
           
static byte CHAR_BANNED
           
static byte CHARACTER_NOT_FOUND
           
static java.lang.String CLIENT_END_MUSIC_COMMAND
          Client sends this each time a music track completes all of its repeats without being interrupted by the server.
static java.lang.String CLIENT_END_SOUND_COMMAND
          Client sends this whenever a trackable sound finishes.
static byte CONNECT_RESULT
           
static byte FLUSH_GRAPHICS
           
static byte GND_ADD
           
static byte GND_MODIFY
           
static byte GND_REMOVE
           
static byte GND_RESEND
           
static byte INV_ADD
           
static byte INV_MODIFY
           
static byte INV_REMOVE
           
static byte INV_RESEND
           
static byte INVALID_PASSWORD
           
static byte IP_BANISHED
           
static byte LOGIN_FAILURE
           
static byte LOGIN_SUCCESS
           
static byte LOGINS_DISABLED
           
static int MAX_IMAGE_SIZE
           
static java.lang.String MUSIC_EVENT
           
static byte OTHER_LOGIN_ERROR
           
static java.lang.String PAUSE_SOUND
           
static java.lang.String PLAY_ALERT
           
static java.lang.String PLAY_MUSIC
           
static java.lang.String PLAY_SOUND
           
static short PROTOCOL_VERSION_MAJOR
           
static short PROTOCOL_VERSION_MINOR
           
static byte QUIT
           
static int REGISTER_EXISTING_PLAYER
          These values are sent from the client when it connects to the server, telling what kind of operation the client wants to begin.
static java.lang.String RESUME_SOUND
           
static byte SAME_EMAIL_ONLINE
           
static byte SEND_FILE
           
static byte SEND_IMAGE
           
static byte SEND_PICTURE
           
static byte SEND_TILE
           
static byte SEND_TILE_MAPPINGS
           
static byte SERVER_TRANSFER
           
static java.lang.String SET_GAIN
           
static java.lang.String SOUND_EVENT
           
static byte STAT_SEND_SPELLS
           
static byte STAT_SET_FOOD
           
static byte STAT_SET_GOLD
           
static byte STAT_SET_HP
           
static byte STAT_SET_LEVEL
           
static byte STAT_SET_LOAD
           
static byte STAT_SET_NAME
           
static byte STAT_SET_RANGE
           
static byte STAT_SET_SP
           
static byte STAT_SET_XP
           
static byte STAT_START_POISON
           
static byte STAT_STOP_POISON
           
static byte STAT_UPDATE_ALL
           
static java.lang.String STOP_ALL_SOUNDS
           
static java.lang.String STOP_MUSIC
           
static java.lang.String STOP_SOUND
           
static byte TEXT_OUT
           
static byte TOO_MANY_PLAYERS
           
static byte UNCACHE_IMAGE
           
static byte XML_COMMAND
           
static byte XML_COMMAND_WITH_COMPRESSED_DATA
           
static byte XML_COMMAND_WITH_DATA
           
static byte ZIP_PARTIAL_SCREEN
           
static byte ZIP_SCREEN
           
static byte ZIP_TEXT_OUT
           
 

Field Detail

PROTOCOL_VERSION_MAJOR

public static final short PROTOCOL_VERSION_MAJOR
See Also:
Constant Field Values

PROTOCOL_VERSION_MINOR

public static final short PROTOCOL_VERSION_MINOR
See Also:
Constant Field Values

MAX_IMAGE_SIZE

public static final int MAX_IMAGE_SIZE
See Also:
Constant Field Values

CHARACTER_NOT_FOUND

public static final byte CHARACTER_NOT_FOUND
See Also:
Constant Field Values

INVALID_PASSWORD

public static final byte INVALID_PASSWORD
See Also:
Constant Field Values

SAME_EMAIL_ONLINE

public static final byte SAME_EMAIL_ONLINE
See Also:
Constant Field Values

IP_BANISHED

public static final byte IP_BANISHED
See Also:
Constant Field Values

CHAR_BANISHED

public static final byte CHAR_BANISHED
See Also:
Constant Field Values

CHAR_BANNED

public static final byte CHAR_BANNED
See Also:
Constant Field Values

LOGINS_DISABLED

public static final byte LOGINS_DISABLED
See Also:
Constant Field Values

TOO_MANY_PLAYERS

public static final byte TOO_MANY_PLAYERS
See Also:
Constant Field Values

OTHER_LOGIN_ERROR

public static final byte OTHER_LOGIN_ERROR
See Also:
Constant Field Values

LOGIN_SUCCESS

public static final byte LOGIN_SUCCESS
See Also:
Constant Field Values

LOGIN_FAILURE

public static final byte LOGIN_FAILURE
See Also:
Constant Field Values

CONNECT_RESULT

public static final byte CONNECT_RESULT
See Also:
Constant Field Values

SEND_TILE_MAPPINGS

public static final byte SEND_TILE_MAPPINGS
See Also:
Constant Field Values

TEXT_OUT

public static final byte TEXT_OUT
See Also:
Constant Field Values

QUIT

public static final byte QUIT
See Also:
Constant Field Values

SERVER_TRANSFER

public static final byte SERVER_TRANSFER
See Also:
Constant Field Values

SEND_TILE

public static final byte SEND_TILE
See Also:
Constant Field Values

SEND_IMAGE

public static final byte SEND_IMAGE
See Also:
Constant Field Values

UNCACHE_IMAGE

public static final byte UNCACHE_IMAGE
See Also:
Constant Field Values

SEND_PICTURE

public static final byte SEND_PICTURE
See Also:
Constant Field Values

ZIP_SCREEN

public static final byte ZIP_SCREEN
See Also:
Constant Field Values

SEND_FILE

public static final byte SEND_FILE
See Also:
Constant Field Values

FLUSH_GRAPHICS

public static final byte FLUSH_GRAPHICS
See Also:
Constant Field Values

ZIP_TEXT_OUT

public static final byte ZIP_TEXT_OUT
See Also:
Constant Field Values

ZIP_PARTIAL_SCREEN

public static final byte ZIP_PARTIAL_SCREEN
See Also:
Constant Field Values

XML_COMMAND

public static final byte XML_COMMAND
See Also:
Constant Field Values

XML_COMMAND_WITH_DATA

public static final byte XML_COMMAND_WITH_DATA
See Also:
Constant Field Values

XML_COMMAND_WITH_COMPRESSED_DATA

public static final byte XML_COMMAND_WITH_COMPRESSED_DATA
See Also:
Constant Field Values

INV_ADD

public static final byte INV_ADD
See Also:
Constant Field Values

INV_REMOVE

public static final byte INV_REMOVE
See Also:
Constant Field Values

INV_MODIFY

public static final byte INV_MODIFY
See Also:
Constant Field Values

INV_RESEND

public static final byte INV_RESEND
See Also:
Constant Field Values

GND_ADD

public static final byte GND_ADD
See Also:
Constant Field Values

GND_REMOVE

public static final byte GND_REMOVE
See Also:
Constant Field Values

GND_MODIFY

public static final byte GND_MODIFY
See Also:
Constant Field Values

GND_RESEND

public static final byte GND_RESEND
See Also:
Constant Field Values

STAT_SET_HP

public static final byte STAT_SET_HP
See Also:
Constant Field Values

STAT_SET_SP

public static final byte STAT_SET_SP
See Also:
Constant Field Values

STAT_SET_XP

public static final byte STAT_SET_XP
See Also:
Constant Field Values

STAT_SET_FOOD

public static final byte STAT_SET_FOOD
See Also:
Constant Field Values

STAT_SET_GOLD

public static final byte STAT_SET_GOLD
See Also:
Constant Field Values

STAT_SET_LEVEL

public static final byte STAT_SET_LEVEL
See Also:
Constant Field Values

STAT_SET_NAME

public static final byte STAT_SET_NAME
See Also:
Constant Field Values

STAT_SET_RANGE

public static final byte STAT_SET_RANGE
See Also:
Constant Field Values

STAT_SET_LOAD

public static final byte STAT_SET_LOAD
See Also:
Constant Field Values

STAT_START_POISON

public static final byte STAT_START_POISON
See Also:
Constant Field Values

STAT_STOP_POISON

public static final byte STAT_STOP_POISON
See Also:
Constant Field Values

STAT_SEND_SPELLS

public static final byte STAT_SEND_SPELLS
See Also:
Constant Field Values

STAT_UPDATE_ALL

public static final byte STAT_UPDATE_ALL
See Also:
Constant Field Values

REGISTER_EXISTING_PLAYER

public static final int REGISTER_EXISTING_PLAYER
These values are sent from the client when it connects to the server, telling what kind of operation the client wants to begin. Right now, you can only log a player in.

See Also:
Constant Field Values

CLIENT_END_MUSIC_COMMAND

public static final java.lang.String CLIENT_END_MUSIC_COMMAND
Client sends this each time a music track completes all of its repeats without being interrupted by the server. If the server sends a playMusic(), it stops the current track and switches to the new one, and no notification needs to be sent back to the server.

See Also:
Constant Field Values

CLIENT_END_SOUND_COMMAND

public static final java.lang.String CLIENT_END_SOUND_COMMAND
Client sends this whenever a trackable sound finishes. The server will clean up its hooks and registrations that it uses to adjust the sound volume as the player gets closer to and further away from the sound.

See Also:
Constant Field Values

ALERT_EVENT

public static final java.lang.String ALERT_EVENT
See Also:
Constant Field Values

MUSIC_EVENT

public static final java.lang.String MUSIC_EVENT
See Also:
Constant Field Values

SOUND_EVENT

public static final java.lang.String SOUND_EVENT
See Also:
Constant Field Values

PLAY_ALERT

public static final java.lang.String PLAY_ALERT
See Also:
Constant Field Values

PLAY_MUSIC

public static final java.lang.String PLAY_MUSIC
See Also:
Constant Field Values

STOP_MUSIC

public static final java.lang.String STOP_MUSIC
See Also:
Constant Field Values

PLAY_SOUND

public static final java.lang.String PLAY_SOUND
See Also:
Constant Field Values

STOP_SOUND

public static final java.lang.String STOP_SOUND
See Also:
Constant Field Values

STOP_ALL_SOUNDS

public static final java.lang.String STOP_ALL_SOUNDS
See Also:
Constant Field Values

SET_GAIN

public static final java.lang.String SET_GAIN
See Also:
Constant Field Values

PAUSE_SOUND

public static final java.lang.String PAUSE_SOUND
See Also:
Constant Field Values

RESUME_SOUND

public static final java.lang.String RESUME_SOUND
See Also:
Constant Field Values