Move "puppet" and "account" connection channel ranges out of the Astron reserved space.

This commit is contained in:
Sam Edwards 2013-10-22 09:35:35 -06:00
parent 8ea908c855
commit a5868224e8
2 changed files with 4 additions and 4 deletions

View File

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

View File

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