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

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

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

            // get data
            wrapper.data = i;

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

            ResponseGameLeaderboardRollupInt wrapper = new ResponseGameLeaderboardRollupInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-leaderboard-rollup/count/by-uuid";

            int i = api.CountGameLeaderboardRollupByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Beispiel #3
0
        //------------------------------------------------------------------------------
        public virtual void CountGameLeaderboardRollup()
        {
            ResponseGameLeaderboardRollupInt wrapper = new ResponseGameLeaderboardRollupInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-leaderboard-rollup/count";

            int i = api.CountGameLeaderboardRollup(
            );

            // get data
            wrapper.data = i;

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