def __init__(self): BaseEntity.__init__(self) GameObject.__init__(self) iGameManager.__init__(self) iRoomManager.__init__(self) iRoomRecord.__init__(self) iActivity.__init__(self) iCache.__init__(self) self.dbid = self.databaseID self.avatars = {} self.logger = LoggerManager() self.broadcastQueue = [] self.broadcastTimer = None if self.serverStartTime == 0: self.serverStartTime = time.time() self.initGameWorld() self.world_notice = '#' # 不扣房卡的开关, 金钱之源, 慎重开启 self.free_play = False # 开服之后的房卡消耗累积 self.total_cards = 0 x42.GW = self # 日活(Daily Active Users)统计 self.dau = set() return
def __init__(self): iBot.__init__(self) iGameManager.__init__(self) iCache.__init__(self) iGroupManager.__init__(self) iRoomManager.__init__(self) iRoomRecord.__init__(self) BaseEntity.__init__(self) self.dbid = self.databaseID self.avatars = {} self.logger = LoggerManager() KBEngine.Base.__init__(self) GameObject.__init__(self) self.broadcastQueue = [] if self.serverStartTime == 0: self.serverStartTime = time.time() self.world_notice = '#' # 不扣房卡的开关, 金钱之源, 慎重开启 self.free_play = False # 开服之后的房卡消耗累积 self.total_cards = 0 self.rankCount = 0 x42.GW = self self.initGameWorld() return
def __init__(self): KBEngine.Entity.__init__(self) GameObject.__init__(self) iGameManager.__init__(self) iRoomManager.__init__(self) iRoomRecord.__init__(self) iActivity.__init__(self) iCache.__init__(self) iTaskManager.__init__(self) self.dbid = self.databaseID self.avatars = {} self.broadcastQueue = [] self.broadcastTimer = None if self.serverStartTime == 0: self.serverStartTime = time.time() self.initGameWorld() # 日活(Daily Active Users)统计 self.dau = set() self.dau_by_game = {} x42.GW = self return
def __init__(self): iGameManager.__init__(self) iRoomManager.__init__(self) self.dbid = self.databaseID self.activePlayers = [] self.avatars = {} self.logger = LoggerManager() KBEngine.Base.__init__(self) GameObject.__init__(self) self.broadcastQueue = [] self.broadcastTimer = None if self.serverStartTime == 0: self.serverStartTime = time.time() self.initGameWorld() self.world_notice = '#' # 不扣房卡的开关, 金钱之源, 慎重开启 self.free_play = False # 开服之后的房卡消耗累积 self.total_cards = 0 return