예제 #1
0
def new(gen):
    """Create a new PKM file.

    Keyword arguments:
    gen (int) -- the file's game generation
    """
    return get_pkmobj(gen, '\x00' * 136)
예제 #2
0
파일: __init__.py 프로젝트: ceol/pypkm
def new(gen):
    """Create a new PKM file.

    Keyword arguments:
    gen (int) -- the file's game generation
    """
    return get_pkmobj(gen, '\x00' * 136)
예제 #3
0
def load(gen, data):
    """Load PKM data.

    Keyword arguments:
    gen (int) -- the file's game generation
    data (str) -- the file's binary data
    """
    return get_pkmobj(gen, data)
예제 #4
0
파일: __init__.py 프로젝트: ceol/pypkm
def load(gen, data):
    """Load PKM data.

    Keyword arguments:
    gen (int) -- the file's game generation
    data (str) -- the file's binary data
    """
    return get_pkmobj(gen, data)