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]= NoneRomM's game id for the rom.
attributesave_targetOptional[str]= NoneRomM's name for where the game keeps its saves.
attributesave_target_layoutOptional[str]= NoneHow save_target names that place.
Functions
funcfrom_body(cls, rom) -> RomRefCopy the fields imports needs off the activate body's rom.
paramclsparamromRomInThe validated rom from the activate body.
Returns
webstation_broker.imports.RomRefThe copy.
func__init__(self, id, name, platform, title_id=None, save_target=None, save_target_layout=None) -> NoneparamselfparamidOptional[int]paramnameOptional[str]paramplatformOptional[str]paramtitle_idOptional[str]= Noneparamsave_targetOptional[str]= Noneparamsave_target_layoutOptional[str]= NoneReturns
None