public IPlugin CreateUsing(PluginParameter args) { var file = new FruaCharacterFile(args.Filename); Viewer = new FruaCharacterViewer(file, args); return(this); }
public FruaCharacterViewer(FruaCharacterFile file, PluginParameter parameters) { _file = file; Zoom = parameters.Zoom; ContainerWidth = parameters.ContainerWidth; if (_file.formatType == "item template") displayItemTypeName = true; }
public FruaCharacterViewer(FruaCharacterFile file, PluginParameter parameters) { _file = file; Zoom = parameters.Zoom; ContainerWidth = parameters.ContainerWidth; if (_file.formatType == "item template") { displayItemTypeName = true; } }
public IPlugin CreateUsing(PluginParameter args) { var file = new FruaCharacterFile(args.Filename); Viewer = new FruaCharacterViewer(file, args); return this; }