Public Member Functions | Static Public Attributes | List of all members
DistributedObjectGlobalAI Class Reference
Inheritance diagram for DistributedObjectGlobalAI:
DistributedObjectAI DistributedObjectBase DirectObject

Public Member Functions

def __init__ (self, air)
def announceGenerate (self)
def delete (self)
- Public Member Functions inherited from DistributedObjectAI
def b_setLocation (self, parentId, zoneId)
def beginBarrier (self, name, avIds, timeout, callback)
def d_setLocation (self, parentId, zoneId)
def deleteOrDelay (self)
def execCommand (self, string, mwMgrId, avId, zoneId)
def generate (self)
def generateInit (self, repository=None)
def generateOtpObject (self, parentId, zoneId, optionalFields=[], doId=None)
def generateTargetChannel (self, repository)
def generateWithRequired (self, zoneId, optionalFields=[])
def generateWithRequiredAndId (self, doId, parentId, zoneId, optionalFields=[])
def GetAccountConnectionChannel (self, doId)
def GetAccountIDFromChannelCode (self, channel)
def GetAvatarIDFromChannelCode (self, channel)
def getBarrierData (self)
def getCacheable (self)
def getCollTrav (self, *args, **kArgs)
def getDelayDeleteCount (self)
def getDeleteEvent (self)
def getDoId (self)
def getLocation (self)
def getLogicalZoneChangeEvent (self)
def getNonCollidableParent (self)
def getParentMgr (self)
def GetPuppetConnectionChannel (self, doId)
def getRender (self)
def getZoneChangeEvent (self)
def getZoneData (self)
def handleLogicalZoneChange (self, newZoneId, oldZoneId)
def ignoreBarrier (self, context)
def initFromServerResponse (self, valDict)
def isDeleted (self)
def isGenerated (self)
def isGridParent (self)
def postGenerateMessage (self)
def preAllocateDoId (self)
def releaseZoneData (self)
def requestDelete (self)
def sendDeleteEvent (self)
def sendGenerateWithRequired (self, repository, parentId, zoneId, optionalFields=[])
def sendMessageBundle (self)
def sendUpdate (self, fieldName, args=[])
def sendUpdateToAccountId (self, accountId, fieldName, args)
def sendUpdateToAvatarId (self, avId, fieldName, args)
def sendUpdateToChannel (self, channelId, fieldName, args)
def setAI (self, aiChannel)
def setBarrierReady (self, context)
def setLocation (self, parentId, zoneId)
def startMessageBundle (self, name)
def status (self, indent=0)
def taskName (self, taskString)
def uniqueName (self, idString)
def updateAllRequiredFields (self, dclass, di)
def updateAllRequiredOtherFields (self, dclass, di)
def updateRequiredFields (self, dclass, di)
def updateRequiredOtherFields (self, dclass, di)
def validate (self, avId, bool, msg)
- Public Member Functions inherited from DistributedObjectBase
def getParentObj (self)
def handleChildArrive (self, childObj, zoneId)
def handleChildArriveZone (self, childObj, zoneId)
def handleChildLeave (self, childObj, zoneId)
def handleChildLeaveZone (self, childObj, zoneId)
def handleQueryObjectChildrenLocalDone (self, context)
def hasParentingRules (self)
- Public Member Functions inherited from DirectObject
def __init__ (self)
def accept (self, event, method, extraArgs=[])
def acceptOnce (self, event, method, extraArgs=[])
def addTask (self, *args, **kwargs)
def detectLeaks (self)
def doMethodLater (self, *args, **kwargs)
def getAllAccepting (self)
def ignore (self, event)
def ignoreAll (self)
def isAccepting (self, event)
def isIgnoring (self, event)
def removeAllTasks (self)
def removeTask (self, taskOrName)

Static Public Attributes

int doNotDeallocateChannel = 1
int isGlobalDistObj = 1
 notify = directNotify.newCategory('DistributedObjectGlobalAI')
- Static Public Attributes inherited from DistributedObjectAI
 notify = directNotify.newCategory("DistributedObjectAI")
int QuietZone = 1
- Static Public Attributes inherited from DistributedObjectBase
 notify = directNotify.newCategory("DistributedObjectBase")
- Static Public Attributes inherited from DirectObject
def accept_once = acceptOnce
def add_task = addTask
def detect_leaks = detectLeaks
def do_method_later = doMethodLater
def get_all_accepting = getAllAccepting
def ignore_all = ignoreAll
def is_accepting = isAccepting
def is_ignoring = isIgnoring
def remove_all_tasks = removeAllTasks
def remove_task = removeTask

Additional Inherited Members

- Static Public Member Functions inherited from DistributedObjectAI
def staticGetLogicalZoneChangeEvent (doId)
def staticGetZoneChangeEvent (doId)
- Public Attributes inherited from DistributedObjectAI
 Asad: As per Roger's suggestion, turn off the following block until a solution is thought out of how to prevent this delete message or to handle this message better TODO: do we still need this check? More...
- Public Attributes inherited from DistributedObjectBase

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,

Reimplemented from DistributedObjectAI.

Member Function Documentation

◆ announceGenerate()

def announceGenerate (   self)
Called after the object has been generated and all
of its required fields filled in. Overwrite when needed.

Reimplemented from DistributedObjectAI.

◆ delete()

def delete (   self)
Inheritors should redefine this to take appropriate action on delete
Note that this may be called multiple times if a class inherits
from DistributedObjectAI more than once.

Reimplemented from DistributedObjectAI.

Member Data Documentation

◆ doNotDeallocateChannel

int doNotDeallocateChannel = 1

◆ isGlobalDistObj

int isGlobalDistObj = 1

◆ notify

notify = directNotify.newCategory('DistributedObjectGlobalAI')