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

            ResponseGameStatisticMetaInt wrapper = new ResponseGameStatisticMetaInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-statistic-meta/count/by-uuid";

            int i = api.CountGameStatisticMetaByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Example #2
0
        //------------------------------------------------------------------------------
        public virtual void CountGameStatisticMeta()
        {
            ResponseGameStatisticMetaInt wrapper = new ResponseGameStatisticMetaInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-statistic-meta/count";

            int i = api.CountGameStatisticMeta(
            );

            // get data
            wrapper.data = i;

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