public abstract class Pet extends Entity implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected boolean |
isSpawned |
protected java.lang.String |
mobName |
protected OID |
mobObj |
protected int |
mobTemplateID |
protected OID |
ownerOid |
staticLock, subObjectNamespacesInt, transientPropertyKeys, type
lock, name
Constructor and Description |
---|
Pet() |
Pet(java.lang.String entityName) |
Pet(java.lang.String entityName,
int mobTemplateID,
java.lang.String mobName,
OID ownerOid) |
Modifier and Type | Method and Description |
---|---|
boolean |
despawnPet() |
java.lang.String |
getMobName() |
OID |
getMobObj() |
int |
getMobTemplateID() |
OID |
getOwnerOid() |
boolean |
getSpawned() |
void |
setMobName(java.lang.String mobName) |
void |
setMobObj(OID mobObj) |
void |
setMobTemplateID(int mobTemplateID) |
void |
setOwnerOid(OID ownerOid) |
void |
setSpawned(boolean isSpawned) |
addSubObjectNamespace, equals, equals, getLock, getNamespace, getOid, getPersistenceFlag, getProperty, getSubObjectNamespaces, getSubObjectNamespacesInt, getTransientDataRef, getType, hashCode, hasSubObjectNamespace, isDeleted, registerTransientPropertyKey, removeProperty, removeSubObjectNamespace, setDeleted, setNamespace, setOid, setPersistenceFlag, setProperty, setSubObjectNamespaces, setSubObjectNamespacesInt, setType, toBytes, toString, unregisterTransientPropertyKey
getBooleanProperty, getIntProperty, getName, getPropertyMap, getPropertyMapRef, getStringProperty, lock, modifyIntProperty, setName, setPropertyMap, setupTransient, unlock
protected java.lang.String mobName
protected int mobTemplateID
protected OID mobObj
protected boolean isSpawned
protected OID ownerOid
public Pet()
public Pet(java.lang.String entityName)
public Pet(java.lang.String entityName, int mobTemplateID, java.lang.String mobName, OID ownerOid)
public boolean despawnPet()
public java.lang.String getMobName()
public void setMobName(java.lang.String mobName)
public int getMobTemplateID()
public void setMobTemplateID(int mobTemplateID)
public OID getMobObj()
public void setMobObj(OID mobObj)
public boolean getSpawned()
public void setSpawned(boolean isSpawned)
public OID getOwnerOid()
public void setOwnerOid(OID ownerOid)