using System.Collections.Generic;

namespace ChillConnect
{
    // public class 
    public class UserData
    {
        public long uid;
        public string name;
        public int headId;
        public int points;
        public float bonus;
        public int[][] add_points_time; // 每个时间段获得的积分时间
        public int[][] remaining_time; // 每个时间段剩余的时间
        public int hourPoints;
        public int dayPoints;
        public int weekPoints;
        public int lastHourPoints;
        public int lastDayPoints;
        public int lastWeekPoints;
        public Dictionary<long, addPointsData> addPointsDic = new Dictionary<long, addPointsData>();
    }

    public class RankRewardData
    {
        public int rank;
        public rankType type;
        public float bonus;
        public string time;
    }

    public class addPointsData 
    {
        public int points;
        public addPointType type;
    }

    public enum rankType {
        hour = 1,
        day = 2,
        week = 3
    }

    public enum addPointType {
        eliminate = 1,
        ads = 2,
        buy = 3,
    }
}