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

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

            int i = api.CountProfileGameByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Beispiel #2
0
        //------------------------------------------------------------------------------
        public virtual void CountProfileGame()
        {
            ResponseProfileGameInt wrapper = new ResponseProfileGameInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "profile-game/count";

            int i = api.CountProfileGame(
            );

            // get data
            wrapper.data = i;

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