Пример #1
0
        //------------------------------------------------------------------------------
        public virtual void CountGameLiveRecentQueueByUuid()
        {
            string _uuid = (string)util.GetParamValue(_context, "uuid");

            ResponseGameLiveRecentQueueInt wrapper = new ResponseGameLiveRecentQueueInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-live-recent-queue/count/by-uuid";

            int i = api.CountGameLiveRecentQueueByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Пример #2
0
        //------------------------------------------------------------------------------
        public virtual void CountGameLiveRecentQueue()
        {
            ResponseGameLiveRecentQueueInt wrapper = new ResponseGameLiveRecentQueueInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-live-recent-queue/count";

            int i = api.CountGameLiveRecentQueue(
            );

            // get data
            wrapper.data = i;

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