|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.jadv.lib.events.JAdvEvent | +--de.jadv.lib.events.toclient.ShortPlayerStatsEvent
Transfers only HP and SP to the client
Field Summary | |
int |
_HP
|
int |
_SP
|
Constructor Summary | |
ShortPlayerStatsEvent(java.nio.ByteBuffer buf)
|
|
ShortPlayerStatsEvent(int HP,
int SP)
Creates a new instance of ShortPlayerStats |
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 |
public int _SP
public int _HP
Constructor Detail |
public ShortPlayerStatsEvent(int HP, int SP)
public ShortPlayerStatsEvent(java.nio.ByteBuffer buf) throws java.io.IOException
Method Detail |
public java.nio.ByteBuffer encodeEvent() throws java.io.IOException
encodeEvent
in class JAdvEvent
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |