@Persistent public class WeaponObject extends SWGObject
Constructor and Description |
---|
WeaponObject() |
WeaponObject(long objectID,
Planet planet,
java.lang.String template) |
WeaponObject(long objectID,
Planet planet,
java.lang.String template,
Point3D position,
Quaternion orientation) |
Modifier and Type | Method and Description |
---|---|
float |
getAttackSpeed() |
java.util.List<java.lang.Integer> |
getComponentCustomizations() |
int |
getConditionDamage() |
byte[] |
getCustomization() |
int |
getIncapTimer() |
int |
getMaxDamage() |
float |
getMaxRange() |
WeaponMessageBuilder |
getMessageBuilder() |
int |
getOptionsBitmask() |
int |
getWeaponType() |
boolean |
isMelee() |
boolean |
isRanged() |
boolean |
isStaticObject() |
void |
sendBaselines(Client destination) |
void |
setAttackSpeed(float attackSpeed) |
void |
setComponentCustomizations(java.util.List<java.lang.Integer> componentCustomizations) |
void |
setConditionDamage(int conditionDamage) |
void |
setCustomization(byte[] customization) |
void |
setIncapTimer(int incapTimer) |
void |
setMaxDamage(int maxDamage) |
void |
setMaxRange(float maxRange) |
void |
setOptionsBitmask(int optionsBitmask) |
void |
setStaticObject(boolean staticObject) |
_add, _remove, add, addObserver, getArrangement, getArrangementId, getAttachment, getAttributes, getAwareObjects, getClient, getComplexity, getContainer, getContainerInfo, getCorrectArrangementId, getCustomName, getDetailFilename, getDetailName, getFloatAttribute, getGrandparent, getHeading, getIntAttribute, getMeshVisitor, getMovementCounter, getMutex, getObjectId, getObjectID, getObservers, getOrientation, getParentId, getPermissions, getPlanet, getPlanetId, getPortalVisitor, getPosition, getRadians, getSlottedObject, getStfFilename, getStfName, getStringAttribute, getTemplate, getTemplateData, getVolume, getWorldPosition, hasObservers, inRange, isInQuadtree, isInSnapshot, isPersistent, isSubChildOf, makeAware, makeUnaware, notifyObservers, notifyObservers, notifyObserversInRange, remove, removeObserver, sendCreate, sendDestroy, sendSceneEndBaselines, sendUpdateContainment, setArrangementId, setAttachment, setClient, setContainerPermissions, setCustomName, setDetailFilename, setDetailName, setFloatAttribute, setIntAttribute, setIsInQuadtree, setisInSnapshot, setMovementCounter, setOrientation, setParent, setParentId, setParentId, setPersistent, setPlanet, setPlanetId, setPosition, setStfFilename, setStfName, setStringAttribute, setTemplate, setTemplateData, setVolume, transferTo, viewChildren
public WeaponObject(long objectID, Planet planet, java.lang.String template)
public WeaponObject(long objectID, Planet planet, java.lang.String template, Point3D position, Quaternion orientation)
public WeaponObject()
public int getIncapTimer()
public void setIncapTimer(int incapTimer)
public int getConditionDamage()
public void setConditionDamage(int conditionDamage)
public byte[] getCustomization()
public void setCustomization(byte[] customization)
public java.util.List<java.lang.Integer> getComponentCustomizations()
public void setComponentCustomizations(java.util.List<java.lang.Integer> componentCustomizations)
public int getOptionsBitmask()
public void setOptionsBitmask(int optionsBitmask)
public int getMaxDamage()
public void setMaxDamage(int maxDamage)
public boolean isStaticObject()
public void setStaticObject(boolean staticObject)
public int getWeaponType()
public void sendBaselines(Client destination)
sendBaselines
in class SWGObject
public float getAttackSpeed()
public void setAttackSpeed(float attackSpeed)
public WeaponMessageBuilder getMessageBuilder()
public float getMaxRange()
public void setMaxRange(float maxRange)
public boolean isMelee()
public boolean isRanged()