Example #1
0
        //------------------------------------------------------------------------------
        public virtual void CountGameProfileContentByUuid()
        {
            string _uuid = (string)util.GetParamValue(_context, "uuid");

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

            int i = api.CountGameProfileContentByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Example #2
0
        //------------------------------------------------------------------------------
        public virtual void CountGameProfileContentByGameIdByUsernameByPath()
        {
            string _game_id = (string)util.GetParamValue(_context, "game_id");
            string _username = (string)util.GetParamValue(_context, "username");
            string _path = (string)util.GetParamValue(_context, "path");

            ResponseGameProfileContentInt wrapper = new ResponseGameProfileContentInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-profile-content/count/by-game-id/by-username/by-path";

            int i = api.CountGameProfileContentByGameIdByUsernameByPath(
                _game_id
                , _username
                , _path
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Example #3
0
        //------------------------------------------------------------------------------
        public virtual void CountGameProfileContentByGameIdByUsernameByPathByVersionByPlatformByIncrement()
        {
            string _game_id = (string)util.GetParamValue(_context, "game_id");
            string _username = (string)util.GetParamValue(_context, "username");
            string _path = (string)util.GetParamValue(_context, "path");
            string _version = (string)util.GetParamValue(_context, "version");
            string _platform = (string)util.GetParamValue(_context, "platform");
            int _increment = int.Parse(util.GetParamValue(_context, "increment"));

            ResponseGameProfileContentInt wrapper = new ResponseGameProfileContentInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-profile-content/count/by-game-id/by-username/by-path/by-version/by-platform/by-increment";

            int i = api.CountGameProfileContentByGameIdByUsernameByPathByVersionByPlatformByIncrement(
                _game_id
                , _username
                , _path
                , _version
                , _platform
                , _increment
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Example #4
0
        //------------------------------------------------------------------------------
        public virtual void CountGameProfileContent()
        {
            ResponseGameProfileContentInt wrapper = new ResponseGameProfileContentInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-profile-content/count";

            int i = api.CountGameProfileContent(
            );

            // get data
            wrapper.data = i;

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