Example #1
0
        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);
        }
Example #2
0
 public FaceSection(BodyViewModel parent)
 {
     BodyViewModel = parent;
 }
Example #3
0
 public BodySection(BodyViewModel parent)
 {
     BodyViewModel = parent;
 }
 public HairSection(BodyViewModel parent)
 {
     BodyViewModel = parent;
 }