DistributedObjectAI

Inheritance:

Methods of DistributedObjectAI:

Methods of DirectObject:

GetAccountIDFromChannelCode
def GetAccountIDFromChannelCode(self, channel)

Undocumented function.

GetAvatarIDFromChannelCode
def GetAvatarIDFromChannelCode(self, channel)

Undocumented function.

GetPuppetConnectionChannel
def GetPuppetConnectionChannel(self, doId)

Undocumented function.

__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.

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.

getCollTrav
def getCollTrav(self)

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.

getParentMgr
def getParentMgr(self)

Undocumented function.

getRender
def getRender(self)

Undocumented function.

getZoneChangeEvent
def getZoneChangeEvent(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.

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

requestDelete
def requestDelete(self)

Undocumented function.

sendDeleteEvent
def sendDeleteEvent(self)

Undocumented function.

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

Undocumented function.

sendSetZone
def sendSetZone(self, zoneId)

Undocumented function.

sendUpdate
def sendUpdate(self, 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.

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.

__init__
def __init__(self)

Undocumented function.

accept
def accept(self, event, method, extraArgs=[])

Undocumented function.

acceptOnce
def acceptOnce(self, event, method, extraArgs=[])

Undocumented function.

ignore
def ignore(self, event)

Undocumented function.

ignoreAll
def ignoreAll(self)

Undocumented function.

isAccepting
def isAccepting(self, event)

Undocumented function.

isIgnoring
def isIgnoring(self, event)

Undocumented function.