﻿namespace Yodo1.FanCraft
{
    using System.Collections.Generic;

    public class GameUserSettings
    {
        public bool Enable { get; set; }
        public GameUserInfo UserInfo { get; set; }

        public GameUserSettings()
        {
            Enable = false;
            UserInfo = new GameUserInfo();
        }

        public Dictionary<string, object> ToDictionary()
        {
            Dictionary<string, object> dict = new Dictionary<string, object>();
            dict.Add("enable", Enable);
            dict.Add("game_user_info", UserInfo.ToDictionary());
            return dict;
        }
    }
}