relayFile beta
Function of @v12-engine/client/common
ts
export declare function relayFile<T>(view: GameView, def: ViewFile<T>, file: T): Partial<GameView>;Lays a file again over a view, in place, as it is now (the editor, as it writes it): over what its fields were before it was laid, and the files laid after it over the same fields laid again over that. A file the view never laid is laid over what its fields are now, and kept as laid by the editor alone. Gives back what the fields were before