Exemple #1
0
        //------------------------------------------------------------------------------
        public virtual void CountGameProfileAchievementByCodeByProfileIdByGameIdByTimestamp()
        {
            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"));

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

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

            // get data
            wrapper.data = i;

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

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

            int i = api.CountGameProfileAchievementByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Exemple #3
0
        //------------------------------------------------------------------------------
        public virtual void CountGameProfileAchievement()
        {
            ResponseGameProfileAchievementInt wrapper = new ResponseGameProfileAchievementInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-profile-achievement/count";

            int i = api.CountGameProfileAchievement(
            );

            // get data
            wrapper.data = i;

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