Ejemplo n.º 1
0
        //------------------------------------------------------------------------------
        public virtual void CountProfileGameLocationByUuid()
        {
            string _uuid = (string)util.GetParamValue(_context, "uuid");

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

            int i = api.CountProfileGameLocationByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Ejemplo n.º 2
0
        //------------------------------------------------------------------------------
        public virtual void CountProfileGameLocation()
        {
            ResponseProfileGameLocationInt wrapper = new ResponseProfileGameLocationInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "profile-game-location/count";

            int i = api.CountProfileGameLocation(
            );

            // get data
            wrapper.data = i;

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