mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
*** empty log message ***
This commit is contained in:
parent
758d8662cf
commit
aa740cf5c5
@ -65,5 +65,5 @@ class DistributedLargeBlobSenderAI(DistributedObjectAI.DistributedObjectAI):
|
||||
|
||||
def setAck(self):
|
||||
DistributedLargeBlobSenderAI.notify.debug('setAck')
|
||||
assert self.air.msgSender == self.targetAvId
|
||||
assert self.air.GetAvatarIDFromSender() == self.targetAvId
|
||||
self.requestDelete()
|
||||
|
@ -809,6 +809,7 @@ class ClientRepository(ConnectionRepository.ConnectionRepository):
|
||||
print "ClientRepository received datagram:"
|
||||
di.getDatagram().dumpHex(ostream)
|
||||
|
||||
|
||||
msgType = self.getMsgType()
|
||||
|
||||
if not wantOtpServer:
|
||||
|
@ -354,8 +354,9 @@ class ConnectionRepository(DoInterestManager, CConnectionRepository):
|
||||
if self.notify.getDebug():
|
||||
print "ConnectionRepository sending datagram:"
|
||||
datagram.dumpHex(ostream)
|
||||
|
||||
|
||||
self.sendDatagram(datagram)
|
||||
|
||||
|
||||
|
||||
# debugging funcs for simulating a network-plug-pull
|
||||
|
@ -228,6 +228,12 @@ class DistributedObjectAI(DirectObject.DirectObject):
|
||||
def GetPuppetConnectionChannel(self, doId):
|
||||
return doId + ( 1L << 32);
|
||||
|
||||
def GetAccountIDFromChannelCode(self, channel):
|
||||
return (channel >> 32)
|
||||
|
||||
def GetAvatarIDFromChannelCode(self, channel):
|
||||
return (channel & 0xffffffffL)
|
||||
|
||||
def sendUpdateToAvatarId(self, avId, fieldName, args):
|
||||
assert self.notify.debugStateCall(self)
|
||||
channelId = self.GetPuppetConnectionChannel(avId)
|
||||
@ -426,7 +432,7 @@ class DistributedObjectAI(DirectObject.DirectObject):
|
||||
def setBarrierReady(self, context):
|
||||
# Generated by the clients to check in after a beginBarrier()
|
||||
# call.
|
||||
avId = self.air.msgSender
|
||||
avId = self.air.GetAvatarIDFromSender()
|
||||
assert(self.notify.debug('setBarrierReady(%s, %s)' % (context, avId)))
|
||||
barrier = self.__barriers.get(context)
|
||||
if barrier == None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user