Panda3D
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
TimeManagerAI Class Reference
Inheritance diagram for TimeManagerAI:
DistributedObjectAI DistributedObjectBase DirectObject

Public Member Functions

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

Static Public Attributes

 notify = DirectNotifyGlobal.directNotify.newCategory("TimeManagerAI")
 
- 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
 accept_once = acceptOnce
 
 add_task = addTask
 
 detect_leaks = detectLeaks
 
 do_method_later = doMethodLater
 
 get_all_accepting = getAllAccepting
 
 ignore_all = ignoreAll
 
 is_accepting = isAccepting
 
 is_ignoring = isIgnoring
 
 remove_all_tasks = removeAllTasks
 
 remove_task = removeTask
 

Additional Inherited Members

- Static Public Member Functions inherited from DistributedObjectAI
 staticGetLogicalZoneChangeEvent (doId)
 
 staticGetZoneChangeEvent (doId)
 
- Public Attributes inherited from DistributedObjectAI
 accountName
 
 air
 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?
 
 dclass
 
 DistributedObjectAI_initialized
 
 doId
 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?
 
 lastNonQuietZone
 
 parentId
 
 zoneId
 
- Public Attributes inherited from DistributedObjectBase
 cr
 
 doId
 
 parentId
 
 zoneId
 
- Protected Member Functions inherited from DistributedObjectAI
 _retrieveCachedData (self)
 
- Protected Member Functions inherited from DirectObject
 _addTask (self, task)
 
 _clearTask (self, task)
 
- Protected Attributes inherited from DistributedObjectAI
 _DOAI_requestedDelete
 
 _zoneData
 
- Protected Attributes inherited from DirectObject
 _taskList
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
air )

Reimplemented from DistributedObjectAI.

Member Function Documentation

◆ requestServerTime()

requestServerTime ( self,
context )
requestServerTime(self, int8 context)

This message is sent from the client to the AI to initiate a
synchronization phase.  The AI should immediately report back
with its current time.  The client will then measure the round
trip.

Member Data Documentation

◆ notify

notify = DirectNotifyGlobal.directNotify.newCategory("TimeManagerAI")
static