webstation-broker
DeveloperPython referenceimports

imports.RomRef

The broker's copy of the activate body's rom, so this module never imports `api`.

The broker's copy of the activate body's rom, so this module never imports api.

Attributes

attributeidOptional[int]

RomM's id for the rom.

attributenameOptional[str]

The rom's display name.

attributeplatformOptional[str]

The platform slug.

attributetitle_idOptional[str]
= None

RomM's game id for the rom.

attributesave_targetOptional[str]
= None

RomM's name for where the game keeps its saves.

attributesave_target_layoutOptional[str]
= None

How save_target names that place.

Functions

funcfrom_body(cls, rom) -> RomRef

Copy the fields imports needs off the activate body's rom.

paramcls
paramromRomIn

The validated rom from the activate body.

Returns

webstation_broker.imports.RomRef

The copy.

func__init__(self, id, name, platform, title_id=None, save_target=None, save_target_layout=None) -> None
paramself
paramidOptional[int]
paramnameOptional[str]
paramplatformOptional[str]
paramtitle_idOptional[str]
= None
paramsave_targetOptional[str]
= None
paramsave_target_layoutOptional[str]
= None

Returns

None

On this page