示例#1
0
        //------------------------------------------------------------------------------
        public virtual void CountGameProfileStatisticByCodeByProfileIdByGameIdByTimestamp()
        {
            string _code = (string)util.GetParamValue(_context, "code");
            string _profile_id = (string)util.GetParamValue(_context, "profile_id");
            string _game_id = (string)util.GetParamValue(_context, "game_id");
            float _timestamp = float.Parse(util.GetParamValue(_context, "timestamp"));

            ResponseGameProfileStatisticInt wrapper = new ResponseGameProfileStatisticInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-profile-statistic/count/by-code/by-profile-id/by-game-id/by-timestamp";

            int i = api.CountGameProfileStatisticByCodeByProfileIdByGameIdByTimestamp(
                _code
                , _profile_id
                , _game_id
                , _timestamp
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
示例#2
0
        //------------------------------------------------------------------------------
        public virtual void CountGameProfileStatisticByUuid()
        {
            string _uuid = (string)util.GetParamValue(_context, "uuid");

            ResponseGameProfileStatisticInt wrapper = new ResponseGameProfileStatisticInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-profile-statistic/count/by-uuid";

            int i = api.CountGameProfileStatisticByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
示例#3
0
        //------------------------------------------------------------------------------
        public virtual void CountGameProfileStatistic()
        {
            ResponseGameProfileStatisticInt wrapper = new ResponseGameProfileStatisticInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-profile-statistic/count";

            int i = api.CountGameProfileStatistic(
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }