twcore.core
Class PlayerPosition

java.lang.Object
  |
  +--twcore.core.SubspaceEvent
        |
        +--twcore.core.PlayerPosition
Direct Known Subclasses:
WeaponFired

public class PlayerPosition
extends SubspaceEvent


Constructor Summary
PlayerPosition(twcore.core.ByteArray array)
           
 
Method Summary
 boolean containsEnergy()
           
 boolean containsItemCount()
           
 boolean containsWeaponsInfo()
           
 int getBounty()
           
 int getBurstCount()
           
 int getChecksum()
           
 int getDecoyCount()
           
 int getEnergy()
           
 int getPing()
           
 int getPlayerID()
           
 int getPortalCount()
           
 int getRepelCount()
           
 int getRocketCount()
           
 int getRotation()
           
 int getS2CLag()
           
 int getThorCount()
           
 int getTimer()
           
 int getTimeStamp()
           
 byte getTogglables()
           
 int getWallCount()
           
 short getWeaponInfo()
           
 int getXLocation()
           
 int getXVelocity()
           
 int getYLocation()
           
 int getYVelocity()
           
 boolean hasAntiwarpOn()
           
 boolean hasShields()
           
 boolean hasSuper()
           
 boolean hasXRadarOn()
           
 boolean isCloaked()
           
 boolean isInSafe()
           
 boolean isStealthed()
           
 boolean isUFO()
           
 boolean isWarpingIn()
           
 void parseItemCount(int items)
           
 void parseTogglables(byte togglables)
           
 boolean Unknown()
           
 
Methods inherited from class twcore.core.SubspaceEvent
getEventType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayerPosition

public PlayerPosition(twcore.core.ByteArray array)
Method Detail

parseTogglables

public void parseTogglables(byte togglables)

parseItemCount

public void parseItemCount(int items)

getRotation

public int getRotation()

getXLocation

public int getXLocation()

getTogglables

public byte getTogglables()

getPing

public int getPing()

getBounty

public int getBounty()

getPlayerID

public int getPlayerID()

getYVelocity

public int getYVelocity()

getYLocation

public int getYLocation()

getXVelocity

public int getXVelocity()

containsEnergy

public boolean containsEnergy()

containsWeaponsInfo

public boolean containsWeaponsInfo()

containsItemCount

public boolean containsItemCount()

getEnergy

public int getEnergy()

getS2CLag

public int getS2CLag()

getTimer

public int getTimer()

getChecksum

public int getChecksum()

getWeaponInfo

public short getWeaponInfo()

getTimeStamp

public int getTimeStamp()

hasShields

public boolean hasShields()

hasSuper

public boolean hasSuper()

getBurstCount

public int getBurstCount()

getRepelCount

public int getRepelCount()

getThorCount

public int getThorCount()

getWallCount

public int getWallCount()

getDecoyCount

public int getDecoyCount()

getRocketCount

public int getRocketCount()

getPortalCount

public int getPortalCount()

isStealthed

public boolean isStealthed()

isCloaked

public boolean isCloaked()

hasXRadarOn

public boolean hasXRadarOn()

hasAntiwarpOn

public boolean hasAntiwarpOn()

isWarpingIn

public boolean isWarpingIn()

isInSafe

public boolean isInSafe()

isUFO

public boolean isUFO()

Unknown

public boolean Unknown()