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

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

            int i = api.CountGameKeyMetaByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

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

            int i = api.CountGameKeyMeta(
            );

            // get data
            wrapper.data = i;

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