static async Task <long> ABSAccumulate(Session session, long season_no, int point)
        {
            var msg = new score.accumulate.request.msg();

            msg.leaderboardId = ABSLeaderBoardId;
            msg.delta         = point;

            return(await Accumulate(session.player_id, msg));
        }
        static async Task <long> WCAccumulate(Session session, long season_no)
        {
            var msg = new score.accumulate.request.msg();

            msg.leaderboardId = ACDC.GameModeData[ACDC.MapData[session.map_id].GameMode].LeaderboardId;
            msg.delta         = 1;
            msg.subkey        = session.character_type.ToString();

            return(await Accumulate(session.player_id, msg));
        }
        static async Task <long> CBSAccumulate(Session session, long season_no, int point)
        {
            var msg = new score.accumulate.request.msg();

            msg.leaderboardId = CBSLeaderBoardId;
            msg.delta         = point;
            msg.subkey        = session.character_type.ToString();

            return(await Accumulate(session.player_id, msg));
        }
        public static async Task <long> Accumulate(string player_id, score.accumulate.request.msg msg)
        {
            //zincrby: 지정 멤버에 일정 점수를 더한다(실습에서는 하나씩 세기위해 1씩 더합니다)

            //Cache.Instance.GetDatabase().SortedSetIncrementAsync("")



            string response = await WebAPIClient.Web.request(player_id, "/leaderboard/score/accumulate", JsonConvert.SerializeObject(msg));

            if (response == string.Empty)
            {
                return(0);
            }
            var responseMsg = JsonConvert.DeserializeObject <score.accumulate.response.msg>(response);

            return(responseMsg.afterScore);
        }