gecco.communication.messages
Class MessageType

java.lang.Object
  |
  +--gecco.communication.messages.MessageType

public class MessageType
extends Object

A class containing constants that will be sent before a message is sent, to tell what type of message is coming.

Author:
Niklas Hallenfur

Field Summary
static int abortAction
          Description of the Field
static int abortGame
          Description of the Field
static int ActionBlocked
          Description of the Field
static int ActionCompleted
          Description of the Field
static int ActionFailed
          Description of the Field
static int ActionOnPosition
          Description of the Field
static int ActionOnUnit
          Description of the Field
static int ActionOnVoid
          Description of the Field
static int disconnect
          Description of the Field
static int getAvailableRoles
          Description of the Field
static int getMap
          Description of the Field
static int getMapSize
          Description of the Field
static int getMapUpperLeft
          Description of the Field
static int joinAsRole
          Description of the Field
static int MapPointInvisible
          Description of the Field
static int MapPointsInvisible
          Description of the Field
static int MapUpdate
          Description of the Field
static int MapUpdates
          Description of the Field
static int Ping
          Description of the Field
static int PingReply
          Description of the Field
static int startGame
          Description of the Field
static int UnitDeleted
          Description of the Field
static int UnitDestroyed
          Description of the Field
static int UnitMessage
          Description of the Field
static int UnitPositionUpdate
          Description of the Field
static int UnitPropertyUpdate
          Description of the Field
static int UnitVisible
          Description of the Field
 
Constructor Summary
MessageType()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

ActionOnVoid

public static final int ActionOnVoid
Description of the Field

ActionOnUnit

public static final int ActionOnUnit
Description of the Field

ActionOnPosition

public static final int ActionOnPosition
Description of the Field

getMapSize

public static final int getMapSize
Description of the Field

getMap

public static final int getMap
Description of the Field

abortGame

public static final int abortGame
Description of the Field

abortAction

public static final int abortAction
Description of the Field

getMapUpperLeft

public static final int getMapUpperLeft
Description of the Field

startGame

public static final int startGame
Description of the Field

UnitPositionUpdate

public static final int UnitPositionUpdate
Description of the Field

Ping

public static final int Ping
Description of the Field

UnitPropertyUpdate

public static final int UnitPropertyUpdate
Description of the Field

getAvailableRoles

public static final int getAvailableRoles
Description of the Field

joinAsRole

public static final int joinAsRole
Description of the Field

disconnect

public static final int disconnect
Description of the Field

UnitVisible

public static final int UnitVisible
Description of the Field

UnitDeleted

public static final int UnitDeleted
Description of the Field

ActionBlocked

public static final int ActionBlocked
Description of the Field

MapUpdate

public static final int MapUpdate
Description of the Field

MapPointInvisible

public static final int MapPointInvisible
Description of the Field

ActionCompleted

public static final int ActionCompleted
Description of the Field

ActionFailed

public static final int ActionFailed
Description of the Field

MapUpdates

public static final int MapUpdates
Description of the Field

MapPointsInvisible

public static final int MapPointsInvisible
Description of the Field

PingReply

public static final int PingReply
Description of the Field

UnitDestroyed

public static final int UnitDestroyed
Description of the Field

UnitMessage

public static final int UnitMessage
Description of the Field
Constructor Detail

MessageType

public MessageType()