DistributedObjectAI

Inheritance:

Methods of DistributedObjectAI:

__barrierCallback
def __barrierCallback(self, context, callback, avIds)

Undocumented function.

__getBarrierData
def __getBarrierData(self)

Undocumented function.

__init__
def __init__(self, air)

Undocumented function.

addInterest
def addInterest(self, zoneId, note="", event=None)

Undocumented function.

announceGenerate
def announceGenerate(self)

Called after the object has been generated and all of its required fields filled in. Overwrite when needed.

b_setLocation
def b_setLocation(self, parentId, zoneId)

Undocumented function.

beginBarrier
def beginBarrier(self, name, avIds, timeout, callback)

Undocumented function.

d_setLocation
def d_setLocation(self, parentId, zoneId)

Undocumented function.

def
def defstaticGetLogicalZoneChangeEvent

Undocumented function.

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.

execCommand
def execCommand(self, string, mwMgrId, avId, zoneId)

Undocumented function.

generate
def generate(self)

Inheritors should put functions that require self.zoneId or other networked info in this function.

generateInit
def generateInit(self, repository=None)

First generate (not from cache).

generateOtpObject
def generateOtpObject(self, parentId, zoneId, optionalFields=[], doId=None)

Undocumented function.

generateTargetChannel
def generateTargetChannel(self, repository)

Who to send this to for generate messages

generateWithRequired
def generateWithRequired(self, zoneId, optionalFields=[])

Undocumented function.

generateWithRequiredAndId
def generateWithRequiredAndId(self, doId, parentId, zoneId, optionalFields=[])

Undocumented function.

GetAccountConnectionChannel
def GetAccountConnectionChannel(self, doId)

Undocumented function.

GetAccountIDFromChannelCode
def GetAccountIDFromChannelCode(self, channel)

Undocumented function.

GetAvatarIDFromChannelCode
def GetAvatarIDFromChannelCode(self, channel)

Undocumented function.

getCollTrav
def getCollTrav(self, *args, **kArgs)

Undocumented function.

getDeleteEvent
def getDeleteEvent(self)

Undocumented function.

getDoId
def getDoId(self)

Return the distributed object id

getLocation
def getLocation(self)

Undocumented function.

getLogicalZoneChangeEvent
def getLogicalZoneChangeEvent(self)

Undocumented function.

getNonCollidableParent
def getNonCollidableParent(self)

Undocumented function.

getParentMgr
def getParentMgr(self)

Undocumented function.

GetPuppetConnectionChannel
def GetPuppetConnectionChannel(self, doId)

Undocumented function.

getRender
def getRender(self)

Undocumented function.

getZoneChangeEvent
def getZoneChangeEvent(self)

Undocumented function.

getZoneData
def getZoneData(self)

Undocumented function.

handleLogicalZoneChange
def handleLogicalZoneChange(self, newZoneId, oldZoneId)

this function gets called as if we never go through the quiet zone. Note that it is called once you reach the newZone, and not at the time that you leave the oldZone.

ignoreBarrier
def ignoreBarrier(self, context)

Undocumented function.

initFromServerResponse
def initFromServerResponse(self, valDict)

Undocumented function.

isDeleted
def isDeleted(self)

Returns true if the object has been deleted, or if it is brand new and hasnt yet been generated.

isGenerated
def isGenerated(self)

Returns true if the object has been generated

isGridParent
def isGridParent(self)

Undocumented function.

postGenerateMessage
def postGenerateMessage(self)

Undocumented function.

preAllocateDoId
def preAllocateDoId(self)

objects that need to have a doId before they are generated can call this to pre-allocate a doId for the object

releaseZoneData
def releaseZoneData(self)

Undocumented function.

requestDelete
def requestDelete(self)

Undocumented function.

sendDeleteEvent
def sendDeleteEvent(self)

Undocumented function.

sendGenerateWithRequired
def sendGenerateWithRequired(self, repository, parentId, zoneId, optionalFields=[])

Undocumented function.

sendMessageBundle
def sendMessageBundle(self)

Undocumented function.

sendSetZone
def sendSetZone(self, zoneId)

Undocumented function.

sendUpdate
def sendUpdate(self, fieldName, args=[])

Undocumented function.

sendUpdateToAccountId
def sendUpdateToAccountId(self, accountId, fieldName, args)

Undocumented function.

sendUpdateToAvatarId
def sendUpdateToAvatarId(self, avId, fieldName, args)

Undocumented function.

sendUpdateToChannel
def sendUpdateToChannel(self, channelId, fieldName, args)

Undocumented function.

setBarrierReady
def setBarrierReady(self, context)

Undocumented function.

setLocation
def setLocation(self, parentId, zoneId)

Undocumented function.

startMessageBundle
def startMessageBundle(self, name)

Undocumented function.

taskName
def taskName(self, taskString)

Undocumented function.

uniqueName
def uniqueName(self, idString)

Undocumented function.

updateAllRequiredFields
def updateAllRequiredFields(self, dclass, di)

Undocumented function.

updateAllRequiredOtherFields
def updateAllRequiredOtherFields(self, dclass, di)

Undocumented function.

updateRequiredFields
def updateRequiredFields(self, dclass, di)

Undocumented function.

updateRequiredOtherFields
def updateRequiredOtherFields(self, dclass, di)

Undocumented function.

validate
def validate(self, avId, bool, msg)

Undocumented function.