def getNameCode():
    content = util.parseDataFile('name_code')
    if isinstance(content, dict):
        content = content.values()
    output = {}
    for i in content:
        output[i['id']] = i['name']
    return output
Beispiel #2
0
def getShipGroup():
    return util.parseDataFile('ship_data_group')
Beispiel #3
0
def getShipTemplate():
    return util.parseDataFile('ship_data_template')
Beispiel #4
0
def getShipStatistics():
    return util.parseDataFile('ship_data_statistics')
def getMemoryTemplate():
    return util.parseDataFile('memory_template')
def getShipSkinTemplate():
    return util.parseDataFile('ship_skin_template',
    filePath = os.path.join('sharecfg', 'ship_skin_template_sublist'), mode = 1)
def getMemoryGroup():
    return util.parseDataFile('memory_group')
def getWorldTemplate():
    return util.parseDataFile('world_collection_record_template')
def getWorldGroup():
    return util.parseDataFile('world_collection_record_group')