|
|||||||||||
| 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.fromclient.UseObjectEvent
Event to tell the server, that the player wants to use an object
| Field Summary | |
byte |
_direction
|
java.lang.String |
_object
|
| Constructor Summary | |
UseObjectEvent(java.nio.ByteBuffer buf)
|
|
UseObjectEvent(java.lang.String Object)
|
|
UseObjectEvent(java.lang.String Object,
byte Direction)
Creates a new instance of UseObject |
|
| 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 java.lang.String _object
public byte _direction
| Constructor Detail |
public UseObjectEvent(java.lang.String Object,
byte Direction)
public UseObjectEvent(java.lang.String Object)
public UseObjectEvent(java.nio.ByteBuffer buf)
throws java.io.IOException
| Method Detail |
public java.nio.ByteBuffer encodeEvent()
throws java.io.IOException
encodeEvent in class JAdvEventjava.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||