|
@@ -340,10 +340,10 @@ class DistributedObjectAI(DistributedObjectBase):
|
|
|
self.air.sendUpdate(self, fieldName, args)
|
|
self.air.sendUpdate(self, fieldName, args)
|
|
|
|
|
|
|
|
def GetPuppetConnectionChannel(self, doId):
|
|
def GetPuppetConnectionChannel(self, doId):
|
|
|
- return doId + (1001L << 32)
|
|
|
|
|
|
|
+ return doId + (1001 << 32)
|
|
|
|
|
|
|
|
def GetAccountConnectionChannel(self, doId):
|
|
def GetAccountConnectionChannel(self, doId):
|
|
|
- return doId + (1003L << 32)
|
|
|
|
|
|
|
+ return doId + (1003 << 32)
|
|
|
|
|
|
|
|
def GetAccountIDFromChannelCode(self, channel):
|
|
def GetAccountIDFromChannelCode(self, channel):
|
|
|
return channel >> 32
|
|
return channel >> 32
|