Ejemplo n.º 1
0
    def __init__(self, uid):
        '''注释'''
        Base.__init__(self, uid)
        self.uid = uid
        #print self.getUserInfo('NickName')
#        print Gcore.getMod('Template',uid)
#        print Gcore.getMod('Template',uid)
#        print Gcore.getMod('Template',uid)
#        print Gcore.getMod('Template',uid)
        print '---- end TestMod.__init__'
Ejemplo n.º 2
0
 def __init__(self, uid):
     '''注释'''
     Base.__init__(self, uid)
     self.uid = uid
     #print self.getUserInfo('NickName')
     #        print Gcore.getMod('Template',uid)
     #        print Gcore.getMod('Template',uid)
     #        print Gcore.getMod('Template',uid)
     #        print Gcore.getMod('Template',uid)
     print '---- end TestMod.__init__'
Ejemplo n.º 3
0
 def __init__(self, uid):
     Base.__init__(self, uid)
     self.uid = uid
     #武将培养表表名
     self.train_table = 'tb_general_train'
Ejemplo n.º 4
0
 def __init__(self, uid):
     '''注释'''
     Base.__init__(self, uid)
     self.uid = uid
     self.lastspeaktime = 0
Ejemplo n.º 5
0
 def __init__(self, uid):
     Base.__init__(self, uid)
     self.uid = uid
     self._soldier_storage = 'tb_soldier_storage'
Ejemplo n.º 6
0
 def __init__(self,uid):
     Base.__init__(self, uid)
     self.uid = uid
     self._equipTB = {1:Base.tb_equip(self),4:'tb_equip_warbook',5:'tb_equip_treasure'}
     self._cfgEquipTB = {1:'tb_cfg_equip',4:'tb_cfg_equip_warbook',5:'tb_cfg_equip_treasure'}
Ejemplo n.º 7
0
 def __init__(self, uid):
     '''注释'''
     Base.__init__(self,uid)
     self.uid = uid
Ejemplo n.º 8
0
 def __init__(self, uid):
     """注释"""
     Base.__init__(self, uid)
     self.uid = uid
Ejemplo n.º 9
0
 def __init__(self, uid):
     '''注释'''
     Base.__init__(self,uid)
     self.uid = uid
     self.lastspeaktime = 0
Ejemplo n.º 10
0
 def __init__(self, uid):
     Base.__init__(self, uid)
     self.uid = uid
     self._soldier_storage = 'tb_soldier_storage'
Ejemplo n.º 11
0
 def __init__(self, uid):
     '''注释'''
     Base.__init__(self, uid)
     self.uid = uid
     self.cfgRank = Gcore.loadCfg(Gcore.defined.CFG_RANK_FIGHT)
Ejemplo n.º 12
0
 def __init__(self, uid):
     Base.__init__(self, uid)
     self.uid = uid
     self.modFriend = Gcore.getMod('Friend', self.uid)
Ejemplo n.º 13
0
 def __init__(self, uid):
     '''注释'''
     Base.__init__(self, uid)
     self.uid = uid
     self.logId = None
Ejemplo n.º 14
0
 def __init__(self, uid):
     '''注释'''
     Base.__init__(self,uid)
     self.uid = uid
     self.cfgRank = Gcore.loadCfg(Gcore.defined.CFG_RANK_FIGHT)
Ejemplo n.º 15
0
 def __init__(self, uid):
     '''注释'''
     Base.__init__(self, uid)
     self.uid = uid
Ejemplo n.º 16
0
 def __init__(self, uid ,ServerId=None):
     '''@para: ServerId 测试用'''
     self.uid = uid
     self.serverid = ServerId if ServerId else Gcore.getServerId()
     self.encode = Gcore.common.json_encode
     Base.__init__(self, uid)
Ejemplo n.º 17
0
 def __init__(self, uid, ServerId=None):
     '''@para: ServerId 测试用'''
     self.uid = uid
     self.serverid = ServerId if ServerId else Gcore.getServerId()
     self.encode = Gcore.common.json_encode
     Base.__init__(self, uid)
Ejemplo n.º 18
0
 def __init__(self, uid):
     Base.__init__(self, uid)
     self.uid = uid
     self.serverid = int(Gcore.getServerId())
Ejemplo n.º 19
0
 def __init__(self, uid):
     Base.__init__(self, uid)
     self.uid = uid
Ejemplo n.º 20
0
 def __init__(self, uid):
     '''注释'''
     Base.__init__(self,uid)
     self.uid = uid
     self.logId = None
Ejemplo n.º 21
0
 def __init__(self, uid):
     Base.__init__(self, uid)
     self.uid = uid
     self.serverid = int(Gcore.getServerId())
Ejemplo n.º 22
0
 def __init__(self, uid):
     '''构造函数'''
     self.uid = uid
     Base.__init__(self,uid)
     self.buildingMod = Gcore.getMod('Building', uid)