public class AgisDamageEvent extends Event
| Constructor and Description |
|---|
AgisDamageEvent() |
AgisDamageEvent(AOByteBuffer buf,
ClientConnection con) |
AgisDamageEvent(AOObject src,
AOObject target,
int dmg) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDmg() |
AOObject |
getDmgSrc() |
java.lang.String |
getName() |
void |
parseBytes(AOByteBuffer buf)
load this event from the passed in buffer
called by the constructor
|
void |
setDmg(int dmg) |
void |
setDmgSrc(AOObject dmgSrc) |
AOByteBuffer |
toBytes() |
getBuffer, getConnection, getEnqueueTime, getObjectOid, setBuffer, setConnection, setEnqueueTime, setEntity, setObject, setObjectOid, toStringpublic AgisDamageEvent()
public AgisDamageEvent(AOByteBuffer buf, ClientConnection con)
public AOByteBuffer toBytes()
public void parseBytes(AOByteBuffer buf)
EventparseBytes in interface EventParserparseBytes in class Eventpublic void setDmgSrc(AOObject dmgSrc)
public AOObject getDmgSrc()
public void setDmg(int dmg)
public int getDmg()