netbattle.messages
Class BattleEndMessage

java.lang.Object
  extended by netbattle.messages.NetMessage
      extended by netbattle.messages.BattleEndMessage
All Implemented Interfaces:
java.io.Serializable

public class BattleEndMessage
extends NetMessage

See Also:
Serialized Form

Field Summary
 
Fields inherited from class netbattle.messages.NetMessage
ACCEPT_CHALLENGE, ACCEPTED_CHALLENGE, ACTIVITY_MESSAGE, ADD_BATTLE, BAN_USER, BATTLE_END, BATTLE_READY, ERROR_LOG_MESSAGE, FIELD_TEXT, FINALISE_CHALLENGE, FIND_ALIASES_MESSAGE, INFORM_DAMAGE, ISSUE_CHALLENGE, JOIN_CHANNEL_MESSAGE, JOIN_SERVER, PARTY_MESSAGE, RATIO_REFRESH, REGISTER_ACCOUNT, REPLACE_POKEMON, REQUEST_MOVE, SELECTION_END, SPECTATOR_MESSAGE, STAT_REFRESH, STATUS_CHANGE, SUCCESS_MESSAGE, UPDATE_POKEMON_STATUS, USE_MOVE, USER_LIST, USER_TABLE, WELCOME_MESSAGE, WELCOME_TEXT_MESSAGE, WITHDRAW_CHALLENGE
 
Constructor Summary
BattleEndMessage(int fid)
           
BattleEndMessage(int victor, int fid)
          Creates a new instance of BattleEndMessage
 
Method Summary
 int getFieldId()
           
 int getMessage()
           
 int getVictor()
           
 
Methods inherited from class netbattle.messages.NetMessage
logInRequired
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BattleEndMessage

public BattleEndMessage(int victor,
                        int fid)
Creates a new instance of BattleEndMessage


BattleEndMessage

public BattleEndMessage(int fid)
Method Detail

getMessage

public int getMessage()
Specified by:
getMessage in class NetMessage

getFieldId

public int getFieldId()

getVictor

public int getVictor()