de.jadv.lib.events.toclient
Class AllPlayerStatsEvent

java.lang.Object
  |
  +--de.jadv.lib.events.JAdvEvent
        |
        +--de.jadv.lib.events.toclient.AllPlayerStatsEvent
All Implemented Interfaces:
java.io.Serializable

public class AllPlayerStatsEvent
extends JAdvEvent

Transmit all stats to the client (These stats are of the player itself!)

Author:
neitzel
See Also:
Serialized Form

Field Summary
 int _CH
           
 int _EXP
           
 int _FF
           
 int _GE
           
 int _HP
           
 int _HP_MAX
           
 int _IN
           
 int _KK
           
 int _KL
           
 int _Level
           
 int _MU
           
 int _SP
           
 int _SP_MAX
           
 
Fields inherited from class de.jadv.lib.events.JAdvEvent
BUFFERSIZE, CODE_AllPlayerStatsEvent, CODE_AttackEvent, CODE_AvailableRacesEvent, CODE_ErrorEvent, CODE_FightEvent, CODE_GetRacesEvent, CODE_InNewLevelEvent, CODE_IsLoggedInEvent, CODE_IsNotLoggedInEvent, CODE_JAdvEvent, CODE_LevelInformationEvent, CODE_LibVersionEvent, CODE_LoginEvent, CODE_MessageEvent, CODE_MoveObjectEvent, CODE_NeedLevelEvent, CODE_NewPlayerEvent, CODE_ObjectAttributesEvent, CODE_ObjectEvent, CODE_ObjectOutEvent, CODE_PlayerIDEvent, CODE_PlayerMoveEvent, CODE_QuitEvent, CODE_RequestLongEvent, CODE_RequestShortEvent, CODE_SendMessageEvent, CODE_ShortPlayerStatsEvent, CODE_SubObjectEvent, CODE_UnknownEvent, CODE_UseObjectEvent, debug, EVENT_CODER_VERSION
 
Constructor Summary
AllPlayerStatsEvent(java.nio.ByteBuffer buf)
           
AllPlayerStatsEvent(Player ply)
          Creates a new instance of AllPlayerStats
 
Method Summary
 java.nio.ByteBuffer encodeEvent()
           
 
Methods inherited from class de.jadv.lib.events.JAdvEvent
decodeEvent, encodeEvent, getCreateTime, isNewer, isOlder, readBackground, readString, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_HP

public int _HP

_HP_MAX

public int _HP_MAX

_SP

public int _SP

_SP_MAX

public int _SP_MAX

_MU

public int _MU

_KL

public int _KL

_IN

public int _IN

_CH

public int _CH

_FF

public int _FF

_GE

public int _GE

_KK

public int _KK

_EXP

public int _EXP

_Level

public int _Level
Constructor Detail

AllPlayerStatsEvent

public AllPlayerStatsEvent(Player ply)
Creates a new instance of AllPlayerStats


AllPlayerStatsEvent

public AllPlayerStatsEvent(java.nio.ByteBuffer buf)
                    throws java.io.IOException
Method Detail

encodeEvent

public java.nio.ByteBuffer encodeEvent()
                                throws java.io.IOException
Specified by:
encodeEvent in class JAdvEvent
java.io.IOException