public IPlugin CreateUsing(PluginParameter args)
        {
            var file = new FruaCharacterFile(args.Filename);

            Viewer = new FruaCharacterViewer(file, args);
            return(this);
        }
示例#2
0
 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;
     }
 }
示例#4
0
 public IPlugin CreateUsing(PluginParameter args)
 {
     var file = new FruaCharacterFile(args.Filename);
     Viewer = new FruaCharacterViewer(file, args);
     return this;
 }