Atavism Version 2018.1AGIS API

atavism.agis.objects
Class Pet

java.lang.Object
  extended by atavism.server.objects.NamedPropertyClass
      extended by atavism.server.objects.Entity
          extended by atavism.agis.objects.Pet
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CombatPet, NonCombatPet, TamedPet

public abstract class Pet
extends Entity
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  boolean isSpawned
           
protected  java.lang.String mobName
           
protected  OID mobObj
           
protected  int mobTemplateID
           
protected  OID ownerOid
           
 
Fields inherited from class atavism.server.objects.Entity
staticLock, subObjectNamespacesInt, transientPropertyKeys, type
 
Fields inherited from class atavism.server.objects.NamedPropertyClass
lock, name
 
Constructor Summary
Pet()
           
Pet(java.lang.String entityName)
           
Pet(java.lang.String entityName, int mobTemplateID, java.lang.String mobName, OID ownerOid)
           
 
Method Summary
 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)
           
 
Methods inherited from class atavism.server.objects.Entity
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
 
Methods inherited from class atavism.server.objects.NamedPropertyClass
getBooleanProperty, getIntProperty, getName, getPropertyMap, getPropertyMapRef, getStringProperty, lock, modifyIntProperty, setName, setPropertyMap, setupTransient, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

mobName

protected java.lang.String mobName

mobTemplateID

protected int mobTemplateID

mobObj

protected OID mobObj

isSpawned

protected boolean isSpawned

ownerOid

protected OID ownerOid
Constructor Detail

Pet

public Pet()

Pet

public Pet(java.lang.String entityName)

Pet

public Pet(java.lang.String entityName,
           int mobTemplateID,
           java.lang.String mobName,
           OID ownerOid)
Method Detail

despawnPet

public boolean despawnPet()

getMobName

public java.lang.String getMobName()

setMobName

public void setMobName(java.lang.String mobName)

getMobTemplateID

public int getMobTemplateID()

setMobTemplateID

public void setMobTemplateID(int mobTemplateID)

getMobObj

public OID getMobObj()

setMobObj

public void setMobObj(OID mobObj)

getSpawned

public boolean getSpawned()

setSpawned

public void setSpawned(boolean isSpawned)

getOwnerOid

public OID getOwnerOid()

setOwnerOid

public void setOwnerOid(OID ownerOid)


Copyright © 2018 Dragonsan Studios Sp. z o.o.