public CharacterViewModel(CharacterFile cf, object metadata) { _extraData = new Dictionary <string, object>(); _proxy = new PluginCharacterProxy(this); Metadata = metadata; Character = cf; Character.PropertyChanged += FileOnPropertyChanged; Profile = new ProfileViewModel(this); Body = new BodyViewModel(this); UniformSuit = new ClothesViewModel(this, ClothesViewModel.ClothesKind.Uniform); SwimsuitSuit = new ClothesViewModel(this, ClothesViewModel.ClothesKind.Swimsuit); SportsSuit = new ClothesViewModel(this, ClothesViewModel.ClothesKind.Sports); ClubSuit = new ClothesViewModel(this, ClothesViewModel.ClothesKind.Formal); Constraints = new DataBlockConstraints(this); SaveAsCommand = new RelayCommand(SaveAs_Execute, SaveAs_CanExecute); }
public FaceSection(BodyViewModel parent) { BodyViewModel = parent; }
public BodySection(BodyViewModel parent) { BodyViewModel = parent; }
public HairSection(BodyViewModel parent) { BodyViewModel = parent; }